[Create] Permanent Route Address

Generate a personalized address for Cross-Chain Transfers

post

/v0/customers/{customer_id}/cross-chain-transfer/permanent-route-address

Path parameters
customer_idstring · uuidrequired

The unique identifier of the customer

Header parameters
Authorizationstringrequired

Token for authentication

Body
destination_networkstring · enumrequired

The blockchain network for the destination

Options: polygon, ethereum
destination_tokenstring · enumrequired

The token for the destination.<br> <strong>Note:</strong> Base network only supports <strong>usdc</strong>, while Tron network only supports <strong>usdt</strong>

Options: usdc, usdt
destination_addressstringrequired

The blockchain address where the funds will be sent

Responses
curl -L \
  --request POST \
  --url 'https://api.getfractal.xyz/v0/customers/{customer_id}/cross-chain-transfer/permanent-route-address' \
  --header 'Authorization: text' \
  --header 'Content-Type: application/json' \
  --data '{
    "destination_network": "polygon",
    "destination_token": "usdc",
    "destination_address": "text"
  }'
{
  "permanent_route_address_id": "123e4567-e89b-12d3-a456-426614174000",
  "route_chain_addresses": {
    "ethereum": {
      "address": "text"
    },
    "base": {
      "address": "text"
    },
    "polygon": {
      "address": "text"
    },
    "tron": {
      "address": "text"
    },
    "solana": {
      "address": "text"
    }
  },
  "route_destination": {
    "network": "text",
    "token": "usdc",
    "address": "text"
  }
}

Last updated