Actions
Submit transaction
Submit the transaction to the blockchain.
post/v1/transactions/{transactionId}/submit
Request
- Base URL: https://api.yield.xyz
- URL: https://api.yield.xyz/v1/transactions/{transactionId}/submit
- 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
{
"signedTransaction": "0aba010aa0010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512790a2a696e6a316a61366664646e6e33727272677137646d6a757a6b71363279376d68346675346b6e656d37791231696e6a76616c6f7065723167346436646d766e706737773779756779366b706c6e6470376a70666d66336b7274736368701a180a03696e6a121131303030303030303030303030303030301215766961205374616b654b6974204349442d31303039129e010a7e0a740a2d2f696e6a6563746976652e63727970746f2e763162657461312e657468736563703235366b312e5075624b657912430a41042aec99dce37ea3d8f11b44da62bce0e885f0ba5b309382954babec76eb138cb0bb84f4f24b9f63143f2ce66923b2dd3ee55475e680a7b992b9cbc17941f6486312040a0208011802121c0a160a03696e6a120f31383732303030303030303030303010d0b4471a0b696e6a6563746976652d312092c35b"
}Response
Transaction successfully submitted
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.