cURL
curl --request GET \ --url https://api.privy.io/v1/transactions/{transaction_id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'privy-app-id: <privy-app-id>'
{ "id": "cm7oxq1el000e11o8iwp7d0d0", "wallet_id": "fmfdj6yqly31huorjqzq38zc", "status": "confirmed", "transaction_hash": "0x2446f1fd773fbb9f080e674b60c6a033c7ed7427b8b9413cf28a2a4a6da9b56c", "caip2": "eip155:8453", "created_at": 1631573050000 }
Get a transaction by transaction ID.
Basic Auth header with your app ID as the username and your app secret as the password.
ID of your Privy app.
ID of the transaction.
Object with transaction data.
The response is of type object.
object