Create Transaction
create_transactionCreate a new cryptocurrency exchange/swap transaction on Flashift.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixed | Yes | Whether the rate is fixed (true) or floating (false). | |
| amount | Yes | Amount of source currency to exchange (greater than 0). | |
| user_id | No | Optional affiliate or user ID for tracking the transaction. | |
| symbol_to | Yes | Target currency symbol (e.g. usdt, btc). | |
| network_to | Yes | Target network (e.g. trc20, eth). | |
| to_address | Yes | Destination wallet address where swapped funds will be received. | |
| symbol_from | Yes | Source currency symbol (e.g. btc, eth). | |
| to_extra_id | No | Memo, destination tag, or extra ID if required by the target currency/network (e.g. XRP, TON, XLM). | |
| network_from | Yes | Source network (e.g. btc, eth). | |
| provider_name | Yes | Name of the exchange provider chosen from get_estimated_amount (e.g. changenow). |