v1
latestOpenAPI 3.0.02026-07-2442242189.1 KBTransactions
PublishTransaction
Manually publishes a signed transaction to the blockchain. This endpoint synchronously broadcasts the transaction to the network and returns the updated transaction details. The transaction must be fully signed before publishing.
Note: Currently only available for EVM-compatible blockchains. Support for additional blockchains will be added in future releases.
post/v2/vaults/{vault_id}/transactions/{transaction_id}:publish
Path parameters
vault_idstring required
transaction_idstring required
Request body
TransactionsPublishTransactionBody required
Response
A successful response.
Example response
{
"transaction": {
"name": "vaults/1b25635a5b3f/transactions/95257c5a522f",
"network": "networks/ethereum-mainnet",
"signingSession": "vaults/2d2e40r3/signingSessions/132e40r3",
"request": {
"name": "vaults/1b25635a5b3f/transactionRequests/95257c5a522f",
"initiator": "users/2d2e40r3",
"sourceWallet": "wallets/2d2e40r3"
},
"transfers": [
{
"asset": "assets/native.ethereum-mainnet"
}
],
"tokenAllowances": [
{
"asset": "assets/native.ethereum-mainnet"
}
],
"designatedSigners": [
"users/name@example.com"
],
"evmTransaction": {
"data": "0xda82fb4c00000a"
},
"tronTransaction": {
"freezeBalanceV2": {
"amount": "1500000",
"asset": "assets/native.tron-mainnet"
},
"unfreezeBalanceV2": {
"amount": "1500000",
"asset": "assets/native.tron-mainnet"
},
"delegateResource": {
"amount": "1500000",
"asset": "assets/native.tron-mainnet"
},
"undelegateResource": {
"amount": "1500000",
"asset": "assets/native.tron-mainnet"
},
"transferContract": {
"amount": "1500000"
}
},
"btcTransaction": {
"inputs": [
{
"signingSession": "vaults/2d2e40r3/signingSessions/132e40r3"
}
],
"asset": "assets/native.bitcoin-mainnet"
},
"btcPsbt": {
"inputs": [
{
"signingSession": "vaults/2d2e40r3/signingSessions/132e40r3"
}
]
}
}
}