Prepare unsigned transactions for cross-chain swaps
Documentation Index
Fetch the complete documentation index at: https://docs.leokit.dev/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Type | Description |
|---|---|---|
deposit_address | string | The generated deposit address (Chainflip channel or NEAR) |
payment_uri | string | Chain-specific payment URI (BIP-21, EIP-681, Solana Pay, etc.) |
qr_url | string | CDN URL of a QR code PNG encoding the payment_uri |
chainflip and near protocols. Other protocols (thorchain, mayachain, relay, etc.) return only unsigned_transactions.payment_uri follows the wallet standard for the source chain:
| Source Chain | Standard | Example |
|---|---|---|
| BTC, LTC, DOGE, DASH | BIP-21 | bitcoin:bc1q...?amount=0.5 |
| ETH, ARB, BASE (native) | EIP-681 | ethereum:0x...@1?value=500000000000000000 |
| ETH, ARB, BASE (ERC20) | EIP-681 | ethereum:0xTOKEN@1/transfer?address=0x...&uint256= |
| SOL (native) | Solana Pay | solana:So1...?amount=2 |
| ZEC (transparent / shielded) | ZIP-321 | zcash:t1...?amount=0.5 / zcash:zs1...?amount=0.5 |
| Other | Fallback | Plain deposit address |
| Field | Type | Required | Description |
|---|---|---|---|
boost_fee | number | No | Maximum boost fee (basis points). Common values: 5, 10, 30. 0 (default) = no boost |
boost_fee > 0, the deposit response includes a boost-channel ID. The user’s deposit is fronted by liquidity providers as soon as it’s seen in the mempool, instead of waiting for full chain confirmation.
boost_fee parameter is silently ignored for non-Chainflip protocols.Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4
Deposit created. For Chainflip and NEAR protocols, the response includes deposit_address, payment_uri, and qr_url.
Deposit generation response containing unsigned transactions to sign per network type.
Network family used for signing/broadcasting.
EVM, COSMOS, UTXO Protocol selected for execution (e.g., mayachain).
Quote identifier used to generate this deposit.
Normalized deposit context used to construct unsigned transactions.
Prepared raw transaction(s) you must sign and broadcast. The item shape depends on type.
Prepared EVM transaction object to sign and broadcast.
Generated deposit address. Only present for Chainflip and NEAR protocols.
Chain-specific payment URI (BIP-21, EIP-681, or Solana Pay). Only present for Chainflip and NEAR protocols.
CDN URL of a QR code PNG encoding the payment_uri. Only present for Chainflip and NEAR protocols.