Create a new transaction

POST {{baseUrl}}/transactions

Creates a new transaction.

Request Body

{"operation"=>"TRANSFER", "note"=>"<string>", "externalTxId"=>"<string>", "assetId"=>"<string>", "source"=>{"type"=>"EXCHANGE_ACCOUNT", "subType"=>"External", "id"=>"<string>", "name"=>"<string>", "walletId"=>"<uuid>"}, "destination"=>{"type"=>"CONTRACT", "subType"=>"External", "id"=>"<string>", "name"=>"<string>", "walletId"=>"<uuid>", "oneTimeAddress"=>{"address"=>"<string>", "tag"=>"<string>"}}, "destinations"=>[{"amount"=>"<string>", "destination"=>{"type"=>"EXTERNAL_WALLET", "subType"=>"BYBIT", "id"=>"<string>", "name"=>"<string>", "walletId"=>"<uuid>", "oneTimeAddress"=>{"address"=>"<string>", "tag"=>"<string>"}}}, {"amount"=>"<string>", "destination"=>{"type"=>"VAULT_ACCOUNT", "subType"=>"INDEPENDENTRESERVE", "id"=>"<string>", "name"=>"<string>", "walletId"=>"<uuid>", "oneTimeAddress"=>{"address"=>"<string>", "tag"=>"<string>"}}}], "amount"=>"<string>", "treatAsGrossAmount"=>"<boolean>", "forceSweep"=>"<boolean>", "feeLevel"=>"LOW", "fee"=>"<string>", "priorityFee"=>"<string>", "failOnLowFee"=>"<boolean>", "maxFee"=>"<string>", "maxTotalFee"=>"<string>", "gasLimit"=>"<string>", "gasPrice"=>"<string>", "networkFee"=>"<string>", "replaceTxByHash"=>"<string>", "customerRefId"=>"<string>", "travelRuleMessage"=>{"originator"=>{"fullName"=>"<string>", "dateOfBirth"=>"<string>", "placeOfBirth"=>"<string>", "address"=>"<string>", "identificationNumber"=>"<string>", "nationality"=>"<string>", "countryOfResidence"=>"<string>", "taxIdentificationNumber"=>"<string>", "customerNumber"=>"<string>"}, "beneficiary"=>{"fullName"=>"<string>", "dateOfBirth"=>"<string>", "placeOfBirth"=>"<string>", "address"=>"<string>", "identificationNumber"=>"<string>", "nationality"=>"<string>", "countryOfResidence"=>"<string>", "taxIdentificationNumber"=>"<string>", "customerNumber"=>"<string>"}, "originatorVASPdid"=>"<string>", "beneficiaryVASPdid"=>"<string>", "beneficiaryVASPname"=>"<string>", "transactionBlockchainInfo"=>{"txHash"=>"<string>", "origin"=>"<string>", "destination"=>"<string>"}, "encrypted"=>"<string>", "protocol"=>"<string>", "skipBeneficiaryDataValidation"=>"<boolean>", "travelRuleBehavior"=>"<boolean>", "originatorProof"=>{"type"=>"<string>", "proof"=>"<string>"}, "beneficiaryProof"=>{"type"=>"<string>", "proof"=>"<string>"}, "pii"=>{"fullName"=>"<string>", "dateOfBirth"=>"<string>", "placeOfBirth"=>"<string>", "address"=>"<string>", "identificationNumber"=>"<string>", "nationality"=>"<string>", "countryOfResidence"=>"<string>", "taxIdentificationNumber"=>"<string>", "customerNumber"=>"<string>"}}, "autoStaking"=>"<boolean>", "networkStaking"=>"<string>", "cpuStaking"=>"<string>", "useGasless"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
X-End-User-Wallet-IdstringUnique ID of the End-User wallet to the API request. Required for end-user wallet operations.
Idempotency-KeystringA unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;systemMessages&quot;:{&quot;type&quot;:&quot;WARN&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;}}