GET Indicative quote
Query parameters
from_addressstringOptionalPattern:
Address of the user requesting the indicative quote
^0x[a-fA-F0-9]{40}$src_chainstring · enumRequiredPossible values:
Blockchain name of the chain to initiate bridging, eg: ethereum, arbitrum, ... (refer to network name reference)
dst_chainstring · enumRequiredPossible values:
Blockchain name of the chain to receive bridged tokens, eg: ethereum, arbitrum, ... (refer to network name reference)
token_instringRequiredPattern:
Address of the token to be sold/bridge-out
^0x[a-fA-F0-9]{40}$token_outstringRequiredPattern:
Address of the token to be bought/bridge-in
^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
200
Successful response containing indicative quote for a bridging request
application/json
get
/swap-api-v2/v1/bridge/indicative-quote200
Successful response containing indicative quote for a bridging request
Last updated