Type alias RpcFn<IDL, I>

RpcFn<IDL, I>: InstructionContextFn<IDL, I, Promise<TransactionSignature>>

RpcFn is a single RPC method generated from an IDL, sending a transaction paid for and signed by the configured provider.

Type Parameters

  • IDL extends Idl = Idl
  • I extends AllInstructions<IDL> = AllInstructions<IDL>