GET /v1.0/dln/order/quote

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/debridge/v1.0/dln/order/quoteCache cached 5s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Cross-chain DLN quote estimate with expected output, protocol/taker fees, operating expenses, price impact and loyalty points.

Parameters

nameintypedescription
srcChainIdquerystrrequiredSource chain id (hub aliases accepted).
example: arbitrum
srcChainTokenInquerystrrequiredSource input token address.
example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
srcChainTokenInAmountquerystrrequiredInput amount in base units.
example: 100000000
dstChainIdquerystrrequiredDestination chain id (hub aliases accepted).
example: base
dstChainTokenOutquerystrrequiredDestination output token address.
example: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
prependOperatingExpensesquerybooloptionalWhether to prepend operating expenses to input amount.
affiliateFeePercentquerystroptionalOptional affiliate fee percentage.

Response

type: object
pagination: none
sample: {
  "estimation": "object",
  "tx": "object",
  "prependedOperatingExpenseCost": "str",
  "order": "object",
  "fixFee": "str",
  "protocolFee": "str",
  "userPoints": "float",
  "integratorPoints": "float",
  "protocolFeeApproximateUsdValue": "float",
  "usdPriceImpact": "float"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/debridge/v1.0/dln/order/quote?srcChainId=arbitrum&srcChainTokenIn=0xaf88d065e77c8cC2239327C5EDb3A432268e5831&srcChainTokenInAmount=100000000&dstChainId=base&dstChainTokenOut=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"