Execute Stablecoin Swap
Stablecoin Swaps
Execute Stablecoin Swap
Atomically debits from_asset and credits to_asset on the same custodial wallet row.
Requires an existing balance row for from_asset with sufficient available balance (amount - locked_amount).
If no row exists for to_asset, one is created. Records a row in stablecoin_swaps.
POST
Execute Stablecoin Swap
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
USDT, USDC Available options:
USDT, USDC Amount to debit from from_asset
Available options:
tron, ethereum Optional. Defaults to default-or-only wallet for network