build_offer_txs
Returns the ordered transactions (approve, postOffer) to post an offer. Amounts in whole token units.
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": {
"wallet": "<wallet>",
"giveToken": "<giveToken>",
"giveAmount": "<giveAmount>",
"wantToken": "<wantToken>",
"wantAmount": "<wantAmount>"
},
"name": "build_offer_txs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | EVM address | |
| giveToken | Yes | EVM address | |
| wantToken | Yes | EVM address | |
| giveAmount | Yes | ||
| wantAmount | Yes | ||
| durationSeconds | No |