ReplaceTransaction
Changed onCreates a new transaction that replaces an existing signed transaction in the system which has not been mined yet.
Only works for blockchains that support replacement of signed transactions, e.g.
- Ethereum - which has nonce management.
- BTC - which has RBF (Replace-By-Fee) and CPFP (Child-Pays-For-Parent) mechanisms.
Some blockchains do not support transaction replacement, e.g. TRON - which is based on transaction expiration time - for these cases, the transaction will be either mined or expired after the configured expiration time.
If the transaction has not been signed yet, and you wish to cancel it, use CancelTransaction instead.
Request
- Base URLhttps://api.utila.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Example request
{
"designatedSigners": [
"users/name@example.com"
]
}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",
"gasStationOrder": "vaults/1b2563/gasStations/a4b3df/orders/123456",
"gasStation": "vaults/1b2563/gasStations/a4b3df",
"sponsorWallet": "vaults/2d2e40r3/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"
},
"fee": {
"gasStationFee": {
"order": "vaults/1b2563/gasStations/a4b3df/orders/123456",
"asset": "assets/native.tron-mainnet"
}
}
},
"btcTransaction": {
"inputs": [
{
"signingSession": "vaults/2d2e40r3/signingSessions/132e40r3"
}
],
"asset": "assets/native.bitcoin-mainnet"
},
"btcPsbt": {
"inputs": [
{
"signingSession": "vaults/2d2e40r3/signingSessions/132e40r3"
}
]
}
}
}Changes
- breaking
the response property
///////became optional for the status - warning
removed the optional property
//////////////from the response with the status - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
////////////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
added the new
ERC7984enum value to the////////////////response property for the response status - warning
added the new
EVM_ZAMA_CONFIDENTIAL_TOKEN_ACTIVATIONenum value to the///////////response property for the response status - warning
added the new
EVM_ZAMA_CONFIDENTIAL_TOKEN_ACTIVATIONenum value to the/////////response property for the response status - info
added the optional property
//to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
////////////////////////to the response with the status - info
added the optional property
////////////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
/////////////////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
////////////////////////to the response with the status - info
added the optional property
////////////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
/////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
////////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
//////////////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
/////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
//////////////////////to the response with the status - info
added the optional property
//////////////////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
///////////////////to the response with the status - info
added the optional property
/////////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
///////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
//////////////////////to the response with the status - info
added the optional property
//////////////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
///////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
//////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added to the
////////////response propertyallOflist for the response status - info
added to the
//////////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
removed from the
///////response propertyallOflist for the response status - info
removed from the
////////////response propertyallOflist for the response status - info
removed from the
//////////response propertyallOflist for the response status
- breaking