Skip to documentation
/

Request & mutation options

RequestOptions#

typescript example
.ts
interface RequestOptions {  signal?: AbortSignal;  timeoutMs?: number;}
FieldRequiredBehavior
signalNoCancels local fetch and response reading.
timeoutMsNoPositive 32-bit integer; overrides the client default.

These options apply to public directory requests, catalogue requests and demo launches.

MutationOptions#

typescript example
.ts
interface MutationOptions extends RequestOptions {  idempotencyKey: string;}

The key must be 8–255 printable ASCII characters without spaces. Persist one key and exact request for each logical create-player, funded-launch or free-round operation before dispatch.

Example#

typescript example
.ts
const operation = {  user_username: 'player-1001', currency: 'USD',};// Persist operation and this key in your own operation store first.const result = await client.createPlayer(operation, {  idempotencyKey: 'persisted-player-operation-001',  timeoutMs: 30_000,});

There is no retry option. The SDK never creates operation keys or automatically retries. Read-only and demo requests reject mutation keys. Cancellation after dispatch does not reverse upstream work.

Was this page helpful?