Swap

Swap endpoints for exchanging between different stablecoin assets

Get swap quote

post

Get a real-time quote for swapping between two stablecoin assets including exchange rate and fees.

Authorizations
Body
amountnumberRequired
from_assetstring · enumRequiredPossible values:
to_assetstring · enumRequiredPossible values:
exact_outputbooleanOptionalDefault: false
developer_feenumber · max: 100Optional

Optional developer fee percentage (0-100)

Responses
chevron-right
200

Successfully retrieved swap quote

application/json
post
/swap/quote

Initiate swap transaction

post

Initiate a swap transaction between two stablecoin assets.

Authorizations
Body
amountnumberRequired
from_assetstring · enumRequiredPossible values:
to_assetstring · enumRequiredPossible values:
exact_outputbooleanOptionalDefault: false
callback_urlstring · uriOptional
referencestring · uuidOptional
developer_feenumber · max: 100Optional

Optional developer fee percentage (0-100)

Responses
chevron-right
200

Successfully initiated swap transaction

application/json
post
/swap/initiate

Last updated