IdlAccountsOfMethod<IDL, M>
IdlAccountsOfMethod<IDL, M>
type IdlAccountsOfMethod<IDL, M> = Parameters<ReturnType<Program<IDL>["methods"][M]>["accounts"]>[0];Defined in: types.ts:130
Type Parameters
| Type Parameter |
|---|
IDL extends Idl |
M extends keyof Program<IDL>["methods"] |