Create a quote
Create Quote
Generate a one-time deposit address for a cross-chain payment.
POST
Create a quote
Documentation Index
Fetch the complete documentation index at: https://direkt.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Example request
Example response
Response fields
| Field | Description |
|---|---|
quoteId | Use this to poll /api/status/:id |
expiresIn | Seconds before the quote expires (300 = 5 mins) |
send.depositAddress | Address the user must send funds to |
send.amount | Exact amount to send |
receive.estimatedAmount | Estimated tokens the recipient gets |
receive.estimatedAmountUsd | USD value of received amount |
fees.totalUsd | Total fees in USD |
statusUrl | Shorthand URL to check payment status |
depositNote | Human-readable instruction to show the user |
Example request
Example response
Response fields
| Field | Description |
|---|---|
quoteId | Use this to poll /api/status/:id |
expiresIn | Seconds before the quote expires (300 = 5 mins) |
send.depositAddress | Address the user must send funds to |
send.amount | Exact amount to send |
receive.estimatedAmount | Estimated tokens the recipient gets |
receive.estimatedAmountUsd | USD value of received amount |
fees.totalUsd | Total fees in USD |
statusUrl | Shorthand URL to check payment status |
depositNote | Human-readable instruction to show the user |
Authorizations
Body
application/json
Source chain ID
Example:
8453
Destination chain ID
Example:
56
Token address on source chain. Use 0x000...000 for native token.
Example:
"0x0000000000000000000000000000000000000000"
Token address on destination chain. Use 0x000...000 for native token.
Example:
"0x0000000000000000000000000000000000000000"
Amount in human-readable units
Example:
"1"
Wallet address to receive funds on destination chain
Example:
"0xa110c77fa4b07ab601e63ecd65e99ddb8f1df6ec"