Skip to content

PerformRpcParams

Defined in: client-sdk-js/src/types.ts:134

Parameters for initiating a P2P RPC call.

destinationIdentity: string;

Defined in: client-sdk-js/src/types.ts:136

The identity of the destination participant.


method: string;

Defined in: client-sdk-js/src/types.ts:138

The method name to call.


payload: string;

Defined in: client-sdk-js/src/types.ts:140

The method payload (typically JSON string).


responseTimeout?: number;

Defined in: client-sdk-js/src/types.ts:145

Timeout for receiving a response (milliseconds).

15000