GET Indicative quote

/bridge/indicative-quote

get

Request fast, indicative quote for a bridging request without the calldata.

Query parameters
from_addressstringOptional

Address of the user requesting the indicative quote

Pattern: ^0x[a-fA-F0-9]{40}$
src_chainstring · enumRequired

Blockchain name of the chain to initiate bridging, eg: ethereum, arbitrum, ... (refer to network name reference)

Possible values:
dst_chainstring · enumRequired

Blockchain name of the chain to receive bridged tokens, eg: ethereum, arbitrum, ... (refer to network name reference)

Possible values:
token_instringRequired

Address of the token to be sold/bridge-out

Pattern: ^0x[a-fA-F0-9]{40}$
token_outstringRequired

Address of the token to be bought/bridge-in

Pattern: ^0x[a-fA-F0-9]{40}$
amountstringRequired

The amount of token_in token to pay/sell/bridge-out

versionstringOptional

The version of Native Swap Router (if bridging includes token swaps). Leave empty or use 4 (latest)

Header parameters
api_keystringRequired

The API key that was assigned to you by Native

Responses
chevron-right
200

Successful response containing indicative quote for a bridging request

application/json
get
/swap-api-v2/v1/bridge/indicative-quote
200

Successful response containing indicative quote for a bridging request

Last updated