This API furnishes details regarding the list of input addresses where consolidation transactions are set to take place.
Quick Navigation: Function Index
Differences between the Consolidate Transaction API and the Get Unconsolidated API:
For GetConsolidated API: This API provides us with information about the list of input addresses where consolidation transactions will occur. It is a read-only API that offers a preview of the consolidation transactions.
For Consolidate Transaction API: This API not only runs the GetConsolidated API internally but also performs signing and broadcasting. It executes three operations in a single event.
1. Get Unconsolidation Transactions for Native Coin
This provides us with a comprehensive list of all consolidated transactions.
Example Request Body
{
"wallet":{
"coin": "eth",
"walletId":1
},
"transactions":{
"consolidateOptions":{
"targetAddress":"0x5dce8dc7ae6eeca7abb378406db5965c1a4684cd"
}
}
}
2. Get Unconsolidation Transactions for Token
Example Request Body
{
"wallet":{
"coin": "eth",
"walletId":1,
allToken:true,
tokenOptions:{
tokenName:"dai",
tokenAddress:"0xdc31Ee1784292379Fbb2964b3B9C4124D8F89C60"
}
},
"transactions":{
"consolidateOptions":{
"targetAddress":"0x5dce8dc7ae6eeca7abb378406db5965c1a4684cd"
}
}
}
Note:
This is mainly for organisations which are looking for extra security and compliance via our Travel Rule feature.