Skip to content

@lelantos-org/sdk / index / AwaitCommitmentsOptions

Interface: AwaitCommitmentsOptions ​

Defined in: @lelantos-org/sdk/dist/wallet/types/sync.d.ts:53

Properties ​

pageSize? ​

ts
optional pageSize?: number;

Defined in: @lelantos-org/sdk/dist/wallet/types/sync.d.ts:59


pollMs? ​

ts
optional pollMs?: number;

Defined in: @lelantos-org/sdk/dist/wallet/types/sync.d.ts:56

Delay between syncs. Default 2 000 ms.


signal? ​

ts
optional signal?: AbortSignal;

Defined in: @lelantos-org/sdk/dist/wallet/types/sync.d.ts:54


throwOnTimeout? ​

ts
optional throwOnTimeout?: boolean;

Defined in: @lelantos-org/sdk/dist/wallet/types/sync.d.ts:64

Reject with FMD_TIMEOUT on timeout instead of resolving { status: "timeout" }. Default false: a lagging indexer after a landed transaction is not a failure.


timeoutMs? ​

ts
optional timeoutMs?: number;

Defined in: @lelantos-org/sdk/dist/wallet/types/sync.d.ts:58

Give up after this long. Default 120 000 ms.