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.
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 |