Skip to main content
The Swap API lets you exchange one stablecoin for another directly from a Blockradar wallet. Swaps can be initiated from a master wallet or a child address.

What you can do

  • Get a quote for a swap before committing
  • Execute a swap between supported assets
  • Swap from both master wallets and child addresses

Endpoints

MethodEndpointDescription
POST/wallets/{walletId}/swap/quoteGet swap quote from master wallet
POST/wallets/{walletId}/swapExecute swap from master wallet
POST/wallets/{walletId}/addresses/{addressId}/swap/quoteGet swap quote from child address
POST/wallets/{walletId}/addresses/{addressId}/swapExecute swap from child address

Full API Reference

View all swap endpoints in the API Reference tab.