v1

latestOpenAPI 3.1.02026-07-1310041.0 KB
Routing

Generate Transaction

This is the second step when bridging tokens. After computing a route with Compute Route (POST /v2/fungible/route), pass the route details and your addresses to this endpoint. It returns signable transaction messages that you can broadcast to the source chain.

The typical flow is: Compute RouteGenerate Transaction → sign and broadcast → Track Transaction.

post/v2/fungible/msgs

Request body

amount_instring required

Input amount in smallest denomination.

amount_outstring required

Expected output amount from the route response.

source_asset_chain_idstring required

Source chain ID.

source_asset_denomstring required

Source asset denomination.

dest_asset_chain_idstring required

Destination chain ID.

dest_asset_denomstring required

Destination asset denomination.

address_liststring[] required

Array of recipient and/or sender address for each chain in the path, corresponding to the required_chain_addresses array returned from a route request.

operationsobject[] required

Route operations from the /v2/fungible/route response.

slippage_tolerance_percentstring required

Slippage tolerance as a percentage (e.g. "1" for 1%).

Response

Successful response