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 freeCross-chain DLN quote estimate with expected output, protocol/taker fees, operating expenses, price impact and loyalty points.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
srcChainId | query | str | required | Source chain id (hub aliases accepted). example: arbitrum |
srcChainTokenIn | query | str | required | Source input token address. example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 |
srcChainTokenInAmount | query | str | required | Input amount in base units. example: 100000000 |
dstChainId | query | str | required | Destination chain id (hub aliases accepted). example: base |
dstChainTokenOut | query | str | required | Destination output token address. example: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
prependOperatingExpenses | query | bool | optional | Whether to prepend operating expenses to input amount. |
affiliateFeePercent | query | str | optional | Optional 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"