Skip to main content

getTransactionHistory

Parameters: optional limit (1–100; default 50) and offset (default 0). Returns Promise<ArksatTransaction[]>. Requires transactions read permission.
Records are newest first. Offset pagination is not a stable snapshot.

getTransaction

Accepts { txid: string } and returns Promise<ArksatTransaction | null>. Both Client and Provider require the explicit transactions read grant. Check method support before calling.
Accepts a transaction ID or wallet record ID and searches all activity retained in the current wallet snapshot without the 100-record page limit. It does not query a global chain index. A null result is not proof that a transaction never occurred. Missing permission or unavailable history throws.

on / off

subscribe

Returns an idempotent unsubscribe function.

waitForTransaction

Returns Promise<ArksatTransaction>. Optional AbortSignal is supported. Default timeout: 120 seconds; polling: 3 seconds, minimum 1 second. Uses getTransaction to search all activity retained by the wallet and returns any non-pending status. Older providers without getTransaction fall back to only the latest 100 records. Check status for failed, cancelled, or recoverable results. Context changes and read errors reject. Integration guide · Types