Exchange: edit listing
geode_exchange_edit_listingEdit one of your exchange listings (price, method, inventory, location) or hide it. 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>",
"listing_id": "<listing_id>",
"price": "<price>",
"method": "<method>",
"inventory": "<inventory>",
"country": "<country>",
"city": "<city>",
"hide": "<hide>"
},
"name": "geode_exchange_edit_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| hide | Yes | ||
| 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>"} | |
| listing_id | Yes | 0x-prefixed 32-byte hex id |