Generate Consolidation Data
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Optional metadata when starting an operation.
OperationID
string
Unique operation identifier.InitiatorID
string
Initiator identifier.ChainName
stringCAIP19
stringAsset
string
requiredTestNetwork
boolean
truefalseMasterKeyName
string
requiredAccount
string
requiredSubAddressData
array of objects
required
length ≥ 1SubAddressData*
object
One asset and sub-address row when consolidating from multiple sub-addresses.Asset
string
Asset symbol for this consolidation row.Amount
string
Amount for this sub-address.SubAddressIndex
integer
Index of the sub-address within the account.
ADD object
200 Operation started
400 Invalid input, validation error, or malformed request
500 Internal server error. May include an `errorCode` (M-prefixed) and `data` from the MPA error code system. See `cwpapi/errors.go` for codes.
Updated 3 months ago
Shell Examples
- Ruby
- PHP
- Python
Base URL
https://api.your-wallet.blockdaemon-wallet.com/api/cwp/operations/start/generateConsolidationData
xxxxxxxxxx
curl --request POST \
--url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/operations/start/generateConsolidationData \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"SubAddressData": []
}
'
Click Try It! to start a request and see the response here! Or choose an example:
200
400
500
Updated 3 months ago