Actions
Submit transaction hash
Submit the transaction hash after broadcasting a transaction to the blockchain. This updates the transaction status and enables tracking.
put/v1/transactions/{transactionId}/submit-hash
Request
- Base URL: https://api.yield.xyz
- URL: https://api.yield.xyz/v1/transactions/{transactionId}/submit-hash
- Auth: API key in header x-api-key
Path parameters
transactionIdstring required
Example:21f5fd15-cf80-4b9a-804f-062c40dc3740
The unique identifier of the transaction
Request body
Example request
{
"hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}Response
Transaction successfully updated with hash
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.