Submit a transaction
Submit a signed transaction for Yield.xyz to broadcast, and return the updated transaction.
{ "signedTransaction": "..." } (required, non-empty, up to 10,000 characters). If you broadcast yourself, use Submit a transaction hash instead. Use one path per transaction, never both.
The call returns 201 with the TransactionDto after broadcast, including hash. If broadcast fails, the transaction and its action move to FAILED and the broadcast error is returned; create a new action to retry. Poll Get a transaction until a terminal transaction status.
Resubmitting the same signed payload to an already terminal transaction returns it unchanged. A different payload returns 412.Authorizations
Path Parameters
Body
Encoded signed transaction to submit to the blockchain
"0aba010aa0010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512790a2a696e6a316a61366664646e6e33727272677137646d6a757a6b71363279376d68346675346b6e656d37791231696e6a76616c6f7065723167346436646d766e706737773779756779366b706c6e6470376a70666d66336b7274736368701a180a03696e6a121131303030303030303030303030303030301215766961205374616b654b6974204349442d31303039129e010a7e0a740a2d2f696e6a6563746976652e63727970746f2e763162657461312e657468736563703235366b312e5075624b657912430a41042aec99dce37ea3d8f11b44da62bce0e885f0ba5b309382954babec76eb138cb0bb84f4f24b9f63143f2ce66923b2dd3ee55475e680a7b992b9cbc17941f6486312040a0208011802121c0a160a03696e6a120f31383732303030303030303030303010d0b4471a0b696e6a6563746976652d312092c35b"
Response
Transaction successfully submitted
Unique transaction identifier
"tx_123abc"
Display title for the transaction
"Approve USDC"
Network this transaction is for
ethereum, ethereum-goerli, ethereum-holesky, ethereum-sepolia, ethereum-hoodi, arbitrum, base, base-sepolia, gnosis, optimism, polygon, polygon-amoy, starknet, zksync, linea, unichain, plume, monad-testnet, monad, robinhood, robinhood-testnet, arc-testnet, arc, avalanche-c, avalanche-c-atomic, avalanche-p, binance, celo, fantom, harmony, moonriver, okc, viction, core, sonic, plasma, katana, hyperevm, tempo, pharos, agoric, akash, axelar, band-protocol, bitsong, canto, chihuahua, comdex, coreum, cosmos, crescent, cronos, cudos, desmos, dydx, evmos, fetch-ai, gravity-bridge, injective, irisnet, juno, kava, ki-network, mars-protocol, nym, okex-chain, onomy, osmosis, persistence, quicksilver, regen, secret, sentinel, sommelier, stafi, stargaze, stride, teritori, tgrade, umee, sei, mantra, celestia, saga, zetachain, dymension, humansai, neutron, polkadot, kusama, westend, bittensor, aptos, binancebeacon, cardano, near, solana, solana-devnet, stellar, stellar-testnet, sui, tezos, tron, ton, ton-testnet, hyperliquid "ethereum"
Current status of the transaction
NOT_FOUND, CREATED, BLOCKED, WAITING_FOR_SIGNATURE, SIGNED, BROADCASTED, PENDING, CONFIRMED, FAILED, SKIPPED "PENDING"
Type of transaction operation
SWAP, DEPOSIT, APPROVAL, STAKE, SET_OPERATOR, CLAIM_UNSTAKED, CLAIM_REWARDS, RESTAKE_REWARDS, UNSTAKE, SPLIT, MERGE, LOCK, UNLOCK, SUPPLY, ADD_LIQUIDITY, REMOVE_LIQUIDITY, BRIDGE, VOTE, REVOKE, RESTAKE, REBOND, WITHDRAW, WITHDRAW_ALL, CREATE_ACCOUNT, REVEAL, MIGRATE, DELEGATE, UNDELEGATE, UTXO_P_TO_C_IMPORT, UTXO_C_TO_P_IMPORT, WRAP, UNWRAP, UNFREEZE_LEGACY, UNFREEZE_LEGACY_BANDWIDTH, UNFREEZE_LEGACY_ENERGY, UNFREEZE_BANDWIDTH, UNFREEZE_ENERGY, FREEZE_BANDWIDTH, FREEZE_ENERGY, UNDELEGATE_BANDWIDTH, UNDELEGATE_ENERGY, P2P_NODE_REQUEST, CREATE_EIGENPOD, VERIFY_WITHDRAW_CREDENTIALS, START_CHECKPOINT, VERIFY_CHECKPOINT_PROOFS, QUEUE_WITHDRAWALS, COMPLETE_QUEUED_WITHDRAWALS, LZ_DEPOSIT, LZ_WITHDRAW, LUGANODES_PROVISION, LUGANODES_EXIT_REQUEST, INFSTONES_PROVISION, INFSTONES_EXIT_REQUEST, INFSTONES_CLAIM_REQUEST, BATCH "STAKE"
Transaction hash (available after broadcast)
"0x1234567890abcdef..."
When the transaction was created
When the transaction was broadcasted to the network
Signed transaction data (ready for broadcast)
The unsigned transaction data to be signed by the wallet
"0x02f87082012a022f2f83018000947a250d5630b4cf539739df2c5dacb4c659f2488d880de0b6b3a764000080c080a0ef0de6c7b46fc75dd6cb86dccc3cfd731c2bdf6f3d736557240c3646c6fe01a6a07cd60b58dfe01847249dfdd7950ba0d045dded5bbe410b07a015a0ed34e5e00d"
Human-readable breakdown of the transaction for display purposes
Detailed transaction data for client-side validation or simulation
Zero-based index of the step in the action flow
0
User-friendly description of what this transaction does
"Approve USDC for staking"
Error message if the transaction failed
Estimated gas cost for the transaction
"21000"
Link to the blockchain explorer for this transaction
"https://etherscan.io/tx/0x1234..."
Whether this transaction is a message rather than a value transfer
false

