curl --request POST \
--url https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "w9jh0gf3w9qaxlre7enezt17",
"fromAssetId": "2",
"toAssetId": "5002",
"externalId": "w2u573pjj5wl97p4v325z4a",
"fromAmount": "1.5",
"fromTokenId": "<string>",
"toAmount": "3.75",
"toTokenId": "<string>"
}
'import requests
url = "https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route"
payload = {
"accountId": "w9jh0gf3w9qaxlre7enezt17",
"fromAssetId": "2",
"toAssetId": "5002",
"externalId": "w2u573pjj5wl97p4v325z4a",
"fromAmount": "1.5",
"fromTokenId": "<string>",
"toAmount": "3.75",
"toTokenId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
accountId: 'w9jh0gf3w9qaxlre7enezt17',
fromAssetId: '2',
toAssetId: '5002',
externalId: 'w2u573pjj5wl97p4v325z4a',
fromAmount: '1.5',
fromTokenId: '<string>',
toAmount: '3.75',
toTokenId: '<string>'
})
};
fetch('https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'accountId' => 'w9jh0gf3w9qaxlre7enezt17',
'fromAssetId' => '2',
'toAssetId' => '5002',
'externalId' => 'w2u573pjj5wl97p4v325z4a',
'fromAmount' => '1.5',
'fromTokenId' => '<string>',
'toAmount' => '3.75',
'toTokenId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route"
payload := strings.NewReader("{\n \"accountId\": \"w9jh0gf3w9qaxlre7enezt17\",\n \"fromAssetId\": \"2\",\n \"toAssetId\": \"5002\",\n \"externalId\": \"w2u573pjj5wl97p4v325z4a\",\n \"fromAmount\": \"1.5\",\n \"fromTokenId\": \"<string>\",\n \"toAmount\": \"3.75\",\n \"toTokenId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route")
.header("Content-Type", "application/json")
.body("{\n \"accountId\": \"w9jh0gf3w9qaxlre7enezt17\",\n \"fromAssetId\": \"2\",\n \"toAssetId\": \"5002\",\n \"externalId\": \"w2u573pjj5wl97p4v325z4a\",\n \"fromAmount\": \"1.5\",\n \"fromTokenId\": \"<string>\",\n \"toAmount\": \"3.75\",\n \"toTokenId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountId\": \"w9jh0gf3w9qaxlre7enezt17\",\n \"fromAssetId\": \"2\",\n \"toAssetId\": \"5002\",\n \"externalId\": \"w2u573pjj5wl97p4v325z4a\",\n \"fromAmount\": \"1.5\",\n \"fromTokenId\": \"<string>\",\n \"toAmount\": \"3.75\",\n \"toTokenId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"accountId": "<string>",
"transactionType": "deposit",
"description": "Withdrawal to an exchange",
"embedded": {
"attestationSignature": {
"publicKey": "<string>",
"signature": "<string>"
},
"currentSigningRequest": {
"accountId": "w9jh0gf3w9qaxlre7enezt17",
"blockchainNonce": "<string>",
"messagesForSigning": {
"messages": [
{
"hashFunction": "none",
"keyType": "secp256k1",
"message": "<string>",
"signatureScheme": "ecdsa",
"signatureVariant": "zilliqa"
}
],
"parallelSigning": true,
"primitivesVersion": "<string>",
"publicKey": "<string>",
"useBackupPrimitive": true
},
"networkId": "<string>",
"requestParameters": {},
"shouldBeBroadcasted": true,
"signed": {
"signature": "<string>",
"signatures": [
{
"e": "<string>",
"r": "<string>",
"rx": "<string>",
"s": "<string>",
"signature": "<string>",
"v": "<string>"
}
],
"txRaw": "<string>"
},
"signingData": {
"assetId": "<string>",
"networkId": "<string>",
"publicKey": "<string>",
"sponsored": true,
"transactionType": "deposit"
},
"signingRequestId": "<string>",
"status": "new",
"transactionId": "<string>",
"transactionType": "deposit",
"workspaceId": "e191u51yxnykins6fahd"
},
"events": [
{
"accountId": "<string>",
"accountType": "vault",
"assetId": "<string>",
"createdAt": "<string>",
"eventId": "<string>",
"eventType": "in",
"transactionId": "<string>",
"workspaceId": "<string>",
"amount": "<string>",
"blockchainTxId": "<string>",
"extra": {
"allowance": [
{
"address": "<string>",
"amount": "<string>",
"networkId": "<string>",
"unlimited": true
}
],
"in": [
{
"address": "<string>",
"amount": "<string>",
"fromAccountId": "<string>",
"fromAddressBookRecordId": "<string>",
"networkId": "<string>"
}
],
"out": [
{
"address": "<string>",
"amount": "<string>",
"memo": "<string>",
"networkId": "<string>",
"toAccountId": "<string>",
"toAddressBookRecordId": "<string>"
}
],
"rewardInfo": {
"increaseOperableBalance": true,
"poolIds": [
"<string>"
],
"rewardSource": "protocol-voting",
"rewardWithoutTransaction": true,
"stakeId": "<string>"
},
"signingMessage": {
"message": "<string>",
"version": "<string>"
},
"stakeInfo": [
{
"amount": "<string>",
"poolId": "<string>",
"resource": "<string>",
"stakeId": "<string>"
}
],
"transactionFailed": true,
"walletStateInit": "<string>"
},
"networkId": "<string>",
"symbol": "<string>",
"usdAmount": "<string>"
}
],
"quoteDetails": {
"approvalAddress": "<string>",
"expiresAt": "<string>",
"fromAmount": "<string>",
"fromAmountUSD": "<string>",
"isCrossChain": true,
"networkFee": "<string>",
"networkFeeAssetId": "<string>",
"networkFeeUSD": "<string>",
"processingTime": "<string>",
"provider": "lifi",
"quoteId": "<string>",
"serviceFeeUSD": "<string>",
"slippage": "0.005",
"toAmount": "<string>",
"toAmountMin": "<string>",
"toAmountUSD": "<string>"
}
},
"estimations": [
{
"assetId": "<string>",
"createdAt": "<string>",
"estimationId": "<string>",
"eventType": "in",
"transactionId": "<string>",
"amount": "<string>",
"extra": {
"allowance": [
{
"address": "<string>",
"amount": "<string>",
"networkId": "<string>",
"unlimited": true
}
],
"in": [
{
"address": "<string>",
"amount": "<string>",
"fromAccountId": "<string>",
"fromAddressBookRecordId": "<string>",
"networkId": "<string>"
}
],
"out": [
{
"address": "<string>",
"amount": "<string>",
"memo": "<string>",
"networkId": "<string>",
"toAccountId": "<string>",
"toAddressBookRecordId": "<string>"
}
],
"rewardInfo": {
"increaseOperableBalance": true,
"poolIds": [
"<string>"
],
"rewardSource": "protocol-voting",
"rewardWithoutTransaction": true,
"stakeId": "<string>"
},
"signingMessage": {
"message": "<string>",
"version": "<string>"
},
"stakeInfo": [
{
"amount": "<string>",
"poolId": "<string>",
"resource": "<string>",
"stakeId": "<string>"
}
],
"transactionFailed": true,
"walletStateInit": "<string>"
},
"networkId": "<string>",
"symbol": "<string>",
"usdAmount": "<string>"
}
],
"externalId": "<string>",
"extra": {
"approvers": {
"approvedBy": [
"<string>"
],
"availableApprovers": [
"<string>"
],
"limitId": "w2u573pjj5wl97p4v325z4a9",
"number": "2",
"securityDelayDuration": "<string>",
"securityDelayExpiresAt": "<string>",
"skipApproval": true
},
"blockchainDetails": [
{
"blockchainTxId": "b79aae771ec6b779d97b10911bd938f5e18a92732c106e9dab4e33cd21ef7fb0",
"networkId": "BTC"
}
],
"blockchainRequest": {
"externalBroadcast": true,
"networkId": "<string>"
},
"bronLock": {
"burn": {
"redeemRequestId": "<string>",
"releaseBlockchainTxId": "<string>",
"releaseSigningRequestId": "<string>",
"releaseTransactionId": "<string>"
}
},
"confirmations": "12",
"depositTransactionId": "j1r166mwjfxe6fejw4i2ucwm",
"description": "Withdrawal to an exchange",
"estimatedPrice": "<string>",
"fromAccountId": "w9jh0gf3w9qaxlre7enezt17",
"fromAddress": "TSz8S8sfhWbaDKVH5bVM1U2rekX3Gr2zxY",
"fromWorkspaceIcon": "<string>",
"fromWorkspaceName": "<string>",
"fromWorkspaceTag": "bron",
"memo": "<string>",
"price": "<string>",
"quoteDetails": {
"approvalAddress": "<string>",
"expiresAt": "<string>",
"fromAmount": "<string>",
"fromAmountUSD": "<string>",
"isCrossChain": true,
"networkFee": "<string>",
"networkFeeAssetId": "<string>",
"networkFeeUSD": "<string>",
"processingTime": "<string>",
"provider": "lifi",
"quoteId": "<string>",
"serviceFeeUSD": "<string>",
"slippage": "0.005",
"toAmount": "<string>",
"toAmountMin": "<string>",
"toAmountUSD": "<string>"
},
"quoteId": "<string>",
"signingRequestId": "<string>",
"toAccountId": "t2pm9t9x4k0a3h353f369jk8",
"toAddress": "tb1qaprk5xy6t0m8yjdlnxscxqn9ek23uaej09eeax",
"toWorkspaceIcon": "<string>",
"toWorkspaceName": "<string>",
"toWorkspaceTag": "tesla",
"withdrawTransactionId": "altfrg6powi52w53sd7ts8vf"
},
"params": {},
"warning": {
"message": "<string>",
"code": "<string>"
}
}{
"error": "bad-request",
"message": "<string>"
}{
"error": "forbidden",
"message": "<string>"
}{
"error": "conflict",
"message": "<string>"
}Get Swap Route
Find how a pair of assets can be swapped from an account and get a quote for it. The response is a dry-run of the transaction to create next:
-
transactionType: swap-lifi— a Li.Fi quote in_embedded.quoteDetails; pass itsquoteIdasparams.quoteIdtoPOST /transactionsbeforeexpiresAt. -
transactionType: bridge— the pair moves between connected networks; submit the returnedparamstoPOST /transactions. -
transactionType: intents— an indicative Intents price; create the order withPOST /intents.
Answers 404 pair-not-available when the pair cannot be swapped.
curl --request POST \
--url https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "w9jh0gf3w9qaxlre7enezt17",
"fromAssetId": "2",
"toAssetId": "5002",
"externalId": "w2u573pjj5wl97p4v325z4a",
"fromAmount": "1.5",
"fromTokenId": "<string>",
"toAmount": "3.75",
"toTokenId": "<string>"
}
'import requests
url = "https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route"
payload = {
"accountId": "w9jh0gf3w9qaxlre7enezt17",
"fromAssetId": "2",
"toAssetId": "5002",
"externalId": "w2u573pjj5wl97p4v325z4a",
"fromAmount": "1.5",
"fromTokenId": "<string>",
"toAmount": "3.75",
"toTokenId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
accountId: 'w9jh0gf3w9qaxlre7enezt17',
fromAssetId: '2',
toAssetId: '5002',
externalId: 'w2u573pjj5wl97p4v325z4a',
fromAmount: '1.5',
fromTokenId: '<string>',
toAmount: '3.75',
toTokenId: '<string>'
})
};
fetch('https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'accountId' => 'w9jh0gf3w9qaxlre7enezt17',
'fromAssetId' => '2',
'toAssetId' => '5002',
'externalId' => 'w2u573pjj5wl97p4v325z4a',
'fromAmount' => '1.5',
'fromTokenId' => '<string>',
'toAmount' => '3.75',
'toTokenId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route"
payload := strings.NewReader("{\n \"accountId\": \"w9jh0gf3w9qaxlre7enezt17\",\n \"fromAssetId\": \"2\",\n \"toAssetId\": \"5002\",\n \"externalId\": \"w2u573pjj5wl97p4v325z4a\",\n \"fromAmount\": \"1.5\",\n \"fromTokenId\": \"<string>\",\n \"toAmount\": \"3.75\",\n \"toTokenId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route")
.header("Content-Type", "application/json")
.body("{\n \"accountId\": \"w9jh0gf3w9qaxlre7enezt17\",\n \"fromAssetId\": \"2\",\n \"toAssetId\": \"5002\",\n \"externalId\": \"w2u573pjj5wl97p4v325z4a\",\n \"fromAmount\": \"1.5\",\n \"fromTokenId\": \"<string>\",\n \"toAmount\": \"3.75\",\n \"toTokenId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bron.org/workspaces/{workspaceId}/transactions/swap-route")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountId\": \"w9jh0gf3w9qaxlre7enezt17\",\n \"fromAssetId\": \"2\",\n \"toAssetId\": \"5002\",\n \"externalId\": \"w2u573pjj5wl97p4v325z4a\",\n \"fromAmount\": \"1.5\",\n \"fromTokenId\": \"<string>\",\n \"toAmount\": \"3.75\",\n \"toTokenId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"accountId": "<string>",
"transactionType": "deposit",
"description": "Withdrawal to an exchange",
"embedded": {
"attestationSignature": {
"publicKey": "<string>",
"signature": "<string>"
},
"currentSigningRequest": {
"accountId": "w9jh0gf3w9qaxlre7enezt17",
"blockchainNonce": "<string>",
"messagesForSigning": {
"messages": [
{
"hashFunction": "none",
"keyType": "secp256k1",
"message": "<string>",
"signatureScheme": "ecdsa",
"signatureVariant": "zilliqa"
}
],
"parallelSigning": true,
"primitivesVersion": "<string>",
"publicKey": "<string>",
"useBackupPrimitive": true
},
"networkId": "<string>",
"requestParameters": {},
"shouldBeBroadcasted": true,
"signed": {
"signature": "<string>",
"signatures": [
{
"e": "<string>",
"r": "<string>",
"rx": "<string>",
"s": "<string>",
"signature": "<string>",
"v": "<string>"
}
],
"txRaw": "<string>"
},
"signingData": {
"assetId": "<string>",
"networkId": "<string>",
"publicKey": "<string>",
"sponsored": true,
"transactionType": "deposit"
},
"signingRequestId": "<string>",
"status": "new",
"transactionId": "<string>",
"transactionType": "deposit",
"workspaceId": "e191u51yxnykins6fahd"
},
"events": [
{
"accountId": "<string>",
"accountType": "vault",
"assetId": "<string>",
"createdAt": "<string>",
"eventId": "<string>",
"eventType": "in",
"transactionId": "<string>",
"workspaceId": "<string>",
"amount": "<string>",
"blockchainTxId": "<string>",
"extra": {
"allowance": [
{
"address": "<string>",
"amount": "<string>",
"networkId": "<string>",
"unlimited": true
}
],
"in": [
{
"address": "<string>",
"amount": "<string>",
"fromAccountId": "<string>",
"fromAddressBookRecordId": "<string>",
"networkId": "<string>"
}
],
"out": [
{
"address": "<string>",
"amount": "<string>",
"memo": "<string>",
"networkId": "<string>",
"toAccountId": "<string>",
"toAddressBookRecordId": "<string>"
}
],
"rewardInfo": {
"increaseOperableBalance": true,
"poolIds": [
"<string>"
],
"rewardSource": "protocol-voting",
"rewardWithoutTransaction": true,
"stakeId": "<string>"
},
"signingMessage": {
"message": "<string>",
"version": "<string>"
},
"stakeInfo": [
{
"amount": "<string>",
"poolId": "<string>",
"resource": "<string>",
"stakeId": "<string>"
}
],
"transactionFailed": true,
"walletStateInit": "<string>"
},
"networkId": "<string>",
"symbol": "<string>",
"usdAmount": "<string>"
}
],
"quoteDetails": {
"approvalAddress": "<string>",
"expiresAt": "<string>",
"fromAmount": "<string>",
"fromAmountUSD": "<string>",
"isCrossChain": true,
"networkFee": "<string>",
"networkFeeAssetId": "<string>",
"networkFeeUSD": "<string>",
"processingTime": "<string>",
"provider": "lifi",
"quoteId": "<string>",
"serviceFeeUSD": "<string>",
"slippage": "0.005",
"toAmount": "<string>",
"toAmountMin": "<string>",
"toAmountUSD": "<string>"
}
},
"estimations": [
{
"assetId": "<string>",
"createdAt": "<string>",
"estimationId": "<string>",
"eventType": "in",
"transactionId": "<string>",
"amount": "<string>",
"extra": {
"allowance": [
{
"address": "<string>",
"amount": "<string>",
"networkId": "<string>",
"unlimited": true
}
],
"in": [
{
"address": "<string>",
"amount": "<string>",
"fromAccountId": "<string>",
"fromAddressBookRecordId": "<string>",
"networkId": "<string>"
}
],
"out": [
{
"address": "<string>",
"amount": "<string>",
"memo": "<string>",
"networkId": "<string>",
"toAccountId": "<string>",
"toAddressBookRecordId": "<string>"
}
],
"rewardInfo": {
"increaseOperableBalance": true,
"poolIds": [
"<string>"
],
"rewardSource": "protocol-voting",
"rewardWithoutTransaction": true,
"stakeId": "<string>"
},
"signingMessage": {
"message": "<string>",
"version": "<string>"
},
"stakeInfo": [
{
"amount": "<string>",
"poolId": "<string>",
"resource": "<string>",
"stakeId": "<string>"
}
],
"transactionFailed": true,
"walletStateInit": "<string>"
},
"networkId": "<string>",
"symbol": "<string>",
"usdAmount": "<string>"
}
],
"externalId": "<string>",
"extra": {
"approvers": {
"approvedBy": [
"<string>"
],
"availableApprovers": [
"<string>"
],
"limitId": "w2u573pjj5wl97p4v325z4a9",
"number": "2",
"securityDelayDuration": "<string>",
"securityDelayExpiresAt": "<string>",
"skipApproval": true
},
"blockchainDetails": [
{
"blockchainTxId": "b79aae771ec6b779d97b10911bd938f5e18a92732c106e9dab4e33cd21ef7fb0",
"networkId": "BTC"
}
],
"blockchainRequest": {
"externalBroadcast": true,
"networkId": "<string>"
},
"bronLock": {
"burn": {
"redeemRequestId": "<string>",
"releaseBlockchainTxId": "<string>",
"releaseSigningRequestId": "<string>",
"releaseTransactionId": "<string>"
}
},
"confirmations": "12",
"depositTransactionId": "j1r166mwjfxe6fejw4i2ucwm",
"description": "Withdrawal to an exchange",
"estimatedPrice": "<string>",
"fromAccountId": "w9jh0gf3w9qaxlre7enezt17",
"fromAddress": "TSz8S8sfhWbaDKVH5bVM1U2rekX3Gr2zxY",
"fromWorkspaceIcon": "<string>",
"fromWorkspaceName": "<string>",
"fromWorkspaceTag": "bron",
"memo": "<string>",
"price": "<string>",
"quoteDetails": {
"approvalAddress": "<string>",
"expiresAt": "<string>",
"fromAmount": "<string>",
"fromAmountUSD": "<string>",
"isCrossChain": true,
"networkFee": "<string>",
"networkFeeAssetId": "<string>",
"networkFeeUSD": "<string>",
"processingTime": "<string>",
"provider": "lifi",
"quoteId": "<string>",
"serviceFeeUSD": "<string>",
"slippage": "0.005",
"toAmount": "<string>",
"toAmountMin": "<string>",
"toAmountUSD": "<string>"
},
"quoteId": "<string>",
"signingRequestId": "<string>",
"toAccountId": "t2pm9t9x4k0a3h353f369jk8",
"toAddress": "tb1qaprk5xy6t0m8yjdlnxscxqn9ek23uaej09eeax",
"toWorkspaceIcon": "<string>",
"toWorkspaceName": "<string>",
"toWorkspaceTag": "tesla",
"withdrawTransactionId": "altfrg6powi52w53sd7ts8vf"
},
"params": {},
"warning": {
"message": "<string>",
"code": "<string>"
}
}{
"error": "bad-request",
"message": "<string>"
}{
"error": "forbidden",
"message": "<string>"
}{
"error": "conflict",
"message": "<string>"
}Path Parameters
Body
The account that will fund the swap
"w9jh0gf3w9qaxlre7enezt17"
ID of the source asset
"2"
ID of the destination asset
"5002"
Client-side identifier of the quote request, reused as externalId when the transaction is created
"w2u573pjj5wl97p4v325z4a"
Amount of the source asset. Exactly one of fromAmount or toAmount must be specified
"1.5"
Token ID inside the source asset, required for NFT and Bron Lock assets
Amount of the destination asset. Exactly one of fromAmount or toAmount must be specified
"3.75"
Token ID inside the destination asset, required for NFT and Bron Lock assets
Response
OK
deposit, withdrawal, multi-withdrawal, negative-deposit, auto-withdrawal, allowance, defi, defi-message, address-activation, address-creation, stake-delegation, stake-undelegation, stake-claim, stake-withdrawal, stake-take-reward, stake-earn-reward, swap-lifi, intents, intent-solver-settlement, loyalty-lock, loyalty-unlock, loyalty-collect-rewards, canton-reward, nft-deposit, nft-withdrawal, nft-allowance, fiat-out, fiat-in, bridge, earn-buy, earn-sell, power-bank-crypto-top-up, power-bank-card-top-up, power-bank-usage The description of the transaction
"Withdrawal to an exchange"
Embedded related objects for this dry-run
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
