MultichainApi<T>: {
    wallet_createSession: RpcMethod<CreateSessionParams<T>, SessionData>;
    wallet_getSession: RpcMethod<void, SessionData | undefined>;
    wallet_invokeMethod: (<S, M>(params: InvokeMethodParams<T, S, M>) => MethodReturn<T, S, M>);
    wallet_revokeSession: RpcMethod<void, void>;
}

Type Parameters

  • T extends RpcApi