Class MethodsBuilderFactory
Methods
Static build
- build<IDL, I>(provider: Provider, programId: PublicKey, idlIx: AllInstructions<IDL>, ixFn: InstructionFn<IDL, AllInstructions<IDL>>, txFn: TransactionFn<IDL, AllInstructions<IDL>>, rpcFn: RpcFn<IDL, AllInstructions<IDL>>, simulateFn: SimulateFn<IDL, AllInstructions<IDL>>, viewFn: undefined | ViewFn<IDL, AllInstructions<IDL>>, accountNamespace: AccountNamespace<IDL>, idlTypes: IdlTypeDef[], customResolver?: CustomAccountResolver<IDL>): MethodsFn<IDL, I, MethodsBuilder<IDL, I, I["accounts"][number]>>
Type Parameters
IDL extends Idl
I extends IdlInstruction
Parameters
idlIx: AllInstructions<IDL>
ixFn: InstructionFn<IDL, AllInstructions<IDL>>
txFn: TransactionFn<IDL, AllInstructions<IDL>>
rpcFn: RpcFn<IDL, AllInstructions<IDL>>
simulateFn: SimulateFn<IDL, AllInstructions<IDL>>
viewFn: undefined | ViewFn<IDL, AllInstructions<IDL>>
idlTypes: IdlTypeDef[]
Returns MethodsFn<IDL, I, MethodsBuilder<IDL, I, I["accounts"][number]>>