Synapse Bridge REST API

[Deprecated] in favor of using the /bridge endpoint, which now returns call data

[Deprecated] Originally used to get Bridge transaction information

get/bridgeTxInfo

Query parameters

fromChaininteger required

The source chain ID

fromTokenstring required

The address of the token on the source chain

toChaininteger required

The destination chain ID

toTokenstring required

The address of the token on the destination chain

amountnumber required

The amount of tokens to bridge

destAddressstring required

The destination address for the bridged tokens

originUserAddressstring

The address of the user on the origin chain

Response

Successful response

datastring

Encoded transaction data

tostring

The address of the contract to interact with

Changes