Synapse Bridge REST API

Get swap quote for tokens on a specific chain

Retrieve detailed swap quote for exchanging one token for another on a specified chain

get/swap

Query parameters

chaininteger required

The chain ID where the swap will occur

fromTokenstring required

The address of the token to swap from

toTokenstring required

The address of the token to swap to

amountnumber required

The amount of tokens to swap

addressstring required

The address of the user

Response

Successful response

routerAddressstring

The address of the router contract

maxAmountOutstring

The maximum amount of tokens that will be received

Changes

No recorded changes to this endpoint across all 1 revision of this API.