Type alias JSONRPCResponseResult<T, M>

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

T is the the result 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