Type alias JSONRPCResponseResult<T, M>

JSONRPCResponseResult<T, M>: T & {
    metadata?: JSONRPCResponseMetadata & M & (T extends {
            metadata: infer U;
        }
        ? U
        : JSONObject) & JSONObject;
}

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