Create Transfer (Exact Out)

post

Creates a cross-chain transfer session with a guaranteed output amount.

Deposit exactly the originAmount to the returned depositAddress. The recipient will receive the exact destinationAmount specified.

Set dryMode: true to preview the transfer without creating an active session.

Body
originTokenstringRequired

The origin token in chain:address format

Example: base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
destinationTokenstringRequired

The destination token in chain:address format

Example: solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
recipientstringRequired

The recipient address in chain:address format

Example: solana:7aLBCrbn4jDNSxLLJYRRnKbkqA5cuaeaAzn74xS7eKPD
dryModebooleanOptional

If true, the deposit address will not be observed for deposits

Default: false
amountstringRequired

Guaranteed output amount in smallest units that the recipient will receive

Example: 1000000
Responses
200

Transfer created successfully

application/json
post
/transfers/create-exact-out
200

Transfer created successfully

Last updated