Exchange: new listing
geode_exchange_new_listingCreate a listing on the Geode private coin exchange: the coin you offer, the coin you want, price, payment method, inventory and location. Writes to the chain: this prepares an unsigned transaction (an intent) for signer; nothing happens until you sign it with geode-local-signer and submit it with geode_submit_intent.
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": {
"signer": "<signer>",
"offer_coin": "<offer_coin>",
"asking_coin": "<asking_coin>",
"price": "<price>",
"method": "<method>",
"inventory": "<inventory>",
"country": "<country>",
"city": "<city>"
},
"name": "geode_exchange_new_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| price | Yes | Amount in GEODE as a decimal string (e.g. "1.25"), or {"raw": "<planck>"} | |
| method | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| signer | Yes | Your account address (SS58). The transaction is prepared for this account; you sign it on your own machine with geode-local-signer. | |
| country | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| inventory | Yes | Amount in GEODE as a decimal string (e.g. "1.25"), or {"raw": "<planck>"} | |
| offer_coin | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| asking_coin | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters |