Type alias CustomAccountResolver<IDL>

CustomAccountResolver<IDL>: ((params) => Promise<{
    accounts: AccountsGeneric;
    resolved: number;
}>)

Type Parameters

  • IDL extends Idl

Type declaration

    • (params): Promise<{
          accounts: AccountsGeneric;
          resolved: number;
      }>
    • Parameters

      • params: {
            accounts: AccountsGeneric;
            args: any[];
            idlIx: AllInstructions<IDL>;
            programId: PublicKey;
            provider: Provider;
        }
        • accounts: AccountsGeneric
        • args: any[]
        • idlIx: AllInstructions<IDL>
        • programId: PublicKey
        • provider: Provider

      Returns Promise<{
          accounts: AccountsGeneric;
          resolved: number;
      }>