Prepare a Fusion order to sign
trdefi_fusion_prepareQuote and build an EIP-712 Fusion order. Returns typedData (sign with eth_signTypedData_v4), the order object, extension, quoteId and orderHash. Nothing is signed or submitted. After signing, call trdefi_fusion_submit with the same order, the signature, extension and quote id. This is the gated-liquidity path: the user/agent does not need an Aqua NFT; a 1inch resolver fills the order (best-effort, not guaranteed).
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": {
"chain": "<chain>",
"fromToken": "<fromToken>",
"toToken": "<toToken>",
"amount": "<amount>",
"wallet": "<wallet>"
},
"name": "trdefi_fusion_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Network key, e.g. "ethereum", "base", "arc". | |
| amount | Yes | Input amount in token base units, as an integer string. | |
| preset | No | Auction preset. Defaults to the quote recommendation. | |
| wallet | Yes | The address that will sign the Fusion order. | |
| toToken | Yes | Output token address. | |
| fromToken | Yes | Input token address. |