AsyncIdentityCache: {
    load: (
        address: string,
    ) => Promise<Identity | undefined> | Identity | undefined;
    save: (identities: Record<string, Identity>) => Promise<void> | void;
}

Type declaration

  • load: (address: string) => Promise<Identity | undefined> | Identity | undefined

    Loads a single identity

  • save: (identities: Record<string, Identity>) => Promise<void> | void

    Saves a batch of identities