Get wallet action
Get the current status of a wallet action by its ID.
Authorizations
Basic Auth header with your app ID as the username and your app secret as the password.
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
Path Parameters
ID of the wallet.
ID of the wallet action.
Query Parameters
Include step-level details in the response.
steps Response
The wallet action with its current status.
- SwapActionResponse
- TransferActionResponse
- EarnDepositActionResponse
- EarnWithdrawActionResponse
- EarnIncentiveClaimActionResponse
Response for a swap action.
The ID of the wallet action.
The current status of the wallet action.
pending, succeeded, rejected, failed The ID of the wallet involved in the action.
ISO 8601 timestamp of when the wallet action was created.
swap CAIP-2 chain identifier for the swap.
Token address or "native" for the token being sold.
Token address or "native" for the token being bought.
Exact base-unit amount of input token. Populated after on-chain confirmation.
Exact base-unit amount of output token. Populated after on-chain confirmation.
Top-level failure context for the wallet action. Present on rejected or failed actions when available.
The steps of the wallet action. Only returned if ?include=steps is provided.
A wallet action step consisting of an EVM transaction.
- EVMTransactionWalletActionStep
- EVMUserOperationWalletActionStep
- SVMTransactionWalletActionStep
- ExternalTransactionWalletActionStep
- CustodianTransactionWalletActionStep
Destination chain CAIP-2 identifier. Present for cross-chain swaps.
Recipient address on the destination chain. Present for cross-chain swaps. May differ from the source wallet address when swapping between chain types (e.g. EVM to Solana).
Estimated fee breakdown from the provider quote. Only present for cross-chain swaps. Populated after on-chain confirmation.
Estimated fee paid to the relayer.
- RelayerFee
- PrivyFee
- DeveloperFee
{
"type": "privy",
"recipient": "0x1234567890abcdef1234567890abcdef12345678",
"amount": "0.20"
}Estimated source-chain gas cost from the provider quote. Only present for cross-chain swaps. Populated after on-chain confirmation.
{
"base_amount": "100000000000000",
"amount": "0.0001",
"gas_asset": "ETH"
}Actual fees paid for the swap. Populated after on-chain confirmation. Only present for cross-chain swaps.
Estimated fee paid to the relayer.
- RelayerFee
- PrivyFee
- DeveloperFee
{
"type": "privy",
"recipient": "0x1234567890abcdef1234567890abcdef12345678",
"amount": "0.20"
}Actual source-chain gas cost. Populated after on-chain confirmation. Only present for cross-chain swaps.
{
"base_amount": "100000000000000",
"amount": "0.0001",
"gas_asset": "ETH"
}
