GET Firm quote

/bridge/firm-quote

get

Request executable calldata for initiating a bridging request

Query parameters
from_addressstringRequired

Effectively recipient. This is the pay out address of the final swapped tokens. Funding address will always be the address calls Native Bridge Contract.

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
200

Successful response containing executable calldata for initiating a bridging request

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

Successful response containing executable calldata for initiating a bridging request

Last updated