Type Alias IdlAccountsOfMethod<IDL, M>

IdlAccountsOfMethod: Parameters<
    ReturnType<Program<IDL>["methods"][M]>["accounts"],
>[0]

Type Parameters

  • IDL extends Idl
  • M extends keyof Program<IDL>["methods"]