Actions
Get transaction details
Retrieve detailed information about a specific transaction including current status, hash, and execution details.
get/v1/transactions/{transactionId}
Request
- Base URL: https://api.yield.xyz
- URL: https://api.yield.xyz/v1/transactions/{transactionId}
- Auth: API key in header x-api-key
Path parameters
transactionIdstring required
Example:21f5fd15-cf80-4b9a-804f-062c40dc3740
The unique identifier of the transaction
Response
Transaction details retrieved successfully
Example response
{
"id": "tx_123abc",
"title": "Approve USDC",
"network": "ethereum",
"status": "PENDING",
"type": "STAKE",
"hash": "0x1234567890abcdef...",
"annotatedTransaction": {
"method": "stake",
"inputs": {
"amount": "1000000000000000000"
}
},
"description": "Approve USDC for staking",
"gasEstimate": "21000",
"explorerUrl": "https://etherscan.io/tx/0x1234..."
}Changes
No recorded changes to this operation across all 1 revision of this API.