Create Transaction
create_transactionCreate a new cryptocurrency exchange/swap transaction on Flashift.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"provider_name": "<provider_name>",
"symbol_from": "<symbol_from>",
"network_from": "<network_from>",
"symbol_to": "<symbol_to>",
"network_to": "<network_to>",
"to_address": "<to_address>",
"amount": "<amount>",
"fixed": "<fixed>"
},
"name": "create_transaction"
}
}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). |