Skip to content

JsonRpcRequest

Defined in: packages/iso-filecoin/src/types.ts:205

Properties

id?

optional id: null | string | number;

Defined in: packages/iso-filecoin/src/types.ts:207


jsonrpc

jsonrpc: "2.0";

Defined in: packages/iso-filecoin/src/types.ts:206


method

method: string;

Defined in: packages/iso-filecoin/src/types.ts:211

A String containing the name of the method to be invoked. Method names that begin with the word rpc followed by a period character (U+002E or ASCII 46) are reserved for rpc-internal methods and extensions and MUST NOT be used for anything else.


params?

optional params: JsonValue;

Defined in: packages/iso-filecoin/src/types.ts:212