## Documentation Index Fetch the complete documentation index at: https://docs.relay.link/llms.txt Use this file to discover all available pages before exploring further.
## Agent Instructions To quote bridges and swaps, look up chains and tokens, or track Relay transactions from an agent, use the Relay MCP server: npx -y @relayprotocol/relay-mcp. It is read-only and does not sign or broadcast transactions. Setup: https://docs.relay.link/resources/developing-with-ai.md For Relay Protocol's trust model, security architecture, and audits, see https://docs.relay.link/references/protocol/security.md. For address screening, see https://docs.relay.link/security/transaction-screening.md.Deposit Addresses
Bridge or swap assets by sending funds to a deposit address, with no wallet connection or signing required.
Deposit addresses let users bridge or swap tokens by sending funds to an address, without connecting a wallet to your application. You request a quote with `useDepositAddress: true`, and the user transfers funds to the returned address. Relay detects the deposit and tracks execution, and a solver fills the order on the destination chain.
This makes deposit addresses a good fit for CEX withdrawals, fiat onramps, and headless systems where the sender can't sign transactions. The user just sends to an address, with the same UX as a normal transfer.
How It Works
- Quote — Request a quote with
useDepositAddress: true. The response includes adepositAddressand arequestId. - Deposit — The user sends funds to the deposit address, from a wallet or an exchange withdrawal.
- Detect and sweep — Relay detects the deposit and moves the funds into the Relay Depository. An
EXACT_INPUTaddress prices the order for what actually arrived. AnEXACT_OUTPUTaddress checks the deposit against the quote. - Fill — For cross-chain orders, a solver uses its own liquidity to deliver the output to the recipient. Same-chain swaps execute on the deposit chain.
See Deposit Addresses in the Relay Protocol docs for how Relay sweeps deposits into the Depository.
Key Parameters
The deposit-address parameters for POST /quote/v2 are below; see Get Quote for the full list.
| Parameter | Type | Details | |
|---|---|---|---|
useDepositAddress | boolean | Set to true to receive a deposit address instead of transaction calldata. | |
user | address | The user address for the quote. Can be any valid address, including the zero address. | |
recipient | address | The address that receives funds on the destination chain. | |
refundTo | address | Required. The origin-chain address that receives refunds. Set it to the origin chain's native-currency address (EVM 0x0000000000000000000000000000000000000000, Bitcoin bc1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmql8k8, Solana 11111111111111111111111111111111) to refund the original sender instead. See Refund Behavior. | |
recoveryAddress | address | Optional. An origin-chain wallet you control that can withdraw funds Relay can't refund automatically. See `recoveryAddress`. | |
tradeType | string | EXACT_INPUT fills whatever amount arrives at the current rate. EXACT_OUTPUT delivers a fixed output and expects the quoted input amount. EXPECTED_OUTPUT is not supported. | |
amount | string | The quoted amount in the origin token's smallest unit. For EXACT_INPUT, the user can send a different amount. | |
strict | boolean | Set to true for a single-use address. Omit or set to false for a reusable address. |
Address Reuse
An open address accepts any number of deposits. Each deposit fills to the same destination chain, currency, and recipient, with the fee settings from the original quote.
A strict address accepts one deposit. Relay refunds any later deposit to refundTo. Use strict addresses for single-use payment instructions, such as one address per invoice.
Open vs Strict Deposit Addresses
Two settings control how a deposit address behaves. strict decides whether the address is reusable. tradeType decides how Relay handles a deposit that doesn't match the quote.
Open Deposit Addresses
Open deposit addresses are the default. They're reusable and tolerate user variability, so they suit general-purpose integrations and per-user addresses.
- Use
tradeType: "EXACT_INPUT". - The user can send any amount, and any supported token on the address's chain.
Strict Deposit Addresses
Strict deposit addresses accept one deposit and then stop filling. They suit payment flows that need one predictable outcome per address, such as checkouts and invoices.
- Set
strict: truein your/quote/v2request. - With
tradeType: "EXACT_INPUT", the first deposit fills at the current rate, whatever its amount. - With
tradeType: "EXACT_OUTPUT", the recipient gets exactly the quoted output. The deposit must be the quoted token and at least the quoted amount.EXACT_OUTPUTaddresses are always single-use.
Comparison
How Relay handles each kind of deposit:
| Deposit | EXACT_INPUT | EXACT_OUTPUT | |
|---|---|---|---|
| Quoted token and amount | Fills | Fills | |
| More than quoted | Fills the full amount at the current rate | Fills the quoted output and refunds the surplus | |
| Less than quoted | Fills the smaller amount at the current rate. Refunds it if it's too small to cover fees | Refunds the full deposit. The address still accepts a correct deposit | |
| Different supported token | Requotes in the token received and fills | Refunds the full deposit | |
| Unsupported token | Not processed. See Supported Currencies | Not processed | |
| Same address, different EVM chain | Fills from the chain the funds landed on, if that chain and token are supported | Not processed automatically. Contact Support | |
| Later deposit to the same address | Open: fills as a new order. Strict: refunded | Refunded |
A deposit can't land on a different VM by mistake. Address formats differ across VMs (EVM, Solana, Bitcoin, and others), so an EVM address can't receive funds on Solana.
Example Request and Response
Open Deposit Address
Bridging 0.01 ETH from Base to Optimism using an open deposit address:
curl -X POST \
'https://api.relay.link/quote/v2' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"user": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"originChainId": 8453,
"originCurrency": "0x0000000000000000000000000000000000000000",
"destinationChainId": 10,
"destinationCurrency": "0x0000000000000000000000000000000000000000",
"tradeType": "EXACT_INPUT",
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"amount": "100000000000000000",
"useDepositAddress": true,
"refundTo": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd"
}'{
"steps": [
{
"id": "deposit",
"action": "Confirm transaction in your wallet",
"description": "Depositing funds to the depository contract",
"kind": "transaction",
"items": [
{
"status": "incomplete",
"data": {
"from": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"to": "0x856533b33e4526ca3df3b4df4205955056d9d3f0",
"data": "0x",
"value": "100000000000000000",
"chainId": 8453,
"gas": "27300",
"maxFeePerGas": "6500000",
"maxPriorityFeePerGas": "1000000"
},
"check": {
"endpoint": "/intents/status/v3?requestId=0x5288854c6ff2bf4eb4f53f515e599217c20ded0654f7bbfa2a459ebfe462a57c",
"method": "GET"
}
}
],
"requestId": "0x5288854c6ff2bf4eb4f53f515e599217c20ded0654f7bbfa2a459ebfe462a57c",
"depositAddress": "0x856533b33e4526ca3df3b4df4205955056d9d3f0"
}
],
"fees": {
"gas": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "143425703256",
"amountFormatted": "0.000000143425703256",
"amountUsd": "0.000302",
"minimumAmount": "143425703256"
},
"relayer": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "19775083466725",
"amountFormatted": "0.000019775083466725",
"amountUsd": "0.041623",
"minimumAmount": "19775083466725"
},
"relayerGas": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "773003796434",
"amountFormatted": "0.000000773003796434",
"amountUsd": "0.001627",
"minimumAmount": "773003796434"
},
"relayerService": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "19002079670291",
"amountFormatted": "0.000019002079670291",
"amountUsd": "0.039996",
"minimumAmount": "19002079670291"
},
"app": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "0",
"amountFormatted": "0.0",
"amountUsd": "0",
"minimumAmount": "0"
},
"subsidized": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "0",
"amountFormatted": "0.0",
"amountUsd": "0",
"minimumAmount": "0"
}
},
"details": {
"operation": "swap",
"sender": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"currencyIn": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "100000000000000000",
"amountFormatted": "0.1",
"amountUsd": "210.480239",
"minimumAmount": "100000000000000000"
},
"currencyOut": {
"currency": {
"chainId": 10,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "99980224916533275",
"amountFormatted": "0.099980224916533275",
"amountUsd": "210.438616",
"minimumAmount": "97980620418202610"
},
"refundCurrency": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "100000000000000000",
"amountFormatted": "0.1",
"amountUsd": "210.480239",
"minimumAmount": "100000000000000000"
},
"totalImpact": {
"usd": "-0.041623",
"percent": "-0.02"
},
"swapImpact": {
"usd": "-0.000000",
"percent": "-0.00"
},
"expandedPriceImpact": {
"swap": {
"usd": "-0.019996"
},
"execution": {
"usd": "-0.021627"
},
"relay": {
"usd": "0"
},
"app": {
"usd": "0"
},
"sponsored": {
"usd": "0"
}
},
"rate": "0.9998022491653327",
"slippageTolerance": {
"origin": {
"usd": "0.000000",
"value": "0",
"percent": "0.00"
},
"destination": {
"usd": "4.187728",
"value": "1999604498330665",
"percent": "1.99"
}
},
"timeEstimate": 2,
"userBalance": "0",
"isFixedRate": false,
"route": {
"origin": {
"inputCurrency": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "100000000000000000",
"amountFormatted": "0.1",
"amountUsd": "210.480239",
"minimumAmount": "100000000000000000"
},
"outputCurrency": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "100000000000000000",
"amountFormatted": "0.1",
"amountUsd": "210.480239",
"minimumAmount": "100000000000000000"
},
"router": "relay"
},
"destination": {
"inputCurrency": {
"currency": {
"chainId": 10,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "99980224916533275",
"amountFormatted": "0.099980224916533275",
"amountUsd": "210.438616",
"minimumAmount": "97980620418202610"
},
"outputCurrency": {
"currency": {
"chainId": 10,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "99980224916533275",
"amountFormatted": "0.099980224916533275",
"amountUsd": "210.438616",
"minimumAmount": "97980620418202610"
},
"router": "relay"
}
}
},
"protocol": {
"v2": {
"orderId": "0x8391f3eb54c0999767a970a1603aaf16403a17263cdf723adec76e3fda5be275",
"orderData": {
"version": "v1",
"solverChainId": "base",
"solver": "0xf70da97812cb96acdf810712aa562db8dfa3dbef",
"salt": "0x184ed77f343bff09b7255a75f0be900ac82c00c276c0a97eed2948ab3a1e8503",
"inputs": [
{
"payment": {
"chainId": "base",
"currency": "0x0000000000000000000000000000000000000000",
"amount": "100000000000000000",
"weight": "1"
},
"refunds": [
{
"chainId": "base",
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"currency": "0x0000000000000000000000000000000000000000",
"minimumAmount": "0",
"deadline": 1791082506,
"extraData": "0x000000000000000000000000b92fe925dc43a0ecde6c8b1a2709c170ec4fff4f"
},
{
"chainId": "optimism",
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"currency": "0x0000000000000000000000000000000000000000",
"minimumAmount": "0",
"deadline": 1791082506,
"extraData": "0x000000000000000000000000b92fe925dc43a0ecde6c8b1a2709c170ec4fff4f"
}
]
}
],
"output": {
"chainId": "optimism",
"payments": [
{
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"currency": "0x0000000000000000000000000000000000000000",
"minimumAmount": "97980620418202610",
"expectedAmount": "99980224916533275"
}
],
"calls": [],
"deadline": 1791082506,
"extraData": "0x000000000000000000000000b92fe925dc43a0ecde6c8b1a2709c170ec4fff4f"
},
"fees": []
},
"paymentDetails": {
"chainId": "base",
"depository": "0x4cd00e387622c35bddb9b4c962c136462338bc31",
"currency": "0x0000000000000000000000000000000000000000",
"amount": "100000000000000000"
}
}
}
}Strict Deposit Address
Same route, but using a strict deposit address. Note the addition of strict: true:
curl -X POST \
'https://api.relay.link/quote/v2' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"user": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"originChainId": 8453,
"originCurrency": "0x0000000000000000000000000000000000000000",
"destinationChainId": 10,
"destinationCurrency": "0x0000000000000000000000000000000000000000",
"tradeType": "EXACT_INPUT",
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"amount": "100000000000000000",
"useDepositAddress": true,
"strict": true,
"refundTo": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd"
}'{
"steps": [
{
"id": "deposit",
"action": "Confirm transaction in your wallet",
"description": "Depositing funds to the depository contract",
"kind": "transaction",
"items": [
{
"status": "incomplete",
"data": {
"from": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"to": "0xEa04F61d00AFD8649B39b873306949aa11630067",
"data": "0x",
"value": "100000000000000000",
"chainId": 8453,
"gas": "27300",
"maxFeePerGas": "6500000",
"maxPriorityFeePerGas": "1000000"
},
"check": {
"endpoint": "/intents/status/v3?requestId=0xcb422162ba0a775cadcdc7983fc2108e761840446fe3f241fd8f72286fd3b4f8",
"method": "GET"
}
}
],
"requestId": "0xcb422162ba0a775cadcdc7983fc2108e761840446fe3f241fd8f72286fd3b4f8",
"depositAddress": "0xEa04F61d00AFD8649B39b873306949aa11630067"
}
],
"fees": {
"gas": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "143437744316",
"amountFormatted": "0.000000143437744316",
"amountUsd": "0.000302",
"minimumAmount": "143437744316"
},
"relayer": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "19782653616567",
"amountFormatted": "0.000019782653616567",
"amountUsd": "0.041606",
"minimumAmount": "19782653616567"
},
"relayerGas": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "773072690010",
"amountFormatted": "0.00000077307269001",
"amountUsd": "0.001626",
"minimumAmount": "773072690010"
},
"relayerService": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "19009580926557",
"amountFormatted": "0.000019009580926557",
"amountUsd": "0.039980",
"minimumAmount": "19009580926557"
},
"app": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "0",
"amountFormatted": "0.0",
"amountUsd": "0",
"minimumAmount": "0"
},
"subsidized": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "0",
"amountFormatted": "0.0",
"amountUsd": "0",
"minimumAmount": "0"
}
},
"details": {
"operation": "swap",
"sender": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"currencyIn": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "100000000000000000",
"amountFormatted": "0.1",
"amountUsd": "210.314210",
"minimumAmount": "100000000000000000"
},
"currencyOut": {
"currency": {
"chainId": 10,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "99980217346383433",
"amountFormatted": "0.099980217346383433",
"amountUsd": "210.272604",
"minimumAmount": "97980612999455765"
},
"refundCurrency": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "100000000000000000",
"amountFormatted": "0.1",
"amountUsd": "210.314210",
"minimumAmount": "100000000000000000"
},
"totalImpact": {
"usd": "-0.041606",
"percent": "-0.02"
},
"swapImpact": {
"usd": "0.000000",
"percent": "0.00"
},
"expandedPriceImpact": {
"swap": {
"usd": "-0.019980"
},
"execution": {
"usd": "-0.021626"
},
"relay": {
"usd": "0"
},
"app": {
"usd": "0"
},
"sponsored": {
"usd": "0"
}
},
"rate": "0.9998021734638343",
"slippageTolerance": {
"origin": {
"usd": "0.000000",
"value": "0",
"percent": "0.00"
},
"destination": {
"usd": "4.184425",
"value": "1999604346927668",
"percent": "1.99"
}
},
"timeEstimate": 2,
"userBalance": "0",
"isFixedRate": false,
"route": {
"origin": {
"inputCurrency": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "100000000000000000",
"amountFormatted": "0.1",
"amountUsd": "210.314210",
"minimumAmount": "100000000000000000"
},
"outputCurrency": {
"currency": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "100000000000000000",
"amountFormatted": "0.1",
"amountUsd": "210.314210",
"minimumAmount": "100000000000000000"
},
"router": "relay"
},
"destination": {
"inputCurrency": {
"currency": {
"chainId": 10,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "99980217346383433",
"amountFormatted": "0.099980217346383433",
"amountUsd": "210.272604",
"minimumAmount": "97980612999455765"
},
"outputCurrency": {
"currency": {
"chainId": 10,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png",
"verified": true
}
},
"amount": "99980217346383433",
"amountFormatted": "0.099980217346383433",
"amountUsd": "210.272604",
"minimumAmount": "97980612999455765"
},
"router": "relay"
}
}
},
"protocol": {
"v2": {
"orderId": "0x67ffde85c03352d45f9b073ef15fc73c656115d1c472de76aff9c66580eb5dc7",
"orderData": {
"version": "v1",
"solverChainId": "base",
"solver": "0xf70da97812cb96acdf810712aa562db8dfa3dbef",
"salt": "0xe95244440faaedb49eddcb1dda9a5b82531b38e03c5799242638685b2fdb924e",
"inputs": [
{
"payment": {
"chainId": "base",
"currency": "0x0000000000000000000000000000000000000000",
"amount": "100000000000000000",
"weight": "1"
},
"refunds": [
{
"chainId": "base",
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"currency": "0x0000000000000000000000000000000000000000",
"minimumAmount": "0",
"deadline": 1791082605,
"extraData": "0x000000000000000000000000b92fe925dc43a0ecde6c8b1a2709c170ec4fff4f"
},
{
"chainId": "optimism",
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"currency": "0x0000000000000000000000000000000000000000",
"minimumAmount": "0",
"deadline": 1791082605,
"extraData": "0x000000000000000000000000b92fe925dc43a0ecde6c8b1a2709c170ec4fff4f"
}
]
}
],
"output": {
"chainId": "optimism",
"payments": [
{
"recipient": "0xF0AE622e463fa757Cf72243569E18Be7Df1996cd",
"currency": "0x0000000000000000000000000000000000000000",
"minimumAmount": "97980612999455765",
"expectedAmount": "99980217346383433"
}
],
"calls": [],
"deadline": 1791082605,
"extraData": "0x000000000000000000000000b92fe925dc43a0ecde6c8b1a2709c170ec4fff4f"
},
"fees": []
},
"paymentDetails": {
"chainId": "base",
"depository": "0x4cd00e387622c35bddb9b4c962c136462338bc31",
"currency": "0x0000000000000000000000000000000000000000",
"amount": "100000000000000000"
}
}
}
}The strict request differs in two ways:
strictis set totrue.- The address accepts one deposit. Relay refunds later deposits to
refundTo.
Refund Behavior
Relay refunds a deposit to refundTo when it can't fill it. Refunds are paid on the origin chain in the deposited token, minus the gas cost of the refund.
Refund Flows
Relay refunds automatically in these cases:
- The fill fails, for example because of slippage.
- The deposit is too small to cover fees.
- An `EXACT_OUTPUT` deposit doesn't match the quote. An underpayment or a different supported token is refunded in full, and an overpayment's surplus is refunded.
- A strict address receives another deposit. Every deposit after the first is refunded.
Relay can't refund a deposit that is too small to cover the refund's gas. It also doesn't return unsupported tokens, or deposits to an EXACT_OUTPUT address on the wrong chain. Contact Support with the deposit transaction for these.
If Relay can't send a refund, for example because the refund address is blocked, the funds stay in the Relay Depository. The depositor recorded for the order can withdraw them. That depositor is the refundTo or recoveryAddress you set on the quote.
refundTo Configuration
refundTo is required on every deposit-address quote. A request without it fails with 400.
refundTo value | Behavior | |
|---|---|---|
| User's address | Refund directly to the user. | |
| App-controlled address | Refund to your address. Your support team returns funds to the user. | |
Origin chain's native-currency address (EVM 0x0000000000000000000000000000000000000000, Bitcoin bc1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmql8k8, Solana 11111111111111111111111111111111) | Refund to the original sender, the address that sent funds to the deposit address. Supported on EVM, Bitcoin, Solana, and TON origins, and rejected on other chains, including Tron. If the sender is a known exchange address or is blocked, Relay doesn't refund it. Your `recoveryAddress` can withdraw the funds instead. Without one, contact Support. |
[!NOTE] If users may send from a centralized exchange, do not set `refundTo` to the user's address, explicitly or through the native-currency option. The sender is the exchange's hot wallet, not the user. Use an app-controlled address so your support team can handle the last mile, or pair the native-currency option with a `recoveryAddress`.
[!NOTE] When a refund goes to the original sender, the request's outTxs contains two refund transactions. The first returns funds to the sender, so track that one. The second is an internal protocol-settlement transaction that doesn't move user funds.[!WARNING] SetrefundToandrecoveryAddressto wallets that can sign a Relay withdrawal on the origin chain. Either address can become the protocol depositor, and withdrawing is then the only way to recover the funds, so an address that can only receive funds, such as an exchange deposit address, is not enough. See Supported Chains and Signers for which wallets can withdraw.
recoveryAddress
recoveryAddress is a fallback for funds Relay can't refund automatically. It's most useful when refundTo is the native-currency address, because the sender may turn out to be an exchange or a blocked wallet.
Relay doesn't send refunds to recoveryAddress. Instead, it can withdraw the funds from the Relay Depository and send them on.
Constraints:
- Requires
useDepositAddress: true. The request is rejected otherwise. - Must be a valid address on the origin chain, and can't be the origin chain's native-currency address.
- Doesn't replace
refundTo, which is still required.
Recommended Setup
- Users deposit from a wallet they control — Set
refundToto the native-currency address to refund the sender, and add arecoveryAddressas a fallback. - Users may deposit from an exchange — Set
refundToto an app-controlled wallet, and handle returns to the user yourself. - Either way — Use wallets that can sign a withdrawal on the origin chain.
Tracking Transactions
The requestId in the quote response is not always the request that fills. Depending on what arrives at the address, the sweep and fill can move to a new requestId (see Which Request Owns the Fill). Treat the deposit address as the stable identifier for the order.
Querying by Deposit Address
Poll the Get Requests API with the depositAddress query parameter. This is the canonical way to monitor a deposit-address order, because every request that fills from the address — original or regenerated — carries the same depositAddress:
curl -X GET "https://api.relay.link/requests/v3?depositAddress=0xe42445f3a8f05e3311beba77c260b51527b1c141&sortBy=updatedAt&sortDirection=desc&limit=20" \ -H "x-api-key: YOUR_API_KEY"
{
"requests": [
{
"id": "0x1790166098388727d09f98e1cf17b1e1fc41cf4bd3286866c22ef5a41c5701b9",
"status": "success",
"user": "0xe42445f3a8f05e3311beba77c260b51527b1c141",
"recipient": "0xc1D5041826d883895E1787543336f7d7BC8CCe93",
"sender": "0xe42445f3a8f05e3311beba77c260b51527b1c141",
"refundTo": "0xc1d5041826d883895e1787543336f7d7bc8cce93",
"supersededByRequestId": null,
"duplicateDeposits": null,
"depositAddress": {
"address": "0xe42445f3a8f05e3311beba77c260b51527b1c141",
"type": "open",
"depositor": "0xb92fe925dc43a0ecde6c8b1a2709c170ec4fff4f",
"depositTxHash": "0xf93e6174d36c103f31cdbb1e4006df949b9c0d86fa9ec74aaa6958898d91993f",
"recoveryAddress": null
},
"data": {
"slippageTolerance": "300",
"failReason": null,
"refundFailReason": null,
"usesExternalLiquidity": false,
"timeEstimate": 1,
"triggeredByFastFill": null,
"inTxs": [
{
"txHash": "0x8c283eea70d3d96e9d4443067184574c856cc9c9bab80b30b92383a6ac45270f",
"fee": "15347069541639",
"feeUsd": "0.041819",
"block": 51688383,
"type": "onchain",
"chainId": 8453,
"timestamp": 1790166113,
"status": "success",
"data": {
"data": "0xe8017952000000000000000000000000c1d5041826d883895e1787543336f7d7bc8cce93000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda029130000000000000000000000000000000000000000000000000000000006f5a005c82b69b55cd27f11c9ac2bdf046f03fabfdd0dfd388504dcaa35dd615f20354d",
"from": "0xe42445f3a8f05e3311beba77c260b51527b1c141",
"to": "0x4cd00e387622c35bddb9b4c962c136462338bc31",
"value": "0"
},
"stateChanges": [
{
"address": "0xe42445f3a8f05e3311beba77c260b51527b1c141",
"change": {
"data": {
"tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"tokenKind": "ft"
},
"kind": "token",
"balanceDiff": "-116760581"
}
},
{
"address": "0x4cd00e387622c35bddb9b4c962c136462338bc31",
"change": {
"data": {
"tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"tokenKind": "ft"
},
"kind": "token",
"balanceDiff": "116760581"
}
}
]
}
],
"outTxs": [
{
"txHash": "0x6ed9468c7581e2db705304450829d60203420072108501ad12a1f1df3485bcc6",
"fee": "0",
"block": 1158162902,
"type": "onchain",
"chainId": 1337,
"timestamp": 1790166114,
"status": "success",
"data": {
"action": {
"hyperliquidChain": "Mainnet",
"amount": "116.293228",
"destinationDex": "",
"fromSubAccount": "",
"signatureChainId": "0x1",
"destination": "0xc1d5041826d883895e1787543336f7d7bc8cce93",
"type": "sendAsset",
"nonce": 1790166113562,
"token": "USDC:0x6d1e7cde53ba9467b783cb7c530ce054",
"sourceDex": ""
},
"block": 1158162902,
"time": 1790166114217,
"error": null,
"user": "0xf70da97812cb96acdf810712aa562db8dfa3dbef",
"hash": "0x6ed9468c7581e2db705304450829d60203420072108501ad12a1f1df3485bcc6"
},
"stateChanges": [
{
"address": "0xf70da97812cb96acdf810712aa562db8dfa3dbef",
"change": {
"data": {
"tokenAddress": "0x00000000000000000000000000000000",
"tokenKind": "ft"
},
"kind": "token",
"balanceDiff": "-11629322800"
}
},
{
"address": "0xc1d5041826d883895e1787543336f7d7bc8cce93",
"change": {
"data": {
"tokenAddress": "0x00000000000000000000000000000000",
"tokenKind": "ft"
},
"kind": "token",
"balanceDiff": "11629322800"
}
}
]
}
],
"appFees": {
"quoted": [
{
"recipient": "0xa6309Ad2C4524b991Bb795227edf6482EBE927e6",
"bps": "20",
"amount": "233521",
"amountFormatted": "0.233521"
}
],
"actual": [
{
"recipient": "0xa6309Ad2C4524b991Bb795227edf6482EBE927e6",
"bps": "20",
"amount": "233521",
"amountFormatted": "0.233521",
"amountUsd": "0.233491"
}
],
"currency": {
"chainId": 8453,
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://coin-images.coingecko.com/coins/images/6319/large/usdc.png?1696506694",
"verified": true
}
}
},
"feeSponsorship": null,
"fees": {
"quoted": {
"swap": {
"usd": "-0.011674",
"amount": "11676",
"amountFormatted": "0.011676"
},
"execution": {
"usd": "-0.222127",
"amount": "222156",
"amountFormatted": "0.222156"
},
"platform": {
"usd": "0.000000",
"amount": "0",
"amountFormatted": "0.0"
},
"app": {
"usd": "-0.233491",
"amount": "233521",
"amountFormatted": "0.233521"
},
"sponsored": {
"usd": "0",
"amount": "0",
"amountFormatted": "0.0"
}
},
"actual": {
"swap": {
"usd": "-0.011627",
"amount": "11629",
"amountFormatted": "0.011629"
},
"execution": {
"usd": "-0.222127",
"amount": "222156",
"amountFormatted": "0.222156"
},
"platform": {
"usd": "0.000000",
"amount": "0",
"amountFormatted": "0.0"
},
"app": {
"usd": "-0.233491",
"amount": "233521",
"amountFormatted": "0.233521"
},
"sponsored": {
"usd": "0",
"amount": "0",
"amountFormatted": "0.0"
}
},
"currency": {
"chainId": 8453,
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://coin-images.coingecko.com/coins/images/6319/large/usdc.png?1696506694",
"verified": true
}
}
},
"route": {
"quoted": {
"origin": {
"inputCurrency": {
"currency": {
"chainId": 8453,
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://coin-images.coingecko.com/coins/images/6319/large/usdc.png?1696506694",
"verified": true
}
},
"amount": "116760581",
"amountFormatted": "116.760581",
"amountUsd": "116.745519",
"minimumAmount": "116760581"
},
"outputCurrency": {
"currency": {
"chainId": 8453,
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://coin-images.coingecko.com/coins/images/6319/large/usdc.png?1696506694",
"verified": true
}
},
"amount": "116760581",
"amountFormatted": "116.760581",
"amountUsd": "116.745519",
"minimumAmount": "116760581"
},
"router": "relay"
},
"destination": {
"inputCurrency": {
"currency": {
"chainId": 1337,
"address": "0x00000000000000000000000000000000",
"symbol": "USDC",
"name": "USDC (Perps)",
"decimals": 8,
"metadata": {
"logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
"verified": true
}
},
"amount": "11629322800",
"amountFormatted": "116.293228",
"amountUsd": "116.278226",
"minimumAmount": "11280443100"
},
"outputCurrency": {
"currency": {
"chainId": 1337,
"address": "0x00000000000000000000000000000000",
"symbol": "USDC",
"name": "USDC (Perps)",
"decimals": 8,
"metadata": {
"logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
"verified": true
}
},
"amount": "11629322800",
"amountFormatted": "116.293228",
"amountUsd": "116.278226",
"minimumAmount": "11280443100"
},
"router": "relay"
}
},
"actual": {
"origin": {
"inputCurrency": {
"currency": {
"chainId": 8453,
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://coin-images.coingecko.com/coins/images/6319/large/usdc.png?1696506694",
"verified": true
}
},
"amount": "116760581",
"amountFormatted": "116.760581",
"amountUsd": "116.745519",
"minimumAmount": "116760581"
},
"outputCurrency": {
"currency": {
"chainId": 8453,
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://coin-images.coingecko.com/coins/images/6319/large/usdc.png?1696506694",
"verified": true
}
},
"amount": "116760581",
"amountFormatted": "116.760581",
"amountUsd": "116.745519",
"minimumAmount": "116760581"
},
"router": "relay"
},
"destination": {
"inputCurrency": {
"currency": {
"chainId": 1337,
"address": "0x00000000000000000000000000000000",
"symbol": "USDC",
"name": "USDC (Perps)",
"decimals": 8,
"metadata": {
"logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
"verified": true
}
},
"amount": "11629322800",
"amountFormatted": "116.293228",
"amountUsd": "116.278226",
"minimumAmount": "11629322800"
},
"outputCurrency": {
"currency": {
"chainId": 1337,
"address": "0x00000000000000000000000000000000",
"symbol": "USDC",
"name": "USDC (Perps)",
"decimals": 8,
"metadata": {
"logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
"verified": true
}
},
"amount": "11629322800",
"amountFormatted": "116.293228",
"amountUsd": "116.278226",
"minimumAmount": "11280443100"
},
"router": "relay"
},
"rate": "0.9959973392047441"
}
},
"quoteOraclePrice": null,
"refundCurrencyData": null,
"externalMetadata": {
"moonpayId": null
}
},
"protocol": {
"orderId": "0xc82b69b55cd27f11c9ac2bdf046f03fabfdd0dfd388504dcaa35dd615f20354d",
"hubType": "onchain",
"isWithdrawable": false,
"solver": {
"address": "0xf70da97812cb96acdf810712aa562db8dfa3dbef",
"protocolChainId": "base",
"chainId": 8453
},
"deposit": {
"origin": {
"amount": "116760581",
"chainId": 8453,
"currency": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"depositor": "0xc1d5041826d883895e1787543336f7d7bc8cce93",
"depository": "0x4cd00e387622c35bddb9b4c962c136462338bc31",
"onchainId": "0xc69162545403ebb1dab64c8e189773298029d16fc9685763a9d4c4ad2cad955d",
"transactionId": "0x8c283eea70d3d96e9d4443067184574c856cc9c9bab80b30b92383a6ac45270f"
},
"attestation": {
"execution": {
"actions": [
"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000910d4e2d5fc21d3a87e6b4ec4bebd74125dbed81bf442206ca81b4b0b8b1b3f0a290c277e9b2d7269209615d306c15a8cd8d39380000000000000000000000000000000000000000000000000000000006f5a005"
],
"idempotencyKey": "0x4dad103afee0424f7aff6e9a52c98b20221619eff58349a974b47557a2dfd0bf"
},
"attestations": [
{
"oracleChainId": "537713",
"oracleContract": "0xd180dc3b8cb71b185c563b6e4857592ca93dacaf",
"signerAddress": "0x2c598f73a5ab65c0510fd8efb740826d291cab0e",
"signature": "0x0fa4d7de9912ee2abb0146359e5262924a0d1af291fcc8da2f0dea799d980fb7162aa9c31d89b01918b651c9bbda71ae81c3b703e206059f9eabcccc230686a71b"
},
{
"oracleChainId": "537713",
"oracleContract": "0xd180dc3b8cb71b185c563b6e4857592ca93dacaf",
"signerAddress": "0x5be2dd28f7810582ed6dc910fd8693878a1d90f2",
"signature": "0x968cd778f15fd99d8a59854c4a67d01331f65600a92f44d9b4838bc3861ac4d3228712b9f55652c1e7c34d16afc1fb489ec81b88b4e35676357d1e44c4ac9be01b"
}
]
}
},
"settlement": {
"destination": {
"fills": [
{
"chainId": 1337,
"transactionId": "0x6ed9468c7581e2db705304450829d60203420072108501ad12a1f1df3485bcc6"
}
],
"refunds": []
},
"attestation": {
"execution": {
"actions": [
"0x0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000910d4e2d5fc21d3a87e6b4ec4bebd74125dbed81000000000000000000000000d5fa4f5834722d85d95f45387ed60ce09ba4e36fbf442206ca81b4b0b8b1b3f0a290c277e9b2d7269209615d306c15a8cd8d39380000000000000000000000000000000000000000000000000000000006f5a005"
],
"idempotencyKey": "0xae0828dedaefef317505a18d03aeedaeaf1abc07217b4d5d0fcd6a3f00b0a23a"
},
"attestations": [
{
"oracleChainId": "537713",
"oracleContract": "0xd180dc3b8cb71b185c563b6e4857592ca93dacaf",
"signerAddress": "0x5be2dd28f7810582ed6dc910fd8693878a1d90f2",
"signature": "0x0655f100928e26698f6e2a3109415fc7c4687c42acb6ddd4587b6d6611bf91b52b171c1bd40f8989e209c58b519f0b6e9bc69680122241b86e0084dc56b81da51c"
},
{
"oracleChainId": "537713",
"oracleContract": "0xd180dc3b8cb71b185c563b6e4857592ca93dacaf",
"signerAddress": "0xa41716ff5a7d4ad22f83b7cb74d9af9767a96a52",
"signature": "0x125ce59dffd08fb8ef9a386ac339b56d9892e6f44c22bf6588bde55cf33ec1b348191daa9d1c8e948ff9563ca8713217109659457862b2321992a28e38f7eab51c"
}
]
}
}
},
"requestType": "Crosschain Swap",
"features": [
"app_fees",
"deposit_address"
],
"createdAt": "2026-09-23T12:21:52.744Z",
"updatedAt": "2026-09-23T12:21:55.515Z"
}
]
}See Get Requests for the full response schema. GET /requests/v2 also accepts depositAddress, but it is deprecated and will be retired on November 24, 2026.
Which Request Owns the Fill
The quote-time requestId tracks the first deposit to the address, including when Relay requotes it or refunds it in full. Every later deposit to an open address gets its own requestId.
Poll by depositAddress rather than by the quote-time requestId, so you see every request in one query. An open address can return several requests, one per deposit. When depositAddress.depositTxHash is populated, use it to match each request to the transfer that funded it.
Handling Quote Regeneration
When a deposit moves to a new requestId, the quote-time requestId may not reach success. GET /intents/status/v3 can keep returning waiting for it, even after the new request succeeds.
[!WARNING] A quote-timerequestIdthat stayswaitingdoesn't mean the deposit is stuck. Check the deposit address withGET /requests/v3before treating it as missing.
Request-Level Status
Once the depositAddress query returns the request that owns the fill, you can poll its requestId with Get Status. To avoid polling, configure a webhook instead. Webhook events are sent under the request that owns the fill, so a regenerated request's events carry the new requestId — match them to your order with depositAddress.address in the payload.
curl -X GET "https://api.relay.link/intents/status/v3?requestId=<REQUEST_ID>"
{
"status": "pending",
"inTxHashes": [
"0xabc123..."
],
"txHashes": [],
"updatedAt": 1769988962883,
"originChainId": 8453,
"destinationChainId": 10
}Reindexing Stuck Deposits
Relay detects deposits automatically, including supported tokens other than the one quoted. For EVM addresses, Relay also detects deposits on other supported EVM chains. If a deposit hasn't been picked up after a few minutes, call the Deposit Address Reindex endpoint.
Pass the deposit's txHash whenever you have it, so Relay can find the deposit directly.
curl -X POST 'https://api.relay.link/transactions/deposit-address/reindex' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"chainId": 8453,
"depositAddress": "0x1ba74e01d46372008260ec971f77eb6032b938a4",
"txHash": "0xf93e6174d36c103f31cdbb1e4006df949b9c0d86fa9ec74aaa6958898d91993f"
}'chainId is the chain the deposit address was created for. Reindexing is idempotent, and repeated calls for the same address are rate limited. A successful response only queues detection, so keep tracking the address until the request completes.
[!NOTE] The deposit transaction hash can't be used to look up an order's status. Track status by the deposit address, and use arequestIdonly once thedepositAddressquery has returned it.
Caveats
Gas Overhead
Relay pays the gas to move each deposit into the Relay Depository and includes it in the quote's fees. On small deposits, that gas is a larger share of the amount, so direct calldata execution can be cheaper.
Minimum Deposit
Deposit addresses have no fixed minimum. A deposit too small to cover fees isn't filled. Relay refunds it to refundTo when the amount covers the refund's gas, and otherwise leaves it unprocessed.
Quotes below a route's minimum return `AMOUNT_TOO_LOW`. Open addresses accept any amount, so enforce your own minimum in your app.
Supported Currencies
Deposit addresses process only solver currencies that are enabled for deposit addresses on the chain. The destination token can differ and is completed through a destination-side swap. To list eligible input tokens, call Get Currencies with `depositAddressOnly: true`.
Relay treats certain tokens as equivalent within currency groups, such as ETH and WETH. Depositing any token in a group triggers the same fill behavior.
The table below is loaded live from the chains API. Each chain's solverCurrencies array lists the tokens solvers support.
[!WARNING] Relay doesn't process unsupported tokens or NFTs sent to a deposit address, and doesn't return them automatically. Check that the token is supported before depositing. To recover an unsupported token, contact Support with the deposit transaction.
Chain-Specific Notes
- Bitcoin — Relay detects deposits in the mempool and processes them after they confirm onchain.
- Solana — Supports native SOL and SPL tokens, such as USDC, that are solver currencies on Solana.
- Tron — Supports TRX and USDT.
refundTomust be an explicit address, because Tron doesn't support refunds to the original sender. - Hyperliquid — Uses bridged USDC (USDC.e) with different decimal precision than native USDC on other chains. Account for the decimal difference when computing amounts.
Other Limitations
- Calldata execution on the destination chain (
txs) is not supported. EXPECTED_OUTPUTis not supported. UseEXACT_INPUTorEXACT_OUTPUT.
This documentation is built and hosted on Mintlify, a developer documentation platform.