id for the created wallet action. Your application can use this ID to poll for the action’s current status.
Usage
Use the
getAction method from the useWalletActions hook to fetch the current status of a wallet action.Response
The steps of the wallet action. Only returned when
?include=steps is passed as a query
parameter. Each step includes its own status, chain identifier, and transaction hash.vault_id, raw_amount, and share_amount. See the API reference for the full response schema.
Including step details
By default, the response only returns the overall state of the action to provide visibility into whether it succeeded or failed. For more granular information, such as transaction hashes, chain IDs, and per-step statuses, pass?include=steps as a query parameter.
The
getAction method on the React and React Native useWalletActions hook, and the Swift and
Android SDKs’ getTransferAction, do not yet support the include=steps query parameter. Use the
REST API directly if you need step-level detail from a client-side app.Listing all wallet actions
Use the
The response includes a listActions method from the useWalletActions hook to list wallet actions for a wallet.data array of wallet actions and a next_cursor field for pagination. See the API reference for the full request and response schema.
The Swift and Android SDKs don’t yet have a method for listing wallet actions. Use the REST API
directly if this is needed from a client-side app.
Polling recommendations
Wallet actions typically complete within a few seconds, but can take longer depending on network conditions. Poll infrequently and stop once thestatus reaches a terminal value (succeeded, rejected, or failed).

