Type alias JSONRPCRequestParams<T, M>

JSONRPCRequestParams<T, M>: {
    metadata?: JSONObject & JSONRPCRequestMetadata & Omit<T["metadata"] & M, keyof JSONRPCRequestMetadata>;
} & Omit<T, "metadata">

T is the the params you want to specify.

M is the metadata you want to specify.

Metadata can also be specified on T.metadata

Type Parameters

Type declaration

Generated using TypeDoc