create_tx
Create a cross-chain swap transaction via the deBridge DLN protocol
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dstChainId | Yes | Destination chain ID | |
| srcChainId | Yes | Source chain ID | |
| srcChainTokenIn | Yes | Token address on source chain | |
| dstChainTokenOut | Yes | Token address on destination chain | |
| affiliateFeePercent | No | Affiliate fee percentage | |
| affiliateFeeRecipient | No | Wallet address to receive affiliate fees | |
| srcChainTokenInAmount | Yes | Amount in smallest units (wei, lamports) | |
| dstChainTokenOutAmount | No | Output amount or 'auto' for best quote | |
| prependOperatingExpenses | No | Whether to prepend estimated operating expenses to the input amount | |
| dstChainTokenOutRecipient | Yes | Wallet address on destination chain to receive tokens | |
| dstChainOrderAuthorityAddress | Yes | Address on destination chain authorized to manage the order | |
| srcChainOrderAuthorityAddress | Yes | Address on source chain authorized to manage the order |