prepare_offer
Prepare a BID/offer on a position: returns the Seaport order to sign (EIP-712), the currency approval needed, and how to submit it. The agent reads its Seaport counter, signs, and POSTs the signed order — settlement stays on Seaport. The buyer wallet must hold the offer's outlay (price + its fee share) when it submits; an unfunded offer is rejected (insufficient_balance), and one that later loses its funds or allowance is hidden from the book until they return.
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": {
"marketId": "<marketId>",
"currencySymbol": "<currencySymbol>",
"offerAmount": "<offerAmount>",
"buyer": "<buyer>"
},
"name": "prepare_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | name markets only, e.g. 'alice' or 'alice.base.eth' — tokenId is derived | |
| buyer | Yes | 0x address that will sign and fund the offer | |
| tokenId | No | required for token markets (e.g. vehydx) | |
| marketId | Yes | ||
| offerAmount | Yes | human amount the seller nets, e.g. '750' — must be positive | |
| durationDays | No | ||
| currencySymbol | Yes | one of the market's settlementCurrencies (see list_micro_markets). A symbol resolves per market, so the same symbol can name different contracts: 'AERO' is the NEW Aero token (0x3f5b…a4Ee) on saero and the legacy Aerodrome token (0x9401…8631) on veaero. Check the address in list_micro_markets. |