Create Allocation
URL Expired
The URL for this request expired after 30 days.
Blockchain-specific options for transaction intents
At most one of EVM, Bitcoin, Substrate, Solana, Canton, Stellar, or TVM may be set; the server rejects multiple families in one request.
Parameters
OperationID
string
Unique operation identifier.InitiatorID
string
Initiator identifier.ChainName
string
CAIP19Asset
string
requiredTestNetwork
boolean
truefalseSource
string
requiredMasterKeyName
string
requiredDestinationType
string
enum
required
internalexternal
Allowed:internal``externalDestinationAmounts
array of objects
required
length ≥ 1DestinationAmounts*
object
A single transfer destination with amount. Use Destination for vault name (internal) or address (external). MasterKeyName is required for internal transfers.Destination
string
required
Recipient vault name (internal) or blockchain address (external).MasterKeyName
string
Master key name for internal destination. Ignored for external transfers.Amount
string
required
Amount to transfer.ADD object
ExecutorID
object
required
Identifies an on-chain address in transaction intents and related APIs. Either set bothMasterKeyNameandAccountName(with optionalAddressIndexwhere the API allows it; index0is the main address when deriving), or setAddressto a literal address string. Setting only one ofMasterKeyNameorAccountNameis invalid. ForPOST /solana/accountInfo, when not sendingAddress,AddressIndexis required alongside master key and account.
ExecutorID object
AllocationDeadline
date-timeSettlementDeadline
date-time
requiredEVM
object
Optional EVM-specific parameters.Bitcoin
object
Optional Bitcoin-specific parameters.Substrate
object
Optional Substrate-specific parameters.Solana
object
Optional Solana-specific parameters.Canton
object
Optional Canton-specific parameters.Stellar
object
Optional Stellar-specific parameters.TVM
object
Optional TVM-specific parameters.
Status Codes
- `` 200 Operation started
- `` 400 Invalid input, validation error, or malformed request
- `` 500 Internal server error. May include an
errorCode(M-prefixed) anddatafrom the MPA error code system. Seecwpapi/errors.gofor codes.
Example Request
curl --request POST \
--url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/operations/start/createAllocation \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '\n{\n "DestinationType": "internal",\n "DestinationAmounts": []\n}\n'
Response
application/json
200400500