{"openapi":"3.1.0","info":{"title":"nodexch gateway","description":"A Coinset-compatible gateway in front of a Chia full node: the same routes and answers as api.coinset.org, so a Coinset client only changes its base URL.\n\n## Quick start\n\nEvery Coinset method is `POST /<method>` with a JSON body:\n\n```sh\ncurl -s https://<host>/get_blockchain_state -H 'Authorization: Bearer <key>' -d '{}'\ncurl -s https://<host>/get_coin_record_by_name -H 'Authorization: Bearer <key>'   -d '{\"name\":\"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72\"}'\n```\n\nHashes, coin ids and puzzle hashes are 32 bytes of hex, with or without `0x`. Each method's page has a working example request and, for most, the answer Coinset gave to it.\n\n## Where answers come from\n\n* **Full node** methods: the node's own RPC. Its JSON passes through byte for byte (integers above 2^53 stay exact), from a cache while the chain has not moved.\n* **Coinset API** methods: derived from the chain on demand (transactions, balances, CATs, NFTs), or kept by nodexch (offers). 501 `index not enabled` means this deployment does not serve that family.\n\n## API keys\n\nSend `Authorization: Bearer <key>`. A private deployment answers 401 without one on every route but `/up`, `/ready`, `/health`, `/docs` and `/openapi.json`.\n\n* A key reaches only the channels of its plan; another channel answers 403 and names a plan that allows it.\n* Secret keys (`nxs_…`) are for servers.\n* A key an account makes (`POST /x/account/v1/keys`) works until the plan's paid-until date, or sooner with `expires_in` (`1h`, `1d`, `7d` or `30d`): to try the API on this page, make one that expires in an hour.\n* Quest keys (`nxq_…`) are minted by an agent's secret key for one Nodi quest (`POST /x/account/v1/quest-keys` with `{lane, expires_at}`, at most 48 hours, four live per account; `DELETE /x/account/v1/quest-keys/{id}` revokes): they reach only `/x/inference/v1/models`, `/x/inference/v1/lanes/{lane}` and `/x/inference/v1/chat/completions` paying on their own lane, counted as the key that minted them; anything else is 403.\n* Publishable keys (`nxp_…`) work only from the web origins they were issued for; on `/ws` and `/events` a browser may pass one as `?key=`. The image routes (icons, NFT files) need no key: a page shows them with `<img>`.\n\n## Errors and limits\n\nEvery error is JSON: `{\"success\": false, \"error\": \"<what went wrong>\", \"code\": \"<code>\"}` (`ErrorBody`). A node or Coinset refusal keeps Coinset's own shape instead (`success: false` with `error`, HTTP 200). Keyed answers carry `x-ratelimit-limit`, `x-ratelimit-remaining`, `x-quota-limit`, `x-quota-remaining` and `x-quota-reset` (when the allowance renews, RFC 3339 in UTC; an account's keys share one allowance that renews on its billing day); past a limit the answer is 429 `rate_limited` or `quota_exceeded` with `retry-after` (and, for `quota_exceeded`, `x-quota-reset` and `resets_at` in the body), and an expired key is 401 `key_expired`.\n\n## Response headers\n\n* `x-credits-charged`: what this request cost in credits (keyed requests on metered routes). A request costs the weight of its route (the Coinset methods by family, a channel's routes in its manifest); a cached answer or a 304 a quarter (at least 1); a failure, a refusal or an error answer nothing. `x-quota-limit`, `x-quota-remaining` and `x-quota-reset` are in credits.\n* `x-nodexch-tier`: where the answer came from: a cache tier (`immutable`, `peak`, `state`, `mempool`), `none` (not cached), `index`, `passthrough` or `stream`.\n* `x-nodexch-index: upstream`: answered by the upstream's index, not nodexch's.\n* `x-nodexch-stale: 1`: an expired cached answer, served because the upstream could not be asked.\n* `ETag`: send it back as `If-None-Match` for a 304 while nothing changed.\n\n## Live events\n\n`/ws?events=peak,transaction,reorg,dashboard` (WebSocket, Coinset's frames) or the same as server-sent events on `/events`. Add `offer` for new offers from the Splash network (nodexch's own, only when asked for).\n\n## Beyond Coinset\n\n* `/x/node/v1/*`: the node's info, mempool, fee estimates and peers.\n* `/x/offers/v1/trades` and `/x/assets/v1/*` (with the indexer): taken offers paged in time, and assets with names and icons.\n* `/x/loans/v1/listings` (with the indexer): the loan board, open loan offers lenders publish by network (`mainnet`, `testnet11`). `GET` lists them; `POST` publishes and `POST …/{id}/withdraw` withdraws, each with a secret API key (a publishable key reads, never writes): a listing belongs to the key's holder (its account), and only that holder may replace or withdraw it.\n* `/x/account/v1/*`: accounts for people, signed in with a passkey instead of an API key: keys, usage, plans and invoices (pay in XCH on the payment provider's page). The site's account page is a client of these routes.\n* `GET /dexie/…` and `GET /mintgarden/…`: the Dexie and MintGarden paths explorers use (assets, offers, prices, icons, NFT records, thumbnails), answered from the originals and cached (`x-nodexch-tier: passthrough`).\n\n## Versions and deprecation\n\n* The Coinset methods and the `/dexie/…` and `/mintgarden/…` paths follow their originals: they change when the original does, and nodexch puts no version of its own on them.\n* nodexch's own paths carry a version per channel: `/x/<channel>/v1`. New fields, new endpoints and new optional parameters arrive within a version, so ignore fields you do not know. A breaking change is a new version beside the old one.\n* An old version keeps answering for at least six months after its successor ships, with `Deprecation` and `Sunset` headers on every answer and a note in the release notes.\n* This document is committed with the code and checked on every change, so a breaking change cannot ship unnoticed.\n\nAvailability: `/up`, `/ready`, `/health`; operators: `/status`, `/metrics`.","license":{"name":"AGPL-3.0-only"},"version":"0.11.0"},"paths":{"/api/prices":{"get":{"tags":["Prices"],"summary":"The XCH price in USD and every CAT's price in XCH and USD, from nodexch's own price channel:\nthe XCH median of several sources, the CATs from nodexch's own trades and open offers. Asked\nof the index at most once a minute.","operationId":"prices","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Prices"}}}},"503":{"description":"no XCH price: the price channel is off, down or has too few sources that agree"}}}},"/events":{"get":{"tags":["Events"],"summary":"The same frames as server-sent events: `event: <type>`, `data: <frame>`, a comment every 15 s.","operationId":"events","parameters":[{"name":"events","in":"query","description":"Comma-separated event types: `peak`, `transaction`, `reorg`, `dashboard`, `offer` (new\noffers from the Splash network, with the indexer; only when asked for). None, or none known,\nmeans Coinset's four. An `offer` frame carries `offer_id` (the canonical id, as the offer\nroutes have it), `id` (Dexie's) and `status`: `open` for a new offer, then once\n`confirmed` (taken), `cancelled` or `expired` when it leaves the book.","required":false,"schema":{"type":["string","null"]}},{"name":"network","in":"query","description":"`mainnet` or `testnet11` (TASK-184): another network than the deployment's gets that\nnetwork's `offer` events only. The deployment's when absent.","required":false,"schema":{"type":["string","null"]}},{"name":"base","in":"query","description":"With `quote` (TASK-324): 1 to 3 comma-separated assets, `xch` or a CAT asset id; the\n`offer` events are then only those of every base x quote pair, in either direction, and\none-for-one. Needs `offer` in `events`.","required":false,"schema":{"type":["string","null"]}},{"name":"quote","in":"query","description":"With `base`: 1 to 3 comma-separated assets, as `base`.","required":false,"schema":{"type":["string","null"]}},{"name":"key","in":"query","description":"A publishable API key, for browsers, which cannot send headers on a WebSocket or an\n`EventSource`. Secret keys go in `Authorization` only.","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"An event stream","content":{"text/event-stream":{}}},"400":{"description":"A bad network or base and quote filter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Too many open streams","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/get_additions_and_removals":{"post":{"tags":["Blocks"],"summary":"Coins created and spent in a block","description":"Coins created and spent in a block.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_additions_and_removals).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_additions_and_removals","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionsAndRemovals"},"example":{"header_hash":"0xacb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"additions":[{"coin":{"amount":1,"parent_coin_info":"0xff85dabdb4511ea1f3738f767f62328e09a53a5aa666f131d5d70ca03b568dd6","puzzle_hash":"0x9655623ac54528c00e272f48e4122f7fed231d744a46e946a566b5bcfca267f4"},"coinbase":false,"confirmed_block_index":2413252,"spent":true,"spent_block_index":3263002,"timestamp":1660751468},{"coin":{"amount":1,"parent_coin_info":"0x54c937438be886340e78a1ec87ad08da694b3d229c6eb29ac7588a217292b4a2","puzzle_hash":"0xeff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9"},"coinbase":false,"confirmed_block_index":2413252,"spent":true,"spent_block_index":2413252,"timestamp":1660751468}],"removals":[{"coin":{"amount":200000000000,"parent_coin_info":"0xca7c2822d933bf6d5ef300f2a6c8bf8d1217174e9e385d86f390882ccb369a11","puzzle_hash":"0xa96cfd1372d11c87a690e7c3c4ab18f80493d80e77bd4b0d349093acf29883f7"},"coinbase":false,"confirmed_block_index":2339263,"spent":true,"spent_block_index":2413252,"timestamp":1659366127},{"coin":{"amount":645000000000,"parent_coin_info":"0x0c8c75ff477f2b81b326899b11b5714aae3c3bde4fe4f96290cfea3af89f84ec","puzzle_hash":"0x7f9b012be36c5d47318c573c65092ee78219898fe48e3172dbda536d092457a2"},"coinbase":false,"confirmed_block_index":2343034,"spent":true,"spent_block_index":2413252,"timestamp":1659435040}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_aggsig_additional_data":{"post":{"tags":["Full Node"],"summary":"The network's AGG_SIG_ME additional data","description":"The network's AGG_SIG_ME additional data.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_aggsig_additional_data).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_aggsig_additional_data","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"},"example":{}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"additional_data":"ccd5bb71183532bff220ba46c268991a3ff07eb358e8255a65c30a2dce0e5fbb","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_all_mempool_items":{"post":{"tags":["Mempool"],"summary":"All mempool items","description":"All mempool items.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_all_mempool_items).","operationId":"get_all_mempool_items","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"},"example":{}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_all_mempool_tx_ids":{"post":{"tags":["Mempool"],"summary":"Ids of all transactions in the mempool","description":"Ids of all transactions in the mempool.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_all_mempool_tx_ids).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_all_mempool_tx_ids","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"},"example":{}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"success":true,"tx_ids":["0x002acc97c663c73abe9298acb9c8cc6055ce557184b55512c742c41cee5a2184","0x009757a8e1ff9bd88c47a07c326851980dd7c251a4ae03aad9e123f6658c7e2b"]}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_block":{"post":{"tags":["Blocks"],"summary":"A full block by header hash","description":"A full block by header hash.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_block).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_block","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByHeaderHash"},"example":{"header_hash":"0xacb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"block":{"challenge_chain_ip_proof":{"normalized_to_identity":true,"witness":"0x0200d7e5c7042612e3e4a72a6d9de63d7b6dea9528fbed097c19efb40a4b2437ffa6a9b2e50d6c4e4025948607fdd3…","witness_type":0},"challenge_chain_sp_proof":{"normalized_to_identity":true,"witness":"0x020056484d21ab77da7240288a9f8f504abdfb208cc9bb120f60b19b34405ed369261d96457e5fe447488f69ee4fa2…","witness_type":0},"finished_sub_slots":[],"foliage":{"foliage_block_data":{"extension_data":"0x0000000000000000000000000000000000000000000000000000000003a2c7c9","farmer_reward_puzzle_hash":"0xb3f758ebf47e6b977c5dadc8d55cd6deba4064a14d3940486705d9c76ad1240d","pool_signature":"0x866af60152511606b9e3fe706e538743cfbab68eaea6682d2f2b626cca33d1e7db924729525e747d4fba15ef2a48122300d35b5d3e98f1691c17173f514d6dbddc30510b111a5afb3a82621c2b802bc04f82af3236343106111a7f3edf6c23d3","pool_target":{"max_height":0,"puzzle_hash":"0xb3f758ebf47e6b977c5dadc8d55cd6deba4064a14d3940486705d9c76ad1240d"},"unfinished_reward_block_hash":"0x1c74071ce852012e17345c931509f8f77a5a7be073903b4843739f4f0cfc3a26"},"foliage_block_data_signature":"0x88412be38b1132950819b79dddba2e6e1eceb46a4d5f82e335fd67c7c4d898bb253e0290b41ac966f99a4e58bc4b018d17ff919a374839aa0811be73725fb3f1480eddc212d34bce018f4a097eedd69b535cf557021c0df5975b1033188354e3","foliage_transaction_block_hash":"0xad656ad9e0b58b7b2a1ef6d9a56c7cbde42131add95524c3fc980bdbff06a50f","foliage_transaction_block_signature":"0x8b2541a740605b20baef0157d2d47b1d41e9b8c7dfae48dc0047e8cf05721f56228658ff6082022a3eeecf7e39e1d9ae03d685db581cb792a688458a3200dba35301d1119f9a52cb56a9d54dac3037459fc708fc9ee861d1e32e4ce95c1b3aba","prev_block_hash":"0x2da859915c85b70977fcc76ed3b33164b10cec0c1983a2414d0cc7030a0fb62d","reward_block_hash":"0x6fda20e867741545e978b4ccd3dcb85c39c40364514030ebfc5d56cd0c2626dc"},"foliage_transaction_block":{"additions_root":"0x8b002c1b17f648f3105fed1ad3e101d14d7adf22e4f3a4a61543162b185c04d4","filter_hash":"0x1565254570b71d8b0aa575e8f0d201f308be3cc996da1eb9eb0adcd1d1833f32","prev_transaction_block_hash":"0xec564bca63d262c35d52e3b636a6ca2a3bd3e7e11b8b8d92f04da7d47db499fb","removals_root":"0xcc907ef85cdc061f52e6a68ee5c2fddb38c75e3396ee9960bee78a8cc201df48","timestamp":1660751468,"transactions_info_hash":"0xdec2133b5517079c4d45313b88bdd6b29aa5f20dd12f364f1119c7e5c16e25e0"},"infused_challenge_chain_ip_proof":{"normalized_to_identity":false,"witness":"0x0200404a52a8bf8802a8778e28e9949ac7f7b776149dcd243634346301a06fa0e736cb32ab55dcb499861bc56efc7b…","witness_type":2},"reward_chain_block":{"challenge_chain_ip_vdf":{"challenge":"0x5ca09718802c624f89e9b261fb911a3328974b6c88c47bdda24e212c3eb891af","number_of_iterations":117974961,"output":{"data":"0x010086e0d9c22c6fc39f4c6e3025d7db7927784ade08f696e2d49284219419efed285ff2902e19fb063c4da53c2e1c…"}},"challenge_chain_sp_signature":"0x84eaa2c0f1db50e6f5e396c0d8ccd6dd8ae657931302618c6a92a1a5e1f3a79875b3b4081997e0101c793e867625709008da1e10f26d9b51c49c88ca0abde5317ae48e98a03a298d33fa232178b458cef7da4095d795d9d78263c41198dd51aa","challenge_chain_sp_vdf":{"challenge":"0x5ca09718802c624f89e9b261fb911a3328974b6c88c47bdda24e212c3eb891af","number_of_iterations":109461504,"output":{"data":"0x02000c0086ba0ae5587026c380a53ab221b9ce422272fd5b98ab99478468a34c6ebf0d22de1b6057d589f7ca0f3f4b…"}},"height":2413252,"infused_challenge_chain_ip_vdf":{"challenge":"0x9968c02ef673cadb82377d07022231eca6233579947883d2e37ea3743a542c95","number_of_iterations":7733319,"output":{"data":"0x030075ef57f8dbe2cb64c124d6c288771f4d9e642b7ff26bb3dce12e22cc6d1116f6a2f3dec8ae3087807983b06a1f…"}},"is_transaction_block":true,"pos_ss_cc_challenge_hash":"0x5ca09718802c624f89e9b261fb911a3328974b6c88c47bdda24e212c3eb891af","proof_of_space":{"challenge":"0x2684e3e6cc70ef9a14b07a861cec01e38e6f06bce67fb6f75a9ef0baa547c249","plot_public_key":"0x8d932fdf65b70c6b1c461726f96d97d9131759002d5b02991118779dea681892ae9b1b1ea60d308196f0ebd3d8c12ffe","pool_contract_puzzle_hash":null,"pool_public_key":"0x801b9204e54ea7bbf295658940cfdef9ca2f626e3836d78d36059e88aba5f01812ade4004c2a232299fc390864b75c30","proof":"0x6595554bc07f92591226b8789bebc14647bdb059f3722b4e719580cf8b692ec10ab323b41371757d3abf5f8eae0976…","size":32},"reward_chain_ip_vdf":{"challenge":"0xfe78a7b623c867742412672efbb3f8bc65bd16ab88f42acb72d8b86ff8aaf8c1","number_of_iterations":7733319,"output":{"data":"0x0200b85b52330690f7718f9f6c7ed30056c6f3a11a386661d30c111a80658e0bdb9dd91d68a1cc9368597d65869467…"}},"reward_chain_sp_signature":"0xb0c5d6d202a31484acb431f7133bd2b71df93781548ca2a2258f30f5c639dfaea9fb42a47bc3a081874e49917576d88f0ad4b14916a214c61eea9a9b534485aee651a105ca09a1d74f651dbce259f0f71e043545d130f92003e9259d08dd709e","reward_chain_sp_vdf":{"challenge":"0x5fe7793961667f4c59600741316fbb5756c05f7792e005c3ba3e664335ee9a55","number_of_iterations":1282023,"output":{"data":"0x01000221b116d183898b9b574d1adeb30761b6e2641ed3d834a7e9ed8a549d6fd7c37beefe13a645f5624731aceacc…"}},"signage_point_index":51,"total_iters":9700830095281,"weight":5090480488},"reward_chain_ip_proof":{"normalized_to_identity":false,"witness":"0x0000050fc4e0481201a3ddde238039ff35f0f279f8abbbcc88074de7f7632f321d8b981c755dfc29b8b5c2e89bf339…","witness_type":2},"reward_chain_sp_proof":{"normalized_to_identity":false,"witness":"0x0300536665176d2f67e33784e8bb639f8ddf59a57951151951be73762e4bf3a63168cc1c04a4e9c6dc9e318442a824…","witness_type":2},"transactions_generator":"0xff01ffffffa066f5e5f903027d533ff367222f249c175b617867ba6a4bb40a7f3f2847afeb69ffff02ffff01ff02ff…","transactions_generator_ref_list":[],"transactions_info":{"aggregated_signature":"0xa20f239d9b21e16373be6100d11ff969f376a73f1ebf1dbb1aab507ce34ce8bd8cdc3e1c664a78c605402dcf5747759709bbf975cb1a3ad6e45edfffa77e869a92938851bec1d56f82affcf743e96e776c1c4a906ecff64a7ace4c7e1e3bb449","cost":2251600533,"fees":101101035,"generator_refs_root":"0x0101010101010101010101010101010101010101010101010101010101010101","generator_root":"0x6067061cdb434362df6a6e0791b1b901a190b4b0e00620b27e44e08f2b8234de","reward_claims_incorporated":[{"amount":1750000000000,"parent_coin_info":"0xccd5bb71183532bff220ba46c268991a0000000000000000000000000024d2c0","puzzle_hash":"0x907491ca39c35bc1f9a6eda33f7c0f97a9f583975088dad7216f1edd79f522ae"},{"amount":250002100000,"parent_coin_info":"0x3ff07eb358e8255a65c30a2dce0e5fbb0000000000000000000000000024d2c0","puzzle_hash":"0x907491ca39c35bc1f9a6eda33f7c0f97a9f583975088dad7216f1edd79f522ae"}]}},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_block_count_metrics":{"post":{"tags":["Blocks"],"summary":"Counts of compact, uncompact and hint blocks","description":"Counts of compact, uncompact and hint blocks.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_block_count_metrics).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_block_count_metrics","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"},"example":{}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"metrics":{"compact_blocks":9336616,"hint_count":47621212,"uncompact_blocks":7578},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_block_record":{"post":{"tags":["Blocks"],"summary":"A block record by header hash","description":"A block record by header hash.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_block_record).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_block_record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByHeaderHash"},"example":{"header_hash":"0x5a3c793a73aa5976eca2b3ee8843b7ed63513aa82fcd8d5e94248855ba7f4410"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"block_record":{"challenge_block_info_hash":"0x1a5994d2e0ded4d314336140d1bca8d5b8bd64d3d064ad1c461ffc563d7988f8","challenge_vdf_output":{"data":"0x01002ab75fac74e8eb741caf7f52d668cd954fad2d575690fc7a4ea7a2f7a154c4049d629ceb188ab7ececc648385e…"},"deficit":0,"farmer_puzzle_hash":"0x5b0505e3f90f5ba40a4eb50871b8a3c4f39af795389723286cdebd7706a4bcf5","fees":null,"finished_challenge_slot_hashes":null,"finished_infused_challenge_slot_hashes":null,"finished_reward_slot_hashes":null,"header_hash":"0x5a3c793a73aa5976eca2b3ee8843b7ed63513aa82fcd8d5e94248855ba7f4410","height":1000000,"infused_challenge_vdf_output":{"data":"0x0200851cd06e5eb056fbee17c146535874486d8c114dcbb2ebb0a69d89071eb6f6f1602ec82e9d85e6dad7d9882cc7…"},"overflow":false,"pool_puzzle_hash":"0x5b0505e3f90f5ba40a4eb50871b8a3c4f39af795389723286cdebd7706a4bcf5","prev_hash":"0xf5d672dae94768f8cd119331490b2725d505355522bc81bb7ae314a2d0412b1d","prev_transaction_block_hash":null,"prev_transaction_block_height":999998,"required_iters":1796616,"reward_claims_incorporated":null,"reward_infusion_new_challenge":"0x37c14f78e779ba0f1f3521cc84ef2a881ec1af4b9b6eeac357c717f013c487af","signage_point_index":60,"sub_epoch_summary_included":null,"sub_slot_iters":135266304,"timestamp":null,"total_iters":3692843182600,"weight":1650591376},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_block_record_by_height":{"post":{"tags":["Blocks"],"summary":"A block record by height","description":"A block record by height.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_block_record_by_height).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_block_record_by_height","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByHeight"},"example":{"height":1000000}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"block_record":{"challenge_block_info_hash":"0x1a5994d2e0ded4d314336140d1bca8d5b8bd64d3d064ad1c461ffc563d7988f8","challenge_vdf_output":{"data":"0x01002ab75fac74e8eb741caf7f52d668cd954fad2d575690fc7a4ea7a2f7a154c4049d629ceb188ab7ececc648385e…"},"deficit":0,"farmer_puzzle_hash":"0x5b0505e3f90f5ba40a4eb50871b8a3c4f39af795389723286cdebd7706a4bcf5","fees":null,"finished_challenge_slot_hashes":null,"finished_infused_challenge_slot_hashes":null,"finished_reward_slot_hashes":null,"header_hash":"0x5a3c793a73aa5976eca2b3ee8843b7ed63513aa82fcd8d5e94248855ba7f4410","height":1000000,"infused_challenge_vdf_output":{"data":"0x0200851cd06e5eb056fbee17c146535874486d8c114dcbb2ebb0a69d89071eb6f6f1602ec82e9d85e6dad7d9882cc7…"},"overflow":false,"pool_puzzle_hash":"0x5b0505e3f90f5ba40a4eb50871b8a3c4f39af795389723286cdebd7706a4bcf5","prev_hash":"0xf5d672dae94768f8cd119331490b2725d505355522bc81bb7ae314a2d0412b1d","prev_transaction_block_hash":null,"prev_transaction_block_height":999998,"required_iters":1796616,"reward_claims_incorporated":null,"reward_infusion_new_challenge":"0x37c14f78e779ba0f1f3521cc84ef2a881ec1af4b9b6eeac357c717f013c487af","signage_point_index":60,"sub_epoch_summary_included":null,"sub_slot_iters":135266304,"timestamp":null,"total_iters":3692843182600,"weight":1650591376},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_block_records":{"post":{"tags":["Blocks"],"summary":"Block records in a height range (at most 1,000)","description":"Block records in a height range (at most 1,000).\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_block_records).\n\n`start` is included, `end` is not. More than 1,000 blocks at once answer Coinset's `INVALID_BLOCK_RANGE` without asking the node.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_block_records","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeightRange"},"example":{"end":1000005,"start":1000000}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"block_records":[{"challenge_block_info_hash":"0x1a5994d2e0ded4d314336140d1bca8d5b8bd64d3d064ad1c461ffc563d7988f8","challenge_vdf_output":{"data":"0x01002ab75fac74e8eb741caf7f52d668cd954fad2d575690fc7a4ea7a2f7a154c4049d629ceb188ab7ececc648385e…"},"deficit":0,"farmer_puzzle_hash":"0x5b0505e3f90f5ba40a4eb50871b8a3c4f39af795389723286cdebd7706a4bcf5","fees":null,"finished_challenge_slot_hashes":null,"finished_infused_challenge_slot_hashes":null,"finished_reward_slot_hashes":null,"header_hash":"0x5a3c793a73aa5976eca2b3ee8843b7ed63513aa82fcd8d5e94248855ba7f4410","height":1000000,"infused_challenge_vdf_output":{"data":"0x0200851cd06e5eb056fbee17c146535874486d8c114dcbb2ebb0a69d89071eb6f6f1602ec82e9d85e6dad7d9882cc7…"},"overflow":false,"pool_puzzle_hash":"0x5b0505e3f90f5ba40a4eb50871b8a3c4f39af795389723286cdebd7706a4bcf5","prev_hash":"0xf5d672dae94768f8cd119331490b2725d505355522bc81bb7ae314a2d0412b1d","prev_transaction_block_hash":null,"prev_transaction_block_height":999998,"required_iters":1796616,"reward_claims_incorporated":null,"reward_infusion_new_challenge":"0x37c14f78e779ba0f1f3521cc84ef2a881ec1af4b9b6eeac357c717f013c487af","signage_point_index":60,"sub_epoch_summary_included":null,"sub_slot_iters":135266304,"timestamp":null,"total_iters":3692843182600,"weight":1650591376},{"challenge_block_info_hash":"0x9bdc4031fb78468cf7c53e24bd2387104fb822e5c70adc6edae7806c4461ac4c","challenge_vdf_output":{"data":"0x0200e4f4f8dbc63f240e57ddb6ff6d358feaed6ecb14e1884c9b01389b3cbf9712844a6e094c24a96d621b12de15bd…"},"deficit":16,"farmer_puzzle_hash":"0x9aad5849cd9512fbf92a2937d28bb4cc3f83e70984f13a9481b871ee7ef88eb3","fees":1,"finished_challenge_slot_hashes":["0x590e14c517422d78aef296ac26d796c0093d841423a44b32d3e2282967d0af75"],"finished_infused_challenge_slot_hashes":["0xd83d969cc6483b5879d9a3ea2fdfd2358dabcf2a095503b8e048b46bf41028e1"],"finished_reward_slot_hashes":["0x235b4bf5ebd3b7b055044ffdce4e2def3c10fb56c6944f0805867cb817585dbf"],"header_hash":"0x6f15a6d088ce8d940c220f80d16d6743c8a9cf5e2544ad15a57b58a06dbd9284","height":1000001,"infused_challenge_vdf_output":null,"overflow":true,"pool_puzzle_hash":"0xab74ef484457610f5bfe32cac973bb2bf16f0bebb1913b3503f559047ef832e7","prev_hash":"0x5a3c793a73aa5976eca2b3ee8843b7ed63513aa82fcd8d5e94248855ba7f4410","prev_transaction_block_hash":"0x84b7b4b65aab1987bb17a78f41a448eb8286e3c906388cb37df6a959e7bc8cb9","prev_transaction_block_height":999998,"required_iters":1453726,"reward_claims_incorporated":[{"amount":1750000000000,"parent_coin_info":"0xccd5bb71183532bff220ba46c268991a000000000000000000000000000f423e","puzzle_hash":"0x4bc6435b409bcbabe53870dae0f03755f6aabb4594c5915ec983acf12a5d1fba"},{"amount":250049777417,"parent_coin_info":"0x3ff07eb358e8255a65c30a2dce0e5fbb000000000000000000000000000f423e","puzzle_hash":"0x4bc6435b409bcbabe53870dae0f03755f6aabb4594c5915ec983acf12a5d1fba"}],"reward_infusion_new_challenge":"0x5848cf7d81507bdd9382388a1d80e39cf0a0d2f861905fc1a623d3b47e644e0f","signage_point_index":62,"sub_epoch_summary_included":null,"sub_slot_iters":135266304,"timestamp":1634278538,"total_iters":3692847066782,"weight":1650594384}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_block_spends":{"post":{"tags":["Blocks"],"summary":"The coin spends of a block","description":"The coin spends of a block.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_block_spends).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_block_spends","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByHeaderHash"},"example":{"header_hash":"0xacb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"block_spends":[{"coin":{"amount":1,"parent_coin_info":"0x66f5e5f903027d533ff367222f249c175b617867ba6a4bb40a7f3f2847afeb69","puzzle_hash":"0x3b19b4f5146b79688dd6876ed6f6fc08c4958e1b7d6466b01080540ffb438bac"},"puzzle_reveal":"0xff02ffff01ff02ffff01ff02ffff03ffff18ff2fff3480ffff01ff04ffff04ff20ffff04ff2fff808080ffff04ffff…","solution":"0xffffa054c937438be886340e78a1ec87ad08da694b3d229c6eb29ac7588a217292b4a2ff0180ff01ffffffff80ffff…"},{"coin":{"amount":3999999440,"parent_coin_info":"0x09d61683346edb0b3a98aa25c069ecab6d002b3112c0ed46c97fafc79b6d8e88","puzzle_hash":"0xd99f1b9cbdaecba4c89f6d4aace38be745123fdcec32689914ee9f42a22f1890"},"puzzle_reveal":"0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff…","solution":"0xff80ffff01ffff33ffa0eff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9ff0180ffff…"}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_block_spends_with_conditions":{"post":{"tags":["Blocks"],"summary":"The coin spends of a block with their conditions","description":"The coin spends of a block with their conditions.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_block_spends_with_conditions).\n\nWith a chain reader nodexch decodes the block's generator from the node's database file and runs each spend for its conditions, every argument included (Coinset's shape: `{\"opcode\": \"0x33\", \"vars\": [...]}`; a node writes `[51, [...]]`).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_block_spends_with_conditions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByHeaderHash"},"example":{"header_hash":"0xacb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"block_spends_with_conditions":[{"coin_spend":{"coin":{"amount":1,"parent_coin_info":"0x66f5e5f903027d533ff367222f249c175b617867ba6a4bb40a7f3f2847afeb69","puzzle_hash":"0x3b19b4f5146b79688dd6876ed6f6fc08c4958e1b7d6466b01080540ffb438bac"},"puzzle_reveal":"0xff02ffff01ff02ffff01ff02ffff03ffff18ff2fff3480ffff01ff04ffff04ff20ffff04ff2fff808080ffff04ffff…","solution":"0xffffa054c937438be886340e78a1ec87ad08da694b3d229c6eb29ac7588a217292b4a2ff0180ff01ffffffff80ffff…"},"conditions":[{"opcode":"0x49","vars":["0x01"]},{"opcode":"0x47","vars":["0x66f5e5f903027d533ff367222f249c175b617867ba6a4bb40a7f3f2847afeb69"]}]},{"coin_spend":{"coin":{"amount":3999999440,"parent_coin_info":"0x09d61683346edb0b3a98aa25c069ecab6d002b3112c0ed46c97fafc79b6d8e88","puzzle_hash":"0xd99f1b9cbdaecba4c89f6d4aace38be745123fdcec32689914ee9f42a22f1890"},"puzzle_reveal":"0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff…","solution":"0xff80ffff01ffff33ffa0eff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9ff0180ffff…"},"conditions":[{"opcode":"0x32","vars":["0x89300288f5c68522df82ee2065223f4587cd1e9b83cd831258e7af5ece5a37c9af9eec5025aea1add4b883a576bc249e","0xe650846790f84b584483b8bbaa03368803e800348799d85d37dc2613e0a170e2"]},{"opcode":"0x33","vars":["0xeff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9","0x01"]}]}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_block_transactions":{"post":{"tags":["Transactions"],"summary":"The transactions of a block","description":"The transactions of a block.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_block_transactions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBlockTransactions"},"example":{"height":2413252,"limit":10}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"next_cursor":"tx_block/0002413252#79988d2cda956910251b1a3472995bd49b6519e9d621da21ae365a533c11611b","success":true,"transactions":[{"confirmed_at_ms":1660751468000,"confirmed_header_hash":"acb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a","confirmed_height":2413252,"cost":0,"events":[{"fee_mojos":"0","inputs":[{"amount":"1","coin_id":"0x5d89e5d556aae2fffd835cf849f2acd5f8d7e59aef128c7e51f2212f40b9aa20","coin_type":{"asset_id":"0xcc78a6f97dbe555cf8f0aca5c0d7246b47f3ab298973b6c7c6d1c82cc910e7a4","custody_p2":"0x2e8219ab2025d6f9c6746899b2f17afc2b32d602e6ff007ee323a79d69ca1a52","custody_puzzle_type":"PoolMember","outer_puzzle_type":"Singleton"},"puzzle_hash":"0x0b6997e86bc8614d6fffef3cb90ceedd758c51d79bc4060848659f92d2fca984"},{"amount":"1750000000000","coin_id":"0xe742b42ede70eca15be02077ede43b74cb53507db116784e407e5b1a052a408a","coin_type":{"custody_p2":"0x2ead5762be12b2076efbf41fa7e071e7f702479e8e2fec641681d080626dc67a","custody_puzzle_type":"P2SingletonOrDelayedPuzhash","outer_puzzle_type":"XCH"},"puzzle_hash":"0x2ead5762be12b2076efbf41fa7e071e7f702479e8e2fec641681d080626dc67a"}],"memos":[],"outputs":[{"amount":"1750000000000","coin_id":"0x16008281f096447a6f486ef0793f6deb5d335545db23835af6a34205df403bdc","coin_type":{"custody_p2":"0xe3b9adc4eb09d18d83bd56482aee566820f5afdce595b3ed095eb36c5cef9301","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0xe3b9adc4eb09d18d83bd56482aee566820f5afdce595b3ed095eb36c5cef9301"},{"amount":"1","coin_id":"0x9e90e00cd154b9f34da062243b176a06e4bd32d5809216dde0bc60e99fa6653a","coin_type":{"asset_id":"0xcc78a6f97dbe555cf8f0aca5c0d7246b47f3ab298973b6c7c6d1c82cc910e7a4","custody_p2":"0x0b6997e86bc8614d6fffef3cb90ceedd758c51d79bc4060848659f92d2fca984","custody_puzzle_type":"Unknown","outer_puzzle_type":"Singleton"},"puzzle_hash":"0x0b6997e86bc8614d6fffef3cb90ceedd758c51d79bc4060848659f92d2fca984"}],"participants":[{"p2":"0x2ead5762be12b2076efbf41fa7e071e7f702479e8e2fec641681d080626dc67a","received":{"cats":[],"nfts":[],"xch":"0"},"sent":{"cats":[],"nfts":[],"xch":"1750000000000"}},{"p2":"0xe3b9adc4eb09d18d83bd56482aee566820f5afdce595b3ed095eb36c5cef9301","received":{"cats":[],"nfts":[],"xch":"1750000000000"},"sent":{"cats":[],"nfts":[],"xch":"0"}}],"type":"Transfer"}],"fee_mojos":"0","id":"1a5b69df3bf4c9aac1c7a7a61a32f4bd0d88fcc3c26e90eba430fd2974f73344","last_updated_ms":1660751468000,"schema_version":1,"source":"inferred","status":"confirmed"},{"confirmed_at_ms":1660751468000,"confirmed_header_hash":"acb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a","confirmed_height":2413252,"cost":0,"events":[{"fee_mojos":"0","inputs":[{"amount":"1750000000000","coin_id":"0xaee2d79fb8ca989e43c3c1da03d133804719fc179563d97b3df8c35f83bfde64","coin_type":{"custody_p2":"0x5246b3d1b129bfecafd105a042f98b9e571cef30d8a9b425dc9947d198719d43","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"XCH"},"puzzle_hash":"0x5246b3d1b129bfecafd105a042f98b9e571cef30d8a9b425dc9947d198719d43"}],"memos":[],"outputs":[{"amount":"4146438144","coin_id":"0x02fff63d772a8bca5a2c73890db17b6b012286df73263ba1a14bf281b6039252","coin_type":{"custody_p2":"0x150e41faeee1cb1d9498b2bb4e48aacfd8e6038f5cfe847f1b4f773f200a2eb2","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0x150e41faeee1cb1d9498b2bb4e48aacfd8e6038f5cfe847f1b4f773f200a2eb2"},{"amount":"5416284826","coin_id":"0x03ee8fa1e3e94475b7241ef258785d182d34677b271656982b7e89cc6a3f4062","coin_type":{"custody_p2":"0xb7dae875b552b8a979047eb02f1e272c995a2627149f3003f7f42126b2146dce","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0xb7dae875b552b8a979047eb02f1e272c995a2627149f3003f7f42126b2146dce"}],"participants":[{"p2":"0x00ffcf7be1b96a2e7aae067f42bbe6032dd0edc36da9693e723b2b18f02212c1","received":{"cats":[],"nfts":[],"xch":"49681671616"},"sent":{"cats":[],"nfts":[],"xch":"0"}},{"p2":"0x042a543388845170076aa781e8f8c7ca3ffaa99043c7f3e5f2aa25abe49065b2","received":{"cats":[],"nfts":[],"xch":"58490693069"},"sent":{"cats":[],"nfts":[],"xch":"0"}}],"type":"Transfer"}],"fee_mojos":"0","id":"3dff23630e4449715a2e085d7c24cb02412747df700d5a3a421c626ba44dea31","last_updated_ms":1660751468000,"schema_version":1,"source":"inferred","status":"confirmed"}],"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_blockchain_state":{"post":{"tags":["Full Node"],"summary":"Peak, sync state, difficulty, space and mempool figures","description":"Peak, sync state, difficulty, space and mempool figures.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_blockchain_state).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_blockchain_state","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"},"example":{}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"blockchain_state":{"average_block_time":19,"block_max_cost":11000000000,"difficulty":2384,"genesis_challenge_initialized":true,"mempool_cost":88500547228,"mempool_fees":350012,"mempool_max_total_cost":110000000000,"mempool_min_fees":{"cost_5000000":0},"mempool_size":236,"node_id":"1a7433ec88df501b319454c775347e7ea28807db2955b4d88985c686beb71ee0","peak":{"challenge_block_info_hash":"0x5492e0cb0a39bac4ec9c862e73623f5793a51605ebd9f962645208a430eb323f","challenge_vdf_output":{"data":"0x030034998fd85bb1c83d9251facdd99285365c265b3a1ca47dbab270f20f67d0990db2300f3fb492acf008367ba3b1…"},"deficit":2,"farmer_puzzle_hash":"0x8145367ca8709c7282db835e4e4950364e69d3c88cfc49eb6f65b9605243baf6","fees":null,"finished_challenge_slot_hashes":null,"finished_infused_challenge_slot_hashes":null,"finished_reward_slot_hashes":null,"header_hash":"0x9e465999cf80120ad8b622e5b916763857b5b27fafc228eed5c48f3bab8e410e","height":9344191,"infused_challenge_vdf_output":{"data":"0x00001e673aad696e0f095ada7f732dca6fcc41347d01a3d7f53b8d5fe36a121812bed52af8726683f76095ce4d0ee7…"},"overflow":false,"pool_puzzle_hash":"0x8145367ca8709c7282db835e4e4950364e69d3c88cfc49eb6f65b9605243baf6","prev_hash":"0x45027cfb87d088cce3f20bfc711c3743dfaa6c56e2fde65520985eb0aad02fba","prev_transaction_block_hash":null,"prev_transaction_block_height":9344189,"required_iters":4058314,"reward_claims_incorporated":null,"reward_infusion_new_challenge":"0xd1baa9bd3e2185c6b086101ffa9475ba75c7abab3e40b41c6953c2a38b44c46c","signage_point_index":35,"sub_epoch_summary_included":null,"sub_slot_iters":587202560,"timestamp":null,"total_iters":107920499272906,"weight":56303442784},"space":3746423731719864320,"sub_slot_iters":587202560,"sync":{"sync_mode":false,"sync_progress_height":0,"sync_tip_height":0,"synced":true}},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_blocks":{"post":{"tags":["Blocks"],"summary":"Full blocks in a height range (at most 1,000)","description":"Full blocks in a height range (at most 1,000).\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_blocks).\n\n`start` is included, `end` is not. More than 1,000 blocks at once answer Coinset's `INVALID_BLOCK_RANGE` without asking the node.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_blocks","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBlocks"},"example":{"end":2413253,"start":2413252}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"blocks":[{"challenge_chain_ip_proof":{"normalized_to_identity":true,"witness":"0x0200d7e5c7042612e3e4a72a6d9de63d7b6dea9528fbed097c19efb40a4b2437ffa6a9b2e50d6c4e4025948607fdd3…","witness_type":0},"challenge_chain_sp_proof":{"normalized_to_identity":true,"witness":"0x020056484d21ab77da7240288a9f8f504abdfb208cc9bb120f60b19b34405ed369261d96457e5fe447488f69ee4fa2…","witness_type":0},"finished_sub_slots":[],"foliage":{"foliage_block_data":{"extension_data":"0x0000000000000000000000000000000000000000000000000000000003a2c7c9","farmer_reward_puzzle_hash":"0xb3f758ebf47e6b977c5dadc8d55cd6deba4064a14d3940486705d9c76ad1240d","pool_signature":"0x866af60152511606b9e3fe706e538743cfbab68eaea6682d2f2b626cca33d1e7db924729525e747d4fba15ef2a48122300d35b5d3e98f1691c17173f514d6dbddc30510b111a5afb3a82621c2b802bc04f82af3236343106111a7f3edf6c23d3","pool_target":{"max_height":0,"puzzle_hash":"0xb3f758ebf47e6b977c5dadc8d55cd6deba4064a14d3940486705d9c76ad1240d"},"unfinished_reward_block_hash":"0x1c74071ce852012e17345c931509f8f77a5a7be073903b4843739f4f0cfc3a26"},"foliage_block_data_signature":"0x88412be38b1132950819b79dddba2e6e1eceb46a4d5f82e335fd67c7c4d898bb253e0290b41ac966f99a4e58bc4b018d17ff919a374839aa0811be73725fb3f1480eddc212d34bce018f4a097eedd69b535cf557021c0df5975b1033188354e3","foliage_transaction_block_hash":"0xad656ad9e0b58b7b2a1ef6d9a56c7cbde42131add95524c3fc980bdbff06a50f","foliage_transaction_block_signature":"0x8b2541a740605b20baef0157d2d47b1d41e9b8c7dfae48dc0047e8cf05721f56228658ff6082022a3eeecf7e39e1d9ae03d685db581cb792a688458a3200dba35301d1119f9a52cb56a9d54dac3037459fc708fc9ee861d1e32e4ce95c1b3aba","prev_block_hash":"0x2da859915c85b70977fcc76ed3b33164b10cec0c1983a2414d0cc7030a0fb62d","reward_block_hash":"0x6fda20e867741545e978b4ccd3dcb85c39c40364514030ebfc5d56cd0c2626dc"},"foliage_transaction_block":{"additions_root":"0x8b002c1b17f648f3105fed1ad3e101d14d7adf22e4f3a4a61543162b185c04d4","filter_hash":"0x1565254570b71d8b0aa575e8f0d201f308be3cc996da1eb9eb0adcd1d1833f32","prev_transaction_block_hash":"0xec564bca63d262c35d52e3b636a6ca2a3bd3e7e11b8b8d92f04da7d47db499fb","removals_root":"0xcc907ef85cdc061f52e6a68ee5c2fddb38c75e3396ee9960bee78a8cc201df48","timestamp":1660751468,"transactions_info_hash":"0xdec2133b5517079c4d45313b88bdd6b29aa5f20dd12f364f1119c7e5c16e25e0"},"infused_challenge_chain_ip_proof":{"normalized_to_identity":false,"witness":"0x0200404a52a8bf8802a8778e28e9949ac7f7b776149dcd243634346301a06fa0e736cb32ab55dcb499861bc56efc7b…","witness_type":2},"reward_chain_block":{"challenge_chain_ip_vdf":{"challenge":"0x5ca09718802c624f89e9b261fb911a3328974b6c88c47bdda24e212c3eb891af","number_of_iterations":117974961,"output":{"data":"0x010086e0d9c22c6fc39f4c6e3025d7db7927784ade08f696e2d49284219419efed285ff2902e19fb063c4da53c2e1c…"}},"challenge_chain_sp_signature":"0x84eaa2c0f1db50e6f5e396c0d8ccd6dd8ae657931302618c6a92a1a5e1f3a79875b3b4081997e0101c793e867625709008da1e10f26d9b51c49c88ca0abde5317ae48e98a03a298d33fa232178b458cef7da4095d795d9d78263c41198dd51aa","challenge_chain_sp_vdf":{"challenge":"0x5ca09718802c624f89e9b261fb911a3328974b6c88c47bdda24e212c3eb891af","number_of_iterations":109461504,"output":{"data":"0x02000c0086ba0ae5587026c380a53ab221b9ce422272fd5b98ab99478468a34c6ebf0d22de1b6057d589f7ca0f3f4b…"}},"height":2413252,"infused_challenge_chain_ip_vdf":{"challenge":"0x9968c02ef673cadb82377d07022231eca6233579947883d2e37ea3743a542c95","number_of_iterations":7733319,"output":{"data":"0x030075ef57f8dbe2cb64c124d6c288771f4d9e642b7ff26bb3dce12e22cc6d1116f6a2f3dec8ae3087807983b06a1f…"}},"is_transaction_block":true,"pos_ss_cc_challenge_hash":"0x5ca09718802c624f89e9b261fb911a3328974b6c88c47bdda24e212c3eb891af","proof_of_space":{"challenge":"0x2684e3e6cc70ef9a14b07a861cec01e38e6f06bce67fb6f75a9ef0baa547c249","plot_public_key":"0x8d932fdf65b70c6b1c461726f96d97d9131759002d5b02991118779dea681892ae9b1b1ea60d308196f0ebd3d8c12ffe","pool_contract_puzzle_hash":null,"pool_public_key":"0x801b9204e54ea7bbf295658940cfdef9ca2f626e3836d78d36059e88aba5f01812ade4004c2a232299fc390864b75c30","proof":"0x6595554bc07f92591226b8789bebc14647bdb059f3722b4e719580cf8b692ec10ab323b41371757d3abf5f8eae0976…","size":32},"reward_chain_ip_vdf":{"challenge":"0xfe78a7b623c867742412672efbb3f8bc65bd16ab88f42acb72d8b86ff8aaf8c1","number_of_iterations":7733319,"output":{"data":"0x0200b85b52330690f7718f9f6c7ed30056c6f3a11a386661d30c111a80658e0bdb9dd91d68a1cc9368597d65869467…"}},"reward_chain_sp_signature":"0xb0c5d6d202a31484acb431f7133bd2b71df93781548ca2a2258f30f5c639dfaea9fb42a47bc3a081874e49917576d88f0ad4b14916a214c61eea9a9b534485aee651a105ca09a1d74f651dbce259f0f71e043545d130f92003e9259d08dd709e","reward_chain_sp_vdf":{"challenge":"0x5fe7793961667f4c59600741316fbb5756c05f7792e005c3ba3e664335ee9a55","number_of_iterations":1282023,"output":{"data":"0x01000221b116d183898b9b574d1adeb30761b6e2641ed3d834a7e9ed8a549d6fd7c37beefe13a645f5624731aceacc…"}},"signage_point_index":51,"total_iters":9700830095281,"weight":5090480488},"reward_chain_ip_proof":{"normalized_to_identity":false,"witness":"0x0000050fc4e0481201a3ddde238039ff35f0f279f8abbbcc88074de7f7632f321d8b981c755dfc29b8b5c2e89bf339…","witness_type":2},"reward_chain_sp_proof":{"normalized_to_identity":false,"witness":"0x0300536665176d2f67e33784e8bb639f8ddf59a57951151951be73762e4bf3a63168cc1c04a4e9c6dc9e318442a824…","witness_type":2},"transactions_generator":"0xff01ffffffa066f5e5f903027d533ff367222f249c175b617867ba6a4bb40a7f3f2847afeb69ffff02ffff01ff02ff…","transactions_generator_ref_list":[],"transactions_info":{"aggregated_signature":"0xa20f239d9b21e16373be6100d11ff969f376a73f1ebf1dbb1aab507ce34ce8bd8cdc3e1c664a78c605402dcf5747759709bbf975cb1a3ad6e45edfffa77e869a92938851bec1d56f82affcf743e96e776c1c4a906ecff64a7ace4c7e1e3bb449","cost":2251600533,"fees":101101035,"generator_refs_root":"0x0101010101010101010101010101010101010101010101010101010101010101","generator_root":"0x6067061cdb434362df6a6e0791b1b901a190b4b0e00620b27e44e08f2b8234de","reward_claims_incorporated":[{"amount":1750000000000,"parent_coin_info":"0xccd5bb71183532bff220ba46c268991a0000000000000000000000000024d2c0","puzzle_hash":"0x907491ca39c35bc1f9a6eda33f7c0f97a9f583975088dad7216f1edd79f522ae"},{"amount":250002100000,"parent_coin_info":"0x3ff07eb358e8255a65c30a2dce0e5fbb0000000000000000000000000024d2c0","puzzle_hash":"0x907491ca39c35bc1f9a6eda33f7c0f97a9f583975088dad7216f1edd79f522ae"}]}}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_cat_assets_by_p2":{"post":{"tags":["CATs"],"summary":"CAT assets an address holds","description":"CAT assets an address holds.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_cat_assets_by_p2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatAssetsByP2"},"example":{"limit":10,"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"asset_ids":["370b11ffa9ed2934fbc4137be95053d4a97b7b65e850af3edc0b58f088a0059c","37b231bbdc0002a4fbbb65de0007a9cf1645a292888711968a8abb9a3e40596e"],"next_cursor":"cat_p2_asset_unspent/b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00/b21a97c786…","success":true,"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_cat_balances_by_p2":{"post":{"tags":["CATs"],"summary":"CAT balances of an address","description":"CAT balances of an address.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nWith a chain reader (`chia-db-reader`) and `asset_ids`, nodexch answers this from the node's own database file, as of the node's peak (pending, locked and revocable `\"0\"`). Without `asset_ids` finding the wallet's CATs needs their puzzles: the upstream's index answers (`INDEXED_PASSTHROUGH`), or 501.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_cat_balances_by_p2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCatBalancesByP2"},"example":{"asset_ids":["0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20"],"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"balances":[{"cat_asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","confirmed_balance":"28662","locked_balance":"0","pending_balance":"0","pending_locked_balance":"0","pending_revocable_balance":"0","revocable_balance":"0"}],"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_cat_coins_by_asset_id":{"post":{"tags":["CATs"],"summary":"Coins of a CAT","description":"Coins of a CAT.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_cat_coins_by_asset_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatCoinsByAssetId"},"example":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","limit":10}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"cat_asset_id":"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","cat_standard":"CAT2","coin_record":{"coin":{"amount":8000000000,"parent_coin_info":"0xda30230891bc1846f4e86f7045e453b63525f862c66c09b28301702b701c3e97","puzzle_hash":"0x588d8d3de6cc28e9d60d38151914aeb6d52a1278d220942d129d77f2e438e38b"},"coinbase":false,"confirmed_block_index":2566603,"spent":false,"spent_block_index":0,"timestamp":1663620794},"p2":"0x8cbbdd9c4a54f7fa59a368a44c8ea3bef1f3605ec4aa43b7a6d2c3fdabc4934b"},{"cat_asset_id":"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","cat_standard":"CAT2","coin_record":{"coin":{"amount":5000000000,"parent_coin_info":"0xff9023d67422a516a09c5b5b997a3e96528e1e05ecb53e38f46cdf8e3c65501f","puzzle_hash":"0x1a08bb7d6f247cc6c06d34fbf2ddaa456c48d615b322b6d362a11ab90257040a"},"coinbase":false,"confirmed_block_index":2566615,"spent":false,"spent_block_index":0,"timestamp":1663620930},"p2":"0x3327233509b7e55913b033ccf7da4f4cbc3e4008965b7bfb39fbc30d24f1cef5"}],"next_cursor":"cat_asset_unspent/db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20/0002593187#a78f14759dc55280d3d5c57f6d52cea7e8097f4bcbc83f7397c925aa6034c0bb","success":true,"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_cat_coins_by_p2_and_asset_id":{"post":{"tags":["CATs"],"summary":"Coins of a CAT held by an address","description":"Coins of a CAT held by an address.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nWith a chain reader (`chia-db-reader`) nodexch answers this from the node's own database file (`x-nodexch-source: chain-reader`), as of the node's peak. Pending, locked and revocable balances are `\"0\"` there: the mempool is not read yet.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_cat_coins_by_p2_and_asset_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatCoinsByP2AndAssetId"},"example":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","include_spent_coins":true,"limit":10,"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"cat_asset_id":"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","cat_standard":"CAT2","coin_record":{"coin":{"amount":8620,"parent_coin_info":"0x2ef3fb701e95ca6bcda72de93e70c12b7fc370ed9fcfe0777cca9963ef507bf9","puzzle_hash":"0x3a5e44a249c802d4ffc3a036d143ca930192f8892cf91e60a628eede0dec5892"},"coinbase":false,"confirmed_block_index":7448436,"spent":true,"spent_block_index":7503981,"timestamp":1754810289},"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"},{"cat_asset_id":"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","cat_standard":"CAT2","coin_record":{"coin":{"amount":5063,"parent_coin_info":"0xfe0ba66963abb24e512cd2d6761732f2989b3eff6c239329147d2b70ca2ee679","puzzle_hash":"0x3a5e44a249c802d4ffc3a036d143ca930192f8892cf91e60a628eede0dec5892"},"coinbase":false,"confirmed_block_index":7450135,"spent":true,"spent_block_index":7503981,"timestamp":1754841983},"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}],"next_cursor":"cat_p2_asset_all/b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00/db1a9020d48d9d…","success":true,"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_clawback_coins_by_receiver":{"post":{"tags":["Addresses"],"summary":"Clawback coins an address can claim","description":"Clawback coins an address can claim.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_clawback_coins_by_receiver","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByP2Paged"},"example":{"limit":10,"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"clawbacks":[],"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_coin_details":{"post":{"tags":["Transactions"],"summary":"A coin with what is known about it","description":"A coin with what is known about it.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.","operationId":"get_coin_details","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByCoinNameIndexed"},"example":{"coin_name":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","include_transactions":true}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_coin_record_by_name":{"post":{"tags":["Coins"],"summary":"A coin record by coin id","description":"A coin record by coin id.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_coin_record_by_name).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_coin_record_by_name","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByCoinName"},"example":{"name":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_record":{"coin":{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},"coinbase":false,"confirmed_block_index":2413241,"spent":true,"spent_block_index":2413252,"timestamp":1660751272},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_coin_records_by_hint":{"post":{"tags":["Coins"],"summary":"Coin records by hint","description":"Coin records by hint.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_coin_records_by_hint).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_coin_records_by_hint","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByHint"},"example":{"end_height":2500000,"hint":"0x0d17a2d94cc4f2fae4a5b6182e04f9cc4aac2b9cf0576165b20e8530bdb9562a","include_spent_coins":true}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"coin":{"amount":100000000000,"parent_coin_info":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","puzzle_hash":"0x3c1414360063702e60ff2c8068d7717103e223bd1b30c502498b0acbb0618807"},"coinbase":false,"confirmed_block_index":2413252,"spent":true,"spent_block_index":2566556,"timestamp":1660751468}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_coin_records_by_hints":{"post":{"tags":["Coins"],"summary":"Coin records by several hints","description":"Coin records by several hints.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_coin_records_by_hints).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_coin_records_by_hints","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByHints"},"example":{"end_height":2500000,"hints":["0x0d17a2d94cc4f2fae4a5b6182e04f9cc4aac2b9cf0576165b20e8530bdb9562a"],"include_spent_coins":true}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"coin":{"amount":100000000000,"parent_coin_info":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","puzzle_hash":"0x3c1414360063702e60ff2c8068d7717103e223bd1b30c502498b0acbb0618807"},"coinbase":false,"confirmed_block_index":2413252,"spent":true,"spent_block_index":2566556,"timestamp":1660751468}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_coin_records_by_names":{"post":{"tags":["Coins"],"summary":"Coin records by coin ids","description":"Coin records by coin ids.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_coin_records_by_names).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_coin_records_by_names","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByCoinNames"},"example":{"include_spent_coins":true,"names":["0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","0xef8b8b0311804b2dd67326dd6cdb05ef87d654582c96f7ff9e95fad1a1cb3ba3"]}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"coin":{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},"coinbase":false,"confirmed_block_index":2413241,"spent":true,"spent_block_index":2413252,"timestamp":1660751272},{"coin":{"amount":100000000000,"parent_coin_info":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","puzzle_hash":"0x3c1414360063702e60ff2c8068d7717103e223bd1b30c502498b0acbb0618807"},"coinbase":false,"confirmed_block_index":2413252,"spent":true,"spent_block_index":2566556,"timestamp":1660751468}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_coin_records_by_parent_ids":{"post":{"tags":["Coins"],"summary":"Coin records by parent coin ids","description":"Coin records by parent coin ids.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_coin_records_by_parent_ids).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_coin_records_by_parent_ids","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByParentIds"},"example":{"end_height":2413253,"include_spent_coins":true,"parent_ids":["0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71"],"start_height":2413252}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"coin":{"amount":100000000000,"parent_coin_info":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","puzzle_hash":"0x3c1414360063702e60ff2c8068d7717103e223bd1b30c502498b0acbb0618807"},"coinbase":false,"confirmed_block_index":2413252,"spent":true,"spent_block_index":2566556,"timestamp":1660751468}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_coin_records_by_puzzle_hash":{"post":{"tags":["Coins"],"summary":"Coin records of a puzzle hash","description":"Coin records of a puzzle hash.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_coin_records_by_puzzle_hash).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_coin_records_by_puzzle_hash","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByPuzzleHash"},"example":{"end_height":2413242,"include_spent_coins":true,"puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a","start_height":2413241}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"coin":{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},"coinbase":false,"confirmed_block_index":2413241,"spent":true,"spent_block_index":2413252,"timestamp":1660751272}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_coin_records_by_puzzle_hashes":{"post":{"tags":["Coins"],"summary":"Coin records of several puzzle hashes","description":"Coin records of several puzzle hashes.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_coin_records_by_puzzle_hashes).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_coin_records_by_puzzle_hashes","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByPuzzleHashes"},"example":{"end_height":2413253,"include_spent_coins":true,"puzzle_hashes":["0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a","0x3c1414360063702e60ff2c8068d7717103e223bd1b30c502498b0acbb0618807"],"start_height":2413241}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"coin":{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},"coinbase":false,"confirmed_block_index":2413241,"spent":true,"spent_block_index":2413252,"timestamp":1660751272},{"coin":{"amount":100000000000,"parent_coin_info":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","puzzle_hash":"0x3c1414360063702e60ff2c8068d7717103e223bd1b30c502498b0acbb0618807"},"coinbase":false,"confirmed_block_index":2413252,"spent":true,"spent_block_index":2566556,"timestamp":1660751468}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_fee_estimate":{"post":{"tags":["Fees"],"summary":"Fee estimates for target times","description":"Fee estimates for target times.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_fee_estimate).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_fee_estimate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFeeEstimate"},"example":{"cost":20000000,"target_times":[60,300,600]}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"current_fee_rate":0.3736876890037907,"estimates":[7473753,6045],"fee_rate_last_block":5.437315392947442e-10,"fees_last_block":5,"full_node_synced":true,"last_block_cost":9195714500,"last_peak_timestamp":1790383084,"last_tx_block_height":9344192,"mempool_fees":368582,"mempool_max_size":110000000000,"mempool_size":89491525878,"node_time_utc":1790383162,"num_spends":239,"peak_height":9344193,"success":true,"target_times":[60,300]}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_fee_tiers_by_cost":{"post":{"tags":["Fees"],"summary":"Fee tiers for a transaction cost","description":"Fee tiers for a transaction cost.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_fee_tiers_by_cost).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_fee_tiers_by_cost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFeeTiersByCost"},"example":{"cost":20000000}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"cost":20000000,"estimates":{"economy":{"fee":0,"fee_rate":0.0,"mode":"zero","pressure":false,"resolution":"1m","target_time_secs":3600,"window_secs":7200},"standard":{"fee":10,"fee_rate":2.360681017640484e-9,"mode":"histogram","pressure":true,"resolution":"10s","target_time_secs":300,"window_secs":3600},"urgent":{"fee":13476578,"fee_rate":0.6738288778636768,"mode":"histogram","pressure":true,"resolution":"10s","target_time_secs":60,"window_secs":3600}},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_latest_nft_coin_by_nft_id":{"post":{"tags":["NFTs and singletons"],"summary":"The current coin of an NFT","description":"The current coin of an NFT.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nWith a chain reader (`chia-db-reader`) nodexch follows the singleton from its launcher through the node's own database file, each coin's owner and royalty read from its spends (`x-nodexch-source: chain-reader`). An `nft1…` id, or an NFT not in the file, goes to the upstream's index (`INDEXED_PASSTHROUGH`).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_latest_nft_coin_by_nft_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByNftId"},"example":{"nft_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"nft_coin_record":{"coin_record":{"coin":{"amount":1,"parent_coin_info":"0x6f731c7774d286e98ff16965ea1a3f10b2ed99e333a72b8f3f18e1f0f0f7fb41","puzzle_hash":"0xc2d15d98ab7e590b892363db231a4f77ab4076a4f7628da8872508d64b4898ce"},"coinbase":false,"confirmed_block_index":7476545,"spent":false,"spent_block_index":0,"timestamp":1755336284},"nft_id":"a8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","nft_standard":"NFT1","p2":"0xa37e227901755b3f958a489206fe5ea9897cf351d83adb5f69189d9aaf663d7e","royalty":{"royalty_basis_points":1000,"royalty_puzzle_hash":"0xa248b7d99c1f80820c1acc4180ee6034a3295eeb2ccd759b36dfe2af23680985"}},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_memos_by_coin_name":{"post":{"tags":["Coins"],"summary":"Memos of a coin","description":"Memos of a coin.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nWith a chain reader nodexch reads the memos from the spend that created the coin, in the node's own database file (`x-nodexch-source: chain-reader`).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_memos_by_coin_name","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByCoinName"},"example":{"name":"0xef8b8b0311804b2dd67326dd6cdb05ef87d654582c96f7ff9e95fad1a1cb3ba3"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"memos":["0x0d17a2d94cc4f2fae4a5b6182e04f9cc4aac2b9cf0576165b20e8530bdb9562a"],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_mempool_item_by_tx_id":{"post":{"tags":["Mempool"],"summary":"A mempool item by transaction id","description":"A mempool item by transaction id.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_mempool_item_by_tx_id).","operationId":"get_mempool_item_by_tx_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMempoolItemByTxId"},"example":{"tx_id":"0x639c4bdc7d508736d68140cd2b1390f34c277f44ee5e345527af85e708578383"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_mempool_items_by_coin_name":{"post":{"tags":["Mempool"],"summary":"Mempool items that spend or create a coin","description":"Mempool items that spend or create a coin.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_mempool_items_by_coin_name).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_mempool_items_by_coin_name","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMempoolItemsByCoinName"},"example":{"coin_name":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"mempool_items":[],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_network_info":{"post":{"tags":["Full Node"],"summary":"Network name and address prefix","description":"Network name and address prefix.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_network_info).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_network_info","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"},"example":{}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"network_name":"mainnet","network_prefix":"xch","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_network_space":{"post":{"tags":["Full Node"],"summary":"Estimated network space between two blocks","description":"Estimated network space between two blocks.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_network_space).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_network_space","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNetworkSpace"},"example":{"newer_block_header_hash":"0x5a3c793a73aa5976eca2b3ee8843b7ed63513aa82fcd8d5e94248855ba7f4410","older_block_header_hash":"0xf9e313d43321a3be13e6a38fbe293be1c3336e745696d601fa854f2b95ebc910"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"space":4.296365055915818e+19,"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_nft_balance_by_p2":{"post":{"tags":["NFTs and singletons"],"summary":"Number of NFTs an address holds","description":"Number of NFTs an address holds.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_nft_balance_by_p2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByP2"},"example":{"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"confirmed_balance":"176","locked_balance":"0","p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","pending_balance":"0","pending_locked_balance":"0","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_nft_coins_by_nft_id":{"post":{"tags":["NFTs and singletons"],"summary":"Coins of an NFT","description":"Coins of an NFT.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nWith a chain reader (`chia-db-reader`) nodexch follows the singleton from its launcher through the node's own database file, each coin's owner and royalty read from its spends (`x-nodexch-source: chain-reader`). An `nft1…` id, or an NFT not in the file, goes to the upstream's index (`INDEXED_PASSTHROUGH`).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_nft_coins_by_nft_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NftCoinsByNftId"},"example":{"include_spent_coins":true,"limit":10,"nft_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_records":[{"coin_record":{"coin":{"amount":1,"parent_coin_info":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","puzzle_hash":"0x426307c63b755d72142fe5114998a7df41cd8ecd1c7f56106bc54ebb104a1b71"},"coinbase":false,"confirmed_block_index":7448647,"spent":true,"spent_block_index":7448647,"timestamp":1754814189},"nft_id":"a8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","nft_standard":"NFT1","p2":"0x3ef5eef970067b7128d42a14632de22b7f4b59b8ed4a38e038f7e0bf61d95e79","royalty":{"royalty_basis_points":1000,"royalty_puzzle_hash":"0xa248b7d99c1f80820c1acc4180ee6034a3295eeb2ccd759b36dfe2af23680985"}},{"coin_record":{"coin":{"amount":1,"parent_coin_info":"0xcaa7dd83579f3471561776d09f3042a3b59da05efbcdc803e96b350b2f50775d","puzzle_hash":"0xc374e71616affdcffc8b1cdedf32f54fe8dd5cd789cc1abc4cd2a68e2c4d274f"},"coinbase":false,"confirmed_block_index":7448647,"spent":true,"spent_block_index":7448657,"timestamp":1754814189},"nft_id":"a8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","nft_standard":"NFT1","p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","royalty":{"royalty_basis_points":1000,"royalty_puzzle_hash":"0xa248b7d99c1f80820c1acc4180ee6034a3295eeb2ccd759b36dfe2af23680985"}}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_nft_ids_by_p2":{"post":{"tags":["NFTs and singletons"],"summary":"NFT ids an address holds","description":"NFT ids an address holds.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_nft_ids_by_p2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NftIdsByP2"},"example":{"limit":10,"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"next_cursor":"nft_p2_unspent/b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00/106330ccad96570a…","nft_ids":["010efc10e0cdf8bfbdf38922142913ef3f20a6b7ad2ae78425535eeeef61233b","0484ef0588e44c204d68e008454aa6387969e3eb84c0e687e0d7fbaee956a05b"],"success":true,"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_offer":{"post":{"tags":["Offers"],"summary":"An offer with its status","description":"An offer with its status.\n\n**Answered by:** nodexch's indexer, from its database (Postgres).\n\nWhat the chain does not hold and nodexch keeps in its own database: offers, open ones and the history of taken ones. Needs the indexer; NFT lookups do not use it (they are chain data).\n\n`offer_id` is Coinset's id of the offer (Dexie's `trade_id`); the SHA-256 of the offer text works too. `state.status` is `open`, `pending` or `confirmed` (taken). The answer has no `success` field, as at Coinset.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_offer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByOfferId"},"example":{"offer_id":"0x07ed4c657774f7ab7ab9ef60c2befa715354d8c38b7a2a7ad3d217a23e30336c"}}}},"responses":{"200":{"description":"The answer in Coinset's shape, from nodexch's indexer. An unknown offer is Coinset's `OFFER_NOT_FOUND` (`success: false`), still with HTTP 200.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"offer_id":"07ed4c657774f7ab7ab9ef60c2befa715354d8c38b7a2a7ad3d217a23e30336c","state":{"fee_mojos":0,"first_seen_ms":1778086397067,"last_updated_ms":1778086397067,"maker_p2s":["b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"],"offer_id":"07ed4c657774f7ab7ab9ef60c2befa715354d8c38b7a2a7ad3d217a23e30336c","offered_cat_asset_ids":["db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20"],"offered_cat_mojos":{"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20":5000000},"offered_nft_ids":[],"offered_xch_mojos":0,"pending_p2s":[],"requested_cat_asset_ids":[],"requested_nft_ids":[],"requested_xch_mojos":40000000000000,"status":"open"}}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment runs without the indexer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"indexer"}},"/get_offers_by_cat_asset_id":{"post":{"tags":["Offers"],"summary":"Offers that involve a CAT","description":"Offers that involve a CAT.\n\n**Answered by:** nodexch's indexer, from its database (Postgres).\n\nWhat the chain does not hold and nodexch keeps in its own database: offers, open ones and the history of taken ones. Needs the indexer; NFT lookups do not use it (they are chain data).\n\nPaged: `limit` (default 100, at most 500), `order`, and `cursor` from the previous page's `next_cursor`; `truncated: true` says there is more. `status: completed` (nodexch's own) pages the taken offers, newest first: the trade history.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_offers_by_cat_asset_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OffersByAsset"},"example":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","filter":"offered","limit":10}}}},"responses":{"200":{"description":"The answer in Coinset's shape, from nodexch's indexer. An unknown offer is Coinset's `OFFER_NOT_FOUND` (`success: false`), still with HTTP 200.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"asset_id":"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","filter":"offered","next_cursor":"offer_cat_open/offered/db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20/1778092557196#d8ffcd60e7cf532d5819076bbb8c0cbcbd51fbe504a9d5fdba3469dabd1e2c4f","offers":[{"fee_mojos":0,"first_seen_ms":1778086397067,"last_updated_ms":1778086397067,"maker_p2s":["b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"],"offer_id":"07ed4c657774f7ab7ab9ef60c2befa715354d8c38b7a2a7ad3d217a23e30336c","offered_cat_asset_ids":["db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20"],"offered_cat_mojos":{"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20":5000000},"offered_nft_ids":[],"offered_xch_mojos":0,"pending_p2s":[],"requested_cat_asset_ids":[],"requested_nft_ids":[],"requested_xch_mojos":40000000000000,"status":"open"},{"fee_mojos":261581383,"first_seen_ms":1778088123130,"last_updated_ms":1778088123130,"maker_p2s":["87e1daa676708c71c20c1a4c93aa325371eebd4584dbb8f290e98f2e61202ddd","303d6147421094acf5d31133a7bf6e6dcd4556f3ddeba594512d4575b6f6c3a3"],"offer_id":"e12b4512729ff67c2bd3776e363202bbdab7072a75a827521f741fe1c8f19ba9","offered_cat_asset_ids":["db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20"],"offered_cat_mojos":{"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20":672150},"offered_nft_ids":[],"offered_xch_mojos":0,"pending_p2s":[],"requested_cat_asset_ids":[],"requested_nft_ids":[],"requested_xch_mojos":4961641773920,"status":"open"}],"status":"open","success":true,"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment runs without the indexer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"indexer"}},"/get_offers_by_nft_id":{"post":{"tags":["Offers"],"summary":"Offers that involve an NFT","description":"Offers that involve an NFT.\n\n**Answered by:** nodexch's indexer, from its database (Postgres).\n\nWhat the chain does not hold and nodexch keeps in its own database: offers, open ones and the history of taken ones. Needs the indexer; NFT lookups do not use it (they are chain data).\n\nThe offers that move an NFT, from the offers nodexch keeps, paged as `get_offers_by_cat_asset_id`. `nft_id` is the launcher id as hex, or (nodexch's own) an `nft1…` id. Nothing of the NFT itself (metadata, images) is fetched or kept.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_offers_by_nft_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OffersByNft"},"example":{"limit":10,"nft_id":"0x5c300277735005da7bdb05afa3f60ed2ec96cb408de23469c2439e3068d39e3b"}}}},"responses":{"200":{"description":"The answer in Coinset's shape, from nodexch's indexer. An unknown offer is Coinset's `OFFER_NOT_FOUND` (`success: false`), still with HTTP 200.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"filter":"all","nft_id":"5c300277735005da7bdb05afa3f60ed2ec96cb408de23469c2439e3068d39e3b","offers":[{"fee_mojos":0,"first_seen_ms":1786888813566,"last_updated_ms":1786888813566,"maker_p2s":["64595f878cab211ea31bcfa9efed8b71c26314d5d4bbaf73f502daeff56761b5"],"offer_id":"7f447aa9af87569fcc860dbb10f60f5a1f698a3c8e4f02864b2471b8cbea19c1","offered_cat_asset_ids":[],"offered_nft_ids":["5c300277735005da7bdb05afa3f60ed2ec96cb408de23469c2439e3068d39e3b"],"offered_xch_mojos":0,"pending_p2s":[],"requested_cat_asset_ids":["a406d3a9de984d03c9591c10d917593b434d5263cabe2b42f6b367df16832f81"],"requested_cat_mojos":{"a406d3a9de984d03c9591c10d917593b434d5263cabe2b42f6b367df16832f81":46900},"requested_nft_ids":[],"requested_xch_mojos":0,"status":"open"}],"status":"open","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment runs without the indexer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"indexer"}},"/get_offers_by_p2":{"post":{"tags":["Offers"],"summary":"Offers of an address","description":"Offers of an address.\n\n**Answered by:** nodexch's indexer, from its database (Postgres).\n\nWhat the chain does not hold and nodexch keeps in its own database: offers, open ones and the history of taken ones. Needs the indexer; NFT lookups do not use it (they are chain data).\n\nNot served by nodexch's indexer yet (501); with `INDEXED_PASSTHROUGH` the gateway asks the upstream's index instead.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_offers_by_p2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OffersByP2"},"example":{"limit":10,"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"The answer in Coinset's shape, from nodexch's indexer. An unknown offer is Coinset's `OFFER_NOT_FOUND` (`success: false`), still with HTTP 200.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"next_cursor":"offer_p2_open/b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00/1779006123634#faee0c9e463b5dd0eb77bb884deb83a59a5bcea14cfd51f559fdcc7eaac5b080","offers":[{"fee_mojos":0,"first_seen_ms":1778086397067,"last_updated_ms":1778086397067,"maker_p2s":["b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"],"offer_id":"07ed4c657774f7ab7ab9ef60c2befa715354d8c38b7a2a7ad3d217a23e30336c","offered_cat_asset_ids":["db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20"],"offered_cat_mojos":{"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20":5000000},"offered_nft_ids":[],"offered_xch_mojos":0,"pending_p2s":[],"requested_cat_asset_ids":[],"requested_nft_ids":[],"requested_xch_mojos":40000000000000,"status":"open"},{"fee_mojos":0,"first_seen_ms":1778093227202,"last_updated_ms":1778093227202,"maker_p2s":["b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"],"offer_id":"18c73c8546613e08d2a1b135f60276939dc4675d93d29d5f18435a7fe9ffa3d2","offered_cat_asset_ids":[],"offered_nft_ids":[],"offered_xch_mojos":14000000000000,"pending_p2s":[],"requested_cat_asset_ids":["db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20"],"requested_cat_mojos":{"db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20":2000000},"requested_nft_ids":[],"requested_xch_mojos":0,"status":"open"}],"p2":"b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","status":"open","success":true,"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment runs without the indexer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"indexer"}},"/get_pending_transactions_by_p2":{"post":{"tags":["Transactions"],"summary":"Mempool transactions of an address","description":"Mempool transactions of an address.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_pending_transactions_by_p2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByP2Paged"},"example":{"limit":10,"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"success":true,"transactions":[{"confirmed_at_ms":1788381268000,"confirmed_header_hash":"104b363f3c3a761d17e86036cee890bde199f80bc982b050ee02680dc8ee9681","confirmed_height":9237027,"cost":123590650,"events":[{"fee_mojos":"0","inputs":[{"amount":"500000","coin_id":"0x04f2a2f5f960152124a83196563f01d2195eef01108c2af8f7145411c8bd1e2d","coin_type":{"asset_id":"0xa406d3a9de984d03c9591c10d917593b434d5263cabe2b42f6b367df16832f81","custody_p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"CAT"},"puzzle_hash":"0x49b4022c7f6ac5d09046a816fa1d3e64a02238c09b6461861391be11bcf5d521"},{"amount":"34750","coin_id":"0x64841abbaf93692ffdf93ce8375511b7188afe262345deb4da409429dd20bb89","coin_type":{"asset_id":"0xa406d3a9de984d03c9591c10d917593b434d5263cabe2b42f6b367df16832f81","custody_p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"CAT"},"puzzle_hash":"0x49b4022c7f6ac5d09046a816fa1d3e64a02238c09b6461861391be11bcf5d521"}],"memos":[],"outputs":[{"amount":"539882","coin_id":"0x9e1cf5250e9f4e4728748d3c2f1177f2ab6c59bd3374250132878b072c15efdc","coin_type":{"asset_id":"0xa406d3a9de984d03c9591c10d917593b434d5263cabe2b42f6b367df16832f81","custody_p2":"0xc8d4fe2ade8edbde746d337529f90c04f24f7d1d043b59797b258bb454441553","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0xe8927b3ffd7cef25b854dcf009096e8d9c6ebb0c0e0d7fda6e56eb5a5f748cc9"}],"participants":[{"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","received":{"cats":[],"nfts":[],"xch":"0"},"sent":{"cats":[{"amount":"539882","asset_id":"0xa406d3a9de984d03c9591c10d917593b434d5263cabe2b42f6b367df16832f81"}],"nfts":[],"xch":"0"}},{"p2":"0xc8d4fe2ade8edbde746d337529f90c04f24f7d1d043b59797b258bb454441553","received":{"cats":[{"amount":"539882","asset_id":"0xa406d3a9de984d03c9591c10d917593b434d5263cabe2b42f6b367df16832f81"}],"nfts":[],"xch":"0"},"sent":{"cats":[],"nfts":[],"xch":"0"}}],"type":"Transfer"}],"fee_mojos":"0","first_seen_ms":1788380202957,"id":"406691e9a0ed8c6d438b1fb550131ba25d98c662845b34f36c02935cae243c79","last_updated_ms":1788381306405,"schema_version":1,"source":"mempool","status":"confirmed"},{"confirmed_at_ms":1788946847000,"confirmed_header_hash":"6018f55ecab678b01294d469a6ca12201aabfa8ec06f0669f09dadba1502bb9b","confirmed_height":9267372,"cost":2336099594,"events":[{"fee_mojos":"250000001","inputs":[{"amount":"1","coin_id":"0x09369f108929a061bd5d62f448e2867c4c8b0e7f440519fc87554b69b20844f9","coin_type":{"asset_id":"0x9c151fbd807a935463478482317770f4cd4bcd511edaa9aa20b2cc8fbdff7973","custody_p2":"0x89e33bc013a716b4d3ef16a5329ba74f332b08f7254a1cff72f35b6c8d8536e7","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"NFT"},"puzzle_hash":"0x2990baedd2d9dc1b377d5c6ef9a35e35fbcbcc19225daf93541b51ce31edc4da"},{"amount":"1","coin_id":"0x0d73c47963d43d211f9d70fa373e2d92ecce5434b79fb9c1d54c0627b469dcae","coin_type":{"asset_id":"0x5079579d0d03e8093f8073400bc404c4248c542ebadcf17ea92adfa80ecfca09","custody_p2":"0xda4866ba05b059aa867a37cf81cfae95be94a6e4ea51365edbdd4bfae4659364","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"NFT"},"puzzle_hash":"0x0eb1e252e7ca0e43bcc524a534196d9254a744b9d9d3c14d548ac6cf34e58bad"}],"legs":[{"p2":"0x3439ea0c854bfd0f0c9ca9cf5d567541affd7a0a20e33fee3887d923bf1175a8","received":{"cats":[],"nfts":[],"xch":"0"},"sent":{"cats":[],"nfts":["0x306dce375a7b2f6e5105d56b4f9f76bf572558b3d07de29f07a4fa6fd9267991","0x6e6b40728213c5f690ba8f91ac7c176afef1fcde199f136b39274e633874689f"],"xch":"2"}},{"p2":"0x37cec357c853a9a5f4fe9cb8d2d7e9b33dd4427f8600fa60eaf9581afa72a2f2","received":{"cats":[],"nfts":[],"xch":"0"},"sent":{"cats":[],"nfts":["0x5a21d6f296599fc70464ac532e3b4c1f7f6bfc67eb4fc6501731eb577880979a"],"xch":"1"}}],"memos":[],"outputs":[{"amount":"1","coin_id":"0x01b3aaf8980b5e6e6d61cff0674d674f8ef18adeeac78862a5f1afcc537a9165","coin_type":{"asset_id":"0x6829944727d209df4af5812addf8a1bb13b9d8047c52843daa480e6a1b44cf14","custody_p2":"0x474109361b1c74e9882bb8f3ecb3ca00c57dff5dbba5fd3a56c9edb16d981967","custody_puzzle_type":"Unknown","outer_puzzle_type":"NFT"},"puzzle_hash":"0x40a2a8c4a5066b8d2297f30369fa2602829cb9d6171d80e8257f5342ec34a145"},{"amount":"1","coin_id":"0x077185c611f7ca484cfe9739ba670937be3ef3c04ac1efba54424715c149fdf3","coin_type":{"asset_id":"0x306dce375a7b2f6e5105d56b4f9f76bf572558b3d07de29f07a4fa6fd9267991","custody_p2":"0x474109361b1c74e9882bb8f3ecb3ca00c57dff5dbba5fd3a56c9edb16d981967","custody_puzzle_type":"Unknown","outer_puzzle_type":"NFT"},"puzzle_hash":"0xe6bb749e3676254605e6b8cca18043ff2805f71a68e03d1068c3196f390c87ac"}],"royalties":[],"type":"Swap"}],"fee_mojos":"250000001","first_seen_ms":1788946828260,"id":"15e8b3f88e9e69e66f9136d160874ff45316871b3e3ad4cd5bf50509e819f287","last_updated_ms":1788946926261,"schema_version":1,"source":"mempool","status":"confirmed"}]}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_puzzle_and_solution":{"post":{"tags":["Coins"],"summary":"Puzzle reveal and solution of a spent coin","description":"Puzzle reveal and solution of a spent coin.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_puzzle_and_solution).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_puzzle_and_solution","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPuzzleAndSolution"},"example":{"coin_id":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","height":2413252}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_solution":{"coin":{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},"puzzle_reveal":"0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff…","solution":"0xff80ffff01ffff33ffa027ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604ff85174876…"},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_puzzle_and_solution_with_conditions":{"post":{"tags":["Coins"],"summary":"Puzzle reveal, solution and conditions of a spent coin","description":"Puzzle reveal, solution and conditions of a spent coin.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_puzzle_and_solution_with_conditions).\n\nWith a chain reader nodexch decodes the block's generator from the node's database file and runs each spend for its conditions, every argument included (Coinset's shape: `{\"opcode\": \"0x33\", \"vars\": [...]}`; a node writes `[51, [...]]`).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_puzzle_and_solution_with_conditions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPuzzleAndSolution"},"example":{"coin_id":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","height":2413252}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_solution":{"coin":{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},"puzzle_reveal":"0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff…","solution":"0xff80ffff01ffff33ffa027ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604ff85174876…"},"conditions":[{"opcode":"0x32","vars":["0x94172c65c7f47e1ee17f6211a86cd686f8b19d33d92d285c131420b97393beb2cd68e3f73fae85a287aa5438840dcda2","0x4bb74daf4d5cf304c258e2d5afb890f230a2a33a1bc4e4c74e10e5aa505521f2"]},{"opcode":"0x33","vars":["0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604","0x174876e800"]}],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_raw_transaction_by_id":{"post":{"tags":["Transactions"],"summary":"A transaction as its spend bundle","description":"A transaction as its spend bundle.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_raw_transaction_by_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByTxId"},"example":{"tx_id":"0x639c4bdc7d508736d68140cd2b1390f34c277f44ee5e345527af85e708578383"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"item":{"additions":[],"cost":0,"fee":0,"npc_result":{"Error":null,"conds":null},"removals":[{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},{"amount":100000000000,"parent_coin_info":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","puzzle_hash":"0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604"}],"spend_bundle":{"aggregated_signature":"0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","coin_spends":[{"coin":{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},"puzzle_reveal":"0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff…","solution":"0xff80ffff01ffff33ffa027ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604ff85174876…"},{"coin":{"amount":100000000000,"parent_coin_info":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","puzzle_hash":"0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604"},"puzzle_reveal":"0xff02ffff01ff02ffff01ff02ff5effff04ff02ffff04ffff04ff05ffff04ffff0bff34ff0580ffff04ff0bff808080…","solution":"0xff80ff80ffa0e1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71ffffa011ee8231d5c2…"}]},"spend_bundle_name":"0x708127539cdc631220fdb0ff4938b89e0595c57a70977ee6d2d83dbd1b2dc57a"},"source":"inferred","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_recent_signage_point_or_eos":{"post":{"tags":["Full Node"],"summary":"A recent signage point or end of sub-slot","description":"A recent signage point or end of sub-slot.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_recent_signage_point_or_eos).","operationId":"get_recent_signage_point_or_eos","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRecentSignagePointOrEos"},"example":{"sp_hash":"0x0126e08fc4c6339a62f361d1f94e43fc46c1cdcac872f016abbfd428171a80f6"}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_reorgs":{"post":{"tags":["Transactions"],"summary":"Recent chain reorganisations","description":"Recent chain reorganisations.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nNext to an own node nodexch answers this itself, never cached: the reorgs its event loop saw, newest first, in Coinset's shape and paged by Coinset's cursor. With an indexer they are its record, kept across restarts (`x-nodexch-tier: index`); without one, those since the gateway started (`x-nodexch-tier: none`). Coinset's own history goes back further: `INDEXED_PASSTHROUGH` asks the upstream instead.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_reorgs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagingOnly"},"example":{"limit":10}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"next_cursor":"reorg/event/00000000000000000078","reorgs":[{"detected_at_ms":1790352221420,"id":"reorg_00000000000000000088","new_peak_hash":"6a6dadc22992c313b545b0e526b8d991e003a315367783d042f3a8f1850a05dc","new_peak_height":9342620,"old_peak_hash":"4452b8431453b45d6fdba35a79d1f12bfddc94cbad70c1c505eac500a20386f5","old_peak_height":9342621,"reorg_depth":1},{"detected_at_ms":1790058953494,"id":"reorg_00000000000000000087","new_peak_hash":"b2bd2c5b2dd96bf6a7329c30f8daa6e79723ecdad79afa91db9abc51c562707a","new_peak_height":9326775,"old_peak_hash":"5fc43236ae068d86e25c043861dfbbe10af590c33b6ccfc23926963d083142e1","old_peak_height":9326776,"reorg_depth":1}],"success":true,"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_singleton_info":{"post":{"tags":["NFTs and singletons"],"summary":"Current state of a singleton","description":"Current state of a singleton.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nWith a chain reader (`chia-db-reader`) nodexch follows the singleton from its launcher through the node's own database file, each coin's owner and royalty read from its spends (`x-nodexch-source: chain-reader`). An `nft1…` id, or an NFT not in the file, goes to the upstream's index (`INDEXED_PASSTHROUGH`).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_singleton_info","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByLauncherId"},"example":{"launcher_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_record":{"coin":{"amount":1,"parent_coin_info":"0x6f731c7774d286e98ff16965ea1a3f10b2ed99e333a72b8f3f18e1f0f0f7fb41","puzzle_hash":"0xc2d15d98ab7e590b892363db231a4f77ab4076a4f7628da8872508d64b4898ce"},"coinbase":false,"confirmed_block_index":7476545,"spent":false,"spent_block_index":0,"timestamp":1755336284},"launcher_id":"a8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","singleton_type":"nft","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_transaction":{"post":{"tags":["Transactions"],"summary":"A transaction with its semantic summary","description":"A transaction with its semantic summary.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_transaction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByTxId"},"example":{"tx_id":"0x639c4bdc7d508736d68140cd2b1390f34c277f44ee5e345527af85e708578383"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"success":true,"transaction":{"confirmed_at_ms":1660751468000,"confirmed_header_hash":"acb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a","confirmed_height":2413252,"cost":0,"events":[{"fee_mojos":"0","inputs":[{"amount":"179999989021","coin_id":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","coin_type":{"custody_p2":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"XCH"},"puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},{"amount":"100000000000","coin_id":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604"}],"memos":[],"minted":{"amount":"100000000000","asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","asset_type":"cat"},"minter_confidence":"exact","minter_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","outputs":[{"amount":"79999989021","coin_id":"0x8e07c30c4b8aafe0bad9ffb26ccdbd78533edecbb0e3f1dbebd69c37dfab6433","coin_type":{"custody_p2":"0x57313325562861b8ec78ed9334e101f3817c1191e2cf94c9fa496c1e2428a069","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0x57313325562861b8ec78ed9334e101f3817c1191e2cf94c9fa496c1e2428a069"},{"amount":"100000000000","coin_id":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604"}],"recipient_p2":"0x0d17a2d94cc4f2fae4a5b6182e04f9cc4aac2b9cf0576165b20e8530bdb9562a","type":"Mint"}],"fee_mojos":"0","id":"639c4bdc7d508736d68140cd2b1390f34c277f44ee5e345527af85e708578383","last_updated_ms":1660751468000,"schema_version":1,"source":"inferred","status":"confirmed"}}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_transactions_by_cat_asset_id":{"post":{"tags":["CATs"],"summary":"Transactions of a CAT","description":"Transactions of a CAT.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_transactions_by_cat_asset_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByAssetIdPaged"},"example":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","limit":10,"order":"asc"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"next_cursor":"tx_cat/db1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20/0002574922#c2d8a8c171a65f09cf99b973d29a867be4f05e8802432f4485cfc6e34238fea9","success":true,"transactions":[{"confirmed_at_ms":1660751468000,"confirmed_header_hash":"acb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a","confirmed_height":2413252,"cost":0,"events":[{"fee_mojos":"0","inputs":[{"amount":"179999989021","coin_id":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","coin_type":{"custody_p2":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"XCH"},"puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},{"amount":"100000000000","coin_id":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604"}],"memos":[],"minted":{"amount":"100000000000","asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","asset_type":"cat"},"minter_confidence":"exact","minter_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","outputs":[{"amount":"79999989021","coin_id":"0x8e07c30c4b8aafe0bad9ffb26ccdbd78533edecbb0e3f1dbebd69c37dfab6433","coin_type":{"custody_p2":"0x57313325562861b8ec78ed9334e101f3817c1191e2cf94c9fa496c1e2428a069","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0x57313325562861b8ec78ed9334e101f3817c1191e2cf94c9fa496c1e2428a069"},{"amount":"100000000000","coin_id":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604"}],"recipient_p2":"0x0d17a2d94cc4f2fae4a5b6182e04f9cc4aac2b9cf0576165b20e8530bdb9562a","type":"Mint"}],"fee_mojos":"0","id":"639c4bdc7d508736d68140cd2b1390f34c277f44ee5e345527af85e708578383","last_updated_ms":1660751468000,"schema_version":1,"source":"inferred","status":"confirmed"},{"confirmed_at_ms":1663620087000,"confirmed_header_hash":"1f83c11855b7e9923d7f9621527dffd9232eafbcaaa9fef186c44f290e2851e6","confirmed_height":2566556,"cost":0,"events":[{"fee_mojos":"0","inputs":[{"amount":"100000000000","coin_id":"0xef8b8b0311804b2dd67326dd6cdb05ef87d654582c96f7ff9e95fad1a1cb3ba3","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x0d17a2d94cc4f2fae4a5b6182e04f9cc4aac2b9cf0576165b20e8530bdb9562a","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"CAT"},"puzzle_hash":"0x3c1414360063702e60ff2c8068d7717103e223bd1b30c502498b0acbb0618807"}],"memos":[],"outputs":[{"amount":"41000000000","coin_id":"0x2f364a161655c9fb93e3c40d2bc61da434b1043749cfdb9f34f2de3a466fca01","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x5cbf50e2132f096e7495f6dd2708228e44bb9299ee743c13ad891a6351b1ebef","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0x7fdc59070223da86eebaaa6f3d4950cd582066253855dd11813678e340c03cbf"},{"amount":"59000000000","coin_id":"0x83c3ec7f42d7b2160385caa3726efb7c52aa4d0a05c9a41c8307bf8b3f50ee8f","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x90c53ac173943f3b3403d8b9128f4d9ad400d589a455b224a44828f3e282794b","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0xc2cd1d5dc5e298d546162d3e0dec669103f56292298b896ead0424d9d4cd8d16"}],"participants":[{"p2":"0x0d17a2d94cc4f2fae4a5b6182e04f9cc4aac2b9cf0576165b20e8530bdb9562a","received":{"cats":[],"nfts":[],"xch":"0"},"sent":{"cats":[{"amount":"100000000000","asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20"}],"nfts":[],"xch":"0"}},{"p2":"0x5cbf50e2132f096e7495f6dd2708228e44bb9299ee743c13ad891a6351b1ebef","received":{"cats":[{"amount":"41000000000","asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20"}],"nfts":[],"xch":"0"},"sent":{"cats":[],"nfts":[],"xch":"0"}}],"type":"Transfer"}],"fee_mojos":"0","id":"618d4dc811e19fa3009adc65a9f8126a79c28fa6a80c130656b9a9f3c5bcef8c","last_updated_ms":1663620087000,"schema_version":1,"source":"inferred","status":"confirmed"}],"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_transactions_by_coin_name":{"post":{"tags":["Transactions"],"summary":"Transactions that created or spent a coin","description":"Transactions that created or spent a coin.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_transactions_by_coin_name","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByCoinNameIndexed"},"example":{"coin_name":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","include_transactions":true}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"coin_name":"11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","created_in_tx_id":"61e0365b9fa84cd5b0b97460b98212d0fb46fbf57178f0b37974053b4a141bee","created_transaction":{"confirmed_at_ms":1660751272000,"confirmed_header_hash":"14dacdce9217097a037c9ea1eeb796d76f094a441a9ca90d923b52471a310dc9","confirmed_height":2413241,"cost":0,"events":[{"fee_mojos":"0","inputs":[{"amount":"200000000000","coin_id":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","coin_type":{"custody_p2":"0xd81bb4d7217baebe4c6899cf1cec6b3206f8fe0141c10a8528117f0c240ccbda","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"XCH"},"puzzle_hash":"0xd81bb4d7217baebe4c6899cf1cec6b3206f8fe0141c10a8528117f0c240ccbda"}],"memos":[],"outputs":[{"amount":"179999989021","coin_id":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","coin_type":{"custody_p2":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},{"amount":"20000010979","coin_id":"0xe46e1974b5fc2ef89635ce0c0b4e4a5e8e20494b81f2dbde9f3a0ea08d8cb730","coin_type":{"custody_p2":"0x10566bd3db50d5897fec3d0ada854d099befd75b79c51ed1e908f9fa4abbd27e","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0x10566bd3db50d5897fec3d0ada854d099befd75b79c51ed1e908f9fa4abbd27e"}],"participants":[{"p2":"0x10566bd3db50d5897fec3d0ada854d099befd75b79c51ed1e908f9fa4abbd27e","received":{"cats":[],"nfts":[],"xch":"20000010979"},"sent":{"cats":[],"nfts":[],"xch":"0"}},{"p2":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a","received":{"cats":[],"nfts":[],"xch":"179999989021"},"sent":{"cats":[],"nfts":[],"xch":"0"}}],"type":"Transfer"}],"fee_mojos":"0","id":"61e0365b9fa84cd5b0b97460b98212d0fb46fbf57178f0b37974053b4a141bee","last_updated_ms":1660751272000,"schema_version":1,"source":"inferred","status":"confirmed"},"spent_in_tx_id":"639c4bdc7d508736d68140cd2b1390f34c277f44ee5e345527af85e708578383","spent_transaction":{"confirmed_at_ms":1660751468000,"confirmed_header_hash":"acb82391019b997c995891848a57bbdedf78a06e090eea1d0fd8f076ae7a435a","confirmed_height":2413252,"cost":0,"events":[{"fee_mojos":"0","inputs":[{"amount":"179999989021","coin_id":"0x11ee8231d5c23916e3bcb270177edd797b9f9d9bbb53bb1e840dd7f1cbc17e72","coin_type":{"custody_p2":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"XCH"},"puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},{"amount":"100000000000","coin_id":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604"}],"memos":[],"minted":{"amount":"100000000000","asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","asset_type":"cat"},"minter_confidence":"exact","minter_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","outputs":[{"amount":"79999989021","coin_id":"0x8e07c30c4b8aafe0bad9ffb26ccdbd78533edecbb0e3f1dbebd69c37dfab6433","coin_type":{"custody_p2":"0x57313325562861b8ec78ed9334e101f3817c1191e2cf94c9fa496c1e2428a069","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0x57313325562861b8ec78ed9334e101f3817c1191e2cf94c9fa496c1e2428a069"},{"amount":"100000000000","coin_id":"0xe1cd51e63731db4e4dd9e20d888a3b278dddf401ebcc32410a13b4f1b457bb71","coin_type":{"asset_id":"0xdb1a9020d48d9d4ad22631b66ab4b9ebd3637ef7758ad38881348c5d24c38f20","custody_p2":"0x45d8e5fe3ff59264b48e2f7ab3095bbb342e440f8d7f4728d434181c3605224e","custody_puzzle_type":"Unknown","outer_puzzle_type":"CAT"},"puzzle_hash":"0x27ed615a256fb61ed599d5ab4f0a251235bd13e76dc1157a470abafd2cc7c604"}],"recipient_p2":"0x0d17a2d94cc4f2fae4a5b6182e04f9cc4aac2b9cf0576165b20e8530bdb9562a","type":"Mint"}],"fee_mojos":"0","id":"639c4bdc7d508736d68140cd2b1390f34c277f44ee5e345527af85e708578383","last_updated_ms":1660751468000,"schema_version":1,"source":"inferred","status":"confirmed"},"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_transactions_by_nft_id":{"post":{"tags":["NFTs and singletons"],"summary":"Transactions of an NFT","description":"Transactions of an NFT.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_transactions_by_nft_id","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByNftIdPaged"},"example":{"limit":10,"nft_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"success":true,"transactions":[{"confirmed_at_ms":1754814189000,"confirmed_header_hash":"6d25705be4b877d8d9cf3c0888c66b2030a6bd1f75d0338c22af48a0e23837ff","confirmed_height":7448647,"cost":169752949,"events":[{"fee_mojos":"149475000","inputs":[{"amount":"1","coin_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","coin_type":{"custody_p2":"0xeff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9","custody_puzzle_type":"SingletonLauncher","outer_puzzle_type":"XCH"},"puzzle_hash":"0xeff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9"}],"memos":[],"minted":{"asset_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","asset_type":"nft"},"minter_confidence":"exact","minter_p2":"0xeff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9","outputs":[{"amount":"1","coin_id":"0x0cda0ab1253dfc862228b757a1aac68b0c105fc1c9b0aa3091b0adbeb1bca02e","coin_type":{"asset_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","custody_p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","custody_puzzle_type":"Unknown","outer_puzzle_type":"NFT"},"puzzle_hash":"0xc374e71616affdcffc8b1cdedf32f54fe8dd5cd789cc1abc4cd2a68e2c4d274f"}],"recipient_p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","type":"Mint"},{"fee_mojos":"149475000","inputs":[{"amount":"1","coin_id":"0x0120fe230450b8326bcc8476d0beb99b38acace4ddb37bc50ef227462298da77","coin_type":{"custody_p2":"0x3528c60a03aebf5b558647ebb9c94791c4d4e9f6f09cda50ae045a136551d054","custody_puzzle_type":"DynamicNftLauncher","outer_puzzle_type":"XCH"},"puzzle_hash":"0x3528c60a03aebf5b558647ebb9c94791c4d4e9f6f09cda50ae045a136551d054"},{"amount":"1","coin_id":"0x076793820f713b6ac3820ae34e22b4d800d21075dea751cb1936d36184297ea3","coin_type":{"asset_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","custody_p2":"0x3ef5eef970067b7128d42a14632de22b7f4b59b8ed4a38e038f7e0bf61d95e79","custody_puzzle_type":"Unknown","outer_puzzle_type":"NFT"},"puzzle_hash":"0x426307c63b755d72142fe5114998a7df41cd8ecd1c7f56106bc54ebb104a1b71"}],"legs":[{"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","received":{"cats":[],"nfts":["0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3"],"xch":"32619534923189"},"sent":{"cats":[],"nfts":[],"xch":"0"}}],"memos":[],"outputs":[{"amount":"1","coin_id":"0x076793820f713b6ac3820ae34e22b4d800d21075dea751cb1936d36184297ea3","coin_type":{"asset_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","custody_p2":"0x3ef5eef970067b7128d42a14632de22b7f4b59b8ed4a38e038f7e0bf61d95e79","custody_puzzle_type":"Unknown","outer_puzzle_type":"NFT"},"puzzle_hash":"0x426307c63b755d72142fe5114998a7df41cd8ecd1c7f56106bc54ebb104a1b71"},{"amount":"2000000000","coin_id":"0x09918387a122c5f6533e29410909ff514f7a4d8c0e33005cda589145f2efc5da","coin_type":{"custody_p2":"0xa248b7d99c1f80820c1acc4180ee6034a3295eeb2ccd759b36dfe2af23680985","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0xa248b7d99c1f80820c1acc4180ee6034a3295eeb2ccd759b36dfe2af23680985"}],"royalties":[{"amount":{"cats":[],"nfts":[],"xch":"2000000000"},"recipient_p2":"0xa248b7d99c1f80820c1acc4180ee6034a3295eeb2ccd759b36dfe2af23680985"}],"type":"Swap"}],"fee_mojos":"149475000","id":"cc633a9dd85b8af173a08cf468271b54d8a30da72b246673491eef09219704c5","last_updated_ms":1754814189000,"schema_version":1,"source":"mempool","status":"confirmed"},{"confirmed_at_ms":1754814357000,"confirmed_header_hash":"42077a0b3d8c31309fc374a3c12d0991ea5fbeb293d1da5eb39600207ac92f01","confirmed_height":7448657,"cost":65860623,"events":[{"fee_mojos":"0","inputs":[{"amount":"1","coin_id":"0x0cda0ab1253dfc862228b757a1aac68b0c105fc1c9b0aa3091b0adbeb1bca02e","coin_type":{"asset_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","custody_p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"NFT"},"puzzle_hash":"0xc374e71616affdcffc8b1cdedf32f54fe8dd5cd789cc1abc4cd2a68e2c4d274f"}],"memos":[],"outputs":[{"amount":"1","coin_id":"0x5ad55429ca8c0267403ae55d4ae19a28a8264c6b774ed6c6dee6d37f6782eddf","coin_type":{"asset_id":"0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3","custody_p2":"0x9334ebddc5f95459c381de42ea71121a0d80199329003c90030eba6e0f5e839a","custody_puzzle_type":"Unknown","outer_puzzle_type":"NFT"},"puzzle_hash":"0xd44026a6ed9625ae610e1a6e6e7e5953068d0e14eb719936e2515af410cf6c8d"}],"participants":[{"p2":"0x9334ebddc5f95459c381de42ea71121a0d80199329003c90030eba6e0f5e839a","received":{"cats":[],"nfts":["0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3"],"xch":"0"},"sent":{"cats":[],"nfts":[],"xch":"0"}},{"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","received":{"cats":[],"nfts":[],"xch":"0"},"sent":{"cats":[],"nfts":["0xa8f3ce5d7001ce1e8c62ecfb9fc3876a28148995a10a3188169914f9729a1cc3"],"xch":"0"}}],"type":"Transfer"}],"fee_mojos":"0","id":"f0956244cf55a7d7d3969fb14272fb35b81f9765442bf482d68b2cf01eaa397e","last_updated_ms":1754814357000,"schema_version":1,"source":"mempool","status":"confirmed"}]}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_transactions_by_p2":{"post":{"tags":["Transactions"],"summary":"Transactions of an address","description":"Transactions of an address.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_transactions_by_p2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByP2Paged"},"example":{"limit":10,"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"next_cursor":"tx_ph/b27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00:0007452957#3c806e4771b714cb37bf66528cccecf112e182a895020f239b624c596cc16c2a","success":true,"transactions":[{"confirmed_at_ms":1754753304000,"confirmed_header_hash":"5d7d21922b4c774ff99d71d70eeacbb4a42d4e719aa045f0c013697ccace6073","confirmed_height":7445422,"cost":10122412,"events":[{"fee_mojos":"0","inputs":[{"amount":"65283368796376","coin_id":"0x63696ce0d964df56b8b8526f2705ec22e97652aba063df1d8e21f66be04e190c","coin_type":{"custody_p2":"0x29a47ecd50d29693dfbf4f2ad5d0750f0750428bbd9d3d374e120084cd0425e9","custody_puzzle_type":"P2DelegatedPuzzleOrHidden","outer_puzzle_type":"XCH"},"puzzle_hash":"0x29a47ecd50d29693dfbf4f2ad5d0750f0750428bbd9d3d374e120084cd0425e9"}],"memos":[],"outputs":[{"amount":"32641684398188","coin_id":"0xa8eed888a0761cfd43fc89fa1982f3afa61a3e528e15f24209e4040486c9ae52","coin_type":{"custody_p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"},{"amount":"32641684398188","coin_id":"0xd5b44d392b07aa153915facecc4f6df726fd018420b1cd3477a16bb0227bfa77","coin_type":{"custody_p2":"0x29a47ecd50d29693dfbf4f2ad5d0750f0750428bbd9d3d374e120084cd0425e9","custody_puzzle_type":"Unknown","outer_puzzle_type":"XCH"},"puzzle_hash":"0x29a47ecd50d29693dfbf4f2ad5d0750f0750428bbd9d3d374e120084cd0425e9"}],"participants":[{"p2":"0x29a47ecd50d29693dfbf4f2ad5d0750f0750428bbd9d3d374e120084cd0425e9","received":{"cats":[],"nfts":[],"xch":"32641684398188"},"sent":{"cats":[],"nfts":[],"xch":"65283368796376"}},{"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","received":{"cats":[],"nfts":[],"xch":"32641684398188"},"sent":{"cats":[],"nfts":[],"xch":"0"}}],"type":"Transfer"}],"fee_mojos":"0","id":"17f90b498422bf9e4dc770ee973eeb40b6bdf9dcfe859ee4764fd2526bfe6302","last_updated_ms":1754753304000,"schema_version":1,"source":"mempool","status":"confirmed"},{"confirmed_at_ms":1754753369000,"confirmed_header_hash":"9ea9ba0c7ded804fcaaf0125c155d554a69fc1d682df12f2d7e23a863f6c331e","confirmed_height":7445424,"cost":172896063,"events":[{"amm":{"pair":"0x921194ad05c9963e0181222d7b290fcc86184bc4d5a76ea520ca0ec5448748fe","protocol":"tibetswap"},"fee_mojos":"186843844","inputs":[{"amount":"7109792309","coin_id":"0x032ee21517c802f3f5ba2108bb6c92dbaaf1d782f56de3d93b4c54341c6e9423","coin_type":{"asset_id":"0xa628c1c2c6fcb74d53746157e438e108eab5c0bb3e5c80ff9b1910b3e4832913","custody_p2":"0xcfbfdeed5c4ca2de3d0bf520b9cb4bb7743a359bd2e6a188d19ce7dffc21d3e7","custody_puzzle_type":"SettlementPayments","outer_puzzle_type":"CAT"},"puzzle_hash":"0x9504e1882c8dbb6413b02e6d523261079d6fa7399a1eded0f95b7a7ec5d651de"},{"amount":"1567933144480","coin_id":"0x17e7c43a311cdf41e5f46bb2508bd6792532ad6090c17b9eb9112f2fac9f7732","coin_type":{"custody_p2":"0xcfbfdeed5c4ca2de3d0bf520b9cb4bb7743a359bd2e6a188d19ce7dffc21d3e7","custody_puzzle_type":"SettlementPayments","outer_puzzle_type":"XCH"},"puzzle_hash":"0xcfbfdeed5c4ca2de3d0bf520b9cb4bb7743a359bd2e6a188d19ce7dffc21d3e7"}],"legs":[{"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","received":{"cats":[{"amount":"21189648","asset_id":"0xa628c1c2c6fcb74d53746157e438e108eab5c0bb3e5c80ff9b1910b3e4832913"}],"nfts":[],"xch":"0"},"sent":{"cats":[],"nfts":[],"xch":"1567933144480"}}],"memos":[],"outputs":[{"amount":"7109792309","coin_id":"0x032ee21517c802f3f5ba2108bb6c92dbaaf1d782f56de3d93b4c54341c6e9423","coin_type":{"asset_id":"0xa628c1c2c6fcb74d53746157e438e108eab5c0bb3e5c80ff9b1910b3e4832913","custody_p2":"0xcfbfdeed5c4ca2de3d0bf520b9cb4bb7743a359bd2e6a188d19ce7dffc21d3e7","custody_puzzle_type":"SettlementPayments","outer_puzzle_type":"CAT"},"puzzle_hash":"0x9504e1882c8dbb6413b02e6d523261079d6fa7399a1eded0f95b7a7ec5d651de"},{"amount":"1567933144480","coin_id":"0x17e7c43a311cdf41e5f46bb2508bd6792532ad6090c17b9eb9112f2fac9f7732","coin_type":{"custody_p2":"0xcfbfdeed5c4ca2de3d0bf520b9cb4bb7743a359bd2e6a188d19ce7dffc21d3e7","custody_puzzle_type":"SettlementPayments","outer_puzzle_type":"XCH"},"puzzle_hash":"0xcfbfdeed5c4ca2de3d0bf520b9cb4bb7743a359bd2e6a188d19ce7dffc21d3e7"}],"royalties":[],"type":"Swap"}],"fee_mojos":"186843844","id":"06cc698cfb4232ad52dd7b7d7cdd5d0f90e9064598b2365c4b0772056acb84a0","last_updated_ms":1754753369000,"schema_version":1,"source":"mempool","status":"confirmed"}],"truncated":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/get_unfinished_block_headers":{"post":{"tags":["Blocks"],"summary":"Headers of blocks not yet infused","description":"Headers of blocks not yet infused.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#get_unfinished_block_headers).\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_unfinished_block_headers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"},"example":{}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"headers":[],"success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/get_xch_balance_by_p2":{"post":{"tags":["Addresses"],"summary":"XCH balance of an address","description":"XCH balance of an address.\n\n**Answered by:** Derived from the chain on demand (today: an upstream with Coinset's index), cached, never stored.\n\nCoinset's indexed API for everything the chain itself holds: transactions, balances, CATs, memos, reorgs, singletons and NFTs. The gateway derives each answer on demand from the chain (NFTs by following the coin lineage from the launcher) and keeps it only in its cache; nodexch stores no chain or NFT data.\n\nWith a chain reader (`chia-db-reader`) nodexch answers this from the node's own database file (`x-nodexch-source: chain-reader`), as of the node's peak. Pending, locked and revocable balances are `\"0\"` there: the mempool is not read yet.\n\nThe example answer is Coinset's to the example request, with lists cut to two items and long hex cut short.","operationId":"get_xch_balance_by_p2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByP2"},"example":{"p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00"}}}},"responses":{"200":{"description":"Coinset's answer for the method: `success: true` and the method's fields, or `success: false` with `error`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"},"example":{"confirmed_balance":"145917460017062","locked_balance":"0","p2":"0xb27e6d677b2a8bd59f0c412c0065d44e42fd5e8024ad6a6f5295188d18662e00","pending_balance":"0","pending_locked_balance":"0","success":true}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment has no chain reader for the method yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"chain"}},"/health":{"get":{"tags":["Service"],"summary":"Every dependency with its status, latency and since when. Served from the last background\nrun, so asking is free.","operationId":"health","responses":{"200":{"description":"`ok` or `degraded`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthReport"}}}},"503":{"description":"`down`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthReport"}}}}}}},"/metrics":{"get":{"tags":["Service"],"summary":"Prometheus metrics in the text exposition format (see `docs/operations.md`).","operationId":"metrics","responses":{"200":{"description":"Prometheus text format","content":{"text/plain":{}}}}}},"/push_offer":{"post":{"tags":["Offers"],"summary":"Submit an offer","description":"Submit an offer.\n\n**Answered by:** nodexch's indexer, from its database (Postgres).\n\nWhat the chain does not hold and nodexch keeps in its own database: offers, open ones and the history of taken ones. Needs the indexer; NFT lookups do not use it (they are chain data).\n\nPuts an offer in nodexch's book and publishes it on the Splash network (5 credits). `{\"success\": true}` when it went out; 503 with `success: false` when it is in the book but the Splash node is not connected or refused it, or the decoder is busy (retry); 400 when it does not decode or can no longer be taken (taken, cancelled, expired, its coins spent). Without a Splash node on the deployment: 501, and with `INDEXED_PASSTHROUGH` the upstream's index. `POST /x/offers/v1/offers` does the same with a fuller answer (and a secret key). Needs an API key, secret or publishable, on a public deployment too (401 without one); 403 for a publishable key from an origin it was not issued for, or a key whose plan leaves out this method's channel.","operationId":"push_offer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushOffer"},"example":{"offer":"offer1qqqqqqqh0vyvw"}}}},"responses":{"200":{"description":"The answer in Coinset's shape, from nodexch's indexer. An unknown offer is Coinset's `OFFER_NOT_FOUND` (`success: false`), still with HTTP 200.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment runs without the indexer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The offer is in nodexch's book but the Splash node is not connected or refused it; retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"indexer"}},"/push_tx":{"post":{"tags":["Full Node"],"summary":"Submit a spend bundle to the mempool","description":"Submit a spend bundle to the mempool.\n\n**Answered by:** The full node (or the public node in lean mode), through the gateway's cache; its JSON passes through byte for byte, so big integers stay exact.\n\n**Answer fields:** [Chia full node RPC reference](https://docs.chia.net/reference-client/rpc-reference/full-node-rpc/#push_tx).\n\nNever cached and never retried: a spend bundle goes to the node once. The answer's `status` is the node's (`SUCCESS`, `PENDING`); `success: false` with `error` when the node refuses it.","operationId":"push_tx","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushTx"},"example":{"spend_bundle":{"aggregated_signature":"0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","coin_spends":[{"coin":{"amount":179999989021,"parent_coin_info":"0xc2083fea5c776b21ba313ea800b9c02a9a3d460a196651e7b5d3b6cccecc920d","puzzle_hash":"0x8a4d625c75e8bb1d608ae5284f0d8aa2da9d245687d6238860d03c31dda1ba7a"},"puzzle_reveal":"0x01","solution":"0x80"}]}}}}},"responses":{"200":{"description":"The node's answer, byte for byte: `success: true` and the method's fields, or `success: false` with `error` (a block that does not exist, for example).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeAnswer"}}}},"400":{"description":"The body is not JSON or does not match the request type below; `error` names the field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"No API key on a private deployment or on `push_offer`, or an unknown, revoked or expired key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key used from an origin it does not list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Over the rate limit or the key's monthly quota; `retry-after` says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node, the upstream or the indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-nodexch-source":"node"}},"/ready":{"get":{"tags":["Service"],"summary":"Readiness: every critical dependency was reachable at the last check.","operationId":"ready","responses":{"200":{"description":"Send traffic","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadyReport"}}}},"503":{"description":"A critical dependency is down; send no traffic","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadyReport"}}}}}}},"/status":{"get":{"tags":["Service"],"summary":"Mode, chain source, upstream spending, the event loop, streams and cache figures.","operationId":"status","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}},"/up":{"get":{"tags":["Service"],"summary":"Liveness: the process serves HTTP.","operationId":"up","responses":{"200":{"description":"Always, while the process runs","content":{"text/plain":{"schema":{"type":"string"},"example":"ok"}}}}}},"/ws":{"get":{"tags":["Events"],"summary":"Event frames over a WebSocket: `{\"network\",\"seq\",\"message\":{\"type\",\"data\"}}`, as Coinset sends them.","operationId":"ws","parameters":[{"name":"events","in":"query","description":"Comma-separated event types: `peak`, `transaction`, `reorg`, `dashboard`, `offer` (new\noffers from the Splash network, with the indexer; only when asked for). None, or none known,\nmeans Coinset's four. An `offer` frame carries `offer_id` (the canonical id, as the offer\nroutes have it), `id` (Dexie's) and `status`: `open` for a new offer, then once\n`confirmed` (taken), `cancelled` or `expired` when it leaves the book.","required":false,"schema":{"type":["string","null"]}},{"name":"network","in":"query","description":"`mainnet` or `testnet11` (TASK-184): another network than the deployment's gets that\nnetwork's `offer` events only. The deployment's when absent.","required":false,"schema":{"type":["string","null"]}},{"name":"base","in":"query","description":"With `quote` (TASK-324): 1 to 3 comma-separated assets, `xch` or a CAT asset id; the\n`offer` events are then only those of every base x quote pair, in either direction, and\none-for-one. Needs `offer` in `events`.","required":false,"schema":{"type":["string","null"]}},{"name":"quote","in":"query","description":"With `base`: 1 to 3 comma-separated assets, as `base`.","required":false,"schema":{"type":["string","null"]}},{"name":"key","in":"query","description":"A publishable API key, for browsers, which cannot send headers on a WebSocket or an\n`EventSource`. Secret keys go in `Authorization` only.","required":false,"schema":{"type":["string","null"]}}],"responses":{"101":{"description":"Switching to the WebSocket; one text message per frame"},"400":{"description":"A bad network or base and quote filter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"426":{"description":"Not a WebSocket upgrade","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Too many open streams","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/account/v1":{"get":{"tags":["Accounts"],"summary":"The account itself (`GET`, `PATCH`; deleting it takes a passkey: `delete/start`, `delete/finish`).","description":"Every account route of the indexer (`/account/v1/…` in `openapi/indexer.json`) is here under\n`/x/account/v1/…`, with the same bodies and answers. Sign in with a passkey:\n`POST /x/account/v1/signup/start` or `/login/start` gives `{challenge_id, options}` for\n`navigator.credentials.create` or `.get`; `POST …/signup/finish` or `…/login/finish` with\n`{challenge_id, credential}` answers a session token (`nxa_…`), sent as\n`Authorization: Bearer` to the rest: `GET /x/account/v1` (the account), `…/passkeys`,\n`…/keys` (make, relabel, rotate, revoke), `…/usage`, `…/plans` (for sale, no sign-in),\n`…/invoices` (buy a plan: pay on the provider's checkout page), `…/logout`. No API key.","operationId":"account","responses":{"200":{"description":"The indexer's answer (see `openapi/indexer.json`, `/account/v1`)"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"Not Implemented","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/account/v1/{path}":{"post":{"tags":["Accounts"],"summary":"Every other account route: `/x/account/v1/<path>` is the indexer's `/account/v1/<path>`\n(`GET`, `POST`, `PUT`, `PATCH`, `DELETE`).","operationId":"route","parameters":[{"name":"path","in":"path","description":"The route below `/account/v1` in `openapi/indexer.json`, e.g. `login/start` or `keys`","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The indexer's answer"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"Not Implemented","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/assets/v1/assets":{"get":{"tags":["Assets channel"],"summary":"The assets nodexch knows","description":"By id: names, codes, where the names came from, and icon links.","operationId":"assets","parameters":[{"name":"limit","in":"query","description":"1 to 1,000, default 100","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"`next_cursor` of the page before","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"Only assets whose code or name contains this text (any case), or whose id it is","required":false,"schema":{"type":"string"}},{"name":"network","in":"query","description":"`mainnet` or `testnet11`; the deployment's network when absent (TASK-184)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{assets: [{id, kind, code, name, denom, website, source, icon: {url, content_type, sha256} | null}], next_cursor}`","content":{"application/json":{}}},"400":{"description":"A parameter does not fit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/assets/v1/icons/{asset_id}":{"get":{"tags":["Assets channel"],"summary":"An asset's icon","description":"As nodexch stores it, with its SHA-256 as the ETag. Served under a Content-Security-Policy that lets an SVG neither run script nor load anything.","operationId":"icon","parameters":[{"name":"asset_id","in":"path","description":"The CAT's asset id, hex, with or without 0x","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The icon","content":{"image/*":{}}},"304":{"description":"Unchanged (If-None-Match)"},"400":{"description":"The asset id is not 32 bytes of hex","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No icon stored for that asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/inference/v1/channels":{"post":{"tags":["Inference channel"],"summary":"Register a channel once, before its first deposit","description":"`{channel_pk, refund_ph}`: the user's channel key (48 bytes hex) and refund puzzle hash (32 bytes hex). nodexch adds its receiver and the timeout and answers the five parameters with the deposit puzzle hash, which the client compares with the one it derived itself (it never takes an address from nodexch). Registering again is idempotent (200). Every deposit to that address is then a lane the chat completions can be paid from.","operationId":"inference_register","requestBody":{"description":"JSON, at most 4096 bytes; forwarded to the indexer as it is","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Registered before: `created: false`","content":{"application/json":{}}},"201":{"description":"`{channel_id, channel_pk, refund_ph, receiver_ph, receiver_pk, timeout, asset_id, deposit_puzzle_hash, created: true}`","content":{"application/json":{}}},"400":{"description":"A key or puzzle hash is not valid hex of its length","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"An API key is required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"This key registered 20 channels in the last hour or 100 in the last day","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The deployment holds as many channels as it takes (`INFERENCE_MAX_CHANNELS`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/inference/v1/chat/completions":{"post":{"tags":["Inference channel"],"summary":"A chat completion, paid with a signed lane total","description":"OpenAI's chat completion request, streamed (`stream: true`, server-sent events) or not, forwarded to the upstream. `max_tokens` (or `max_completion_tokens`, not both) is required and is what the upstream gets; message contents are text only; `n` above 1, `models`, `provider`, `route`, `transforms`, `plugins`, `web_search_options`, `reasoning`, `reasoning_effort` and `prediction` are refused; the upstream's price is capped at the listed one, and a request reserves at most the model's `max_cost` of `/info`. Paid with `X-Chia-Payment: lane=<hex>; total=<mojos>; expires=<unix s>; sig=<hex>`: the channel key's BLS signature of paychan's `(\"paychan1\" lane total expires)`. A quest pays from its budget (TASK-225) with a quest key's signature of the same message and the channel key's cap certificate appended: `; quest=<quest key hex>; cap=<mojos>; cap_expires=<unix s>; cert=<hex>`, the channel key's signature of `(\"paychan1-quest\" lane quest_pk cap cap_expires)`; the total must be at most `cap`, and the earlier of both expiries must fall in the window. The total must be above the lane's last signed total and cover what was used plus this request's maximum cost (the request's size in bytes plus 64 as input tokens and `max_tokens` as output tokens at the model's price); after the answer the actual cost (the upstream's usage at the same price) is recorded and the rest stays credit. Neither the prompt nor the answer is stored or logged.","operationId":"inference_chat","requestBody":{"description":"JSON, at most 1048576 bytes; forwarded to the indexer as it is","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"OpenAI's chat completion, or its server-sent events ending with `data: [DONE]`","content":{"application/json":{}}},"400":{"description":"The request does not fit (not JSON, no `max_tokens`, an unknown model, a refused field), the payment header is malformed, or its expiry is outside the window (`policy` says it)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"An API key is required, or the payment's signature is not the lane's channel key's (nor a quest key's under the channel key's certificate)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"402":{"description":"No payment, or a total too small or not above the last one: `needed_total`, `max_cost` and `price` say what to sign; also a lane that is unknown, unconfirmed, closed, or close to its refund time (`lane_refundable`); a quest key's total above its cap (`over_cap`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Four chat completions of this key are running already","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The upstream did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/inference/v1/info":{"get":{"tags":["Inference channel"],"summary":"The operator's signed listing: models, prices in mojos, terms and labels","description":"What a payer checks before it opens a channel (nodexch-wiki `architecture/operators.md`): `{listing, signature}`, where `listing` is the JSON text itself (the signed bytes) and `signature` the operator key's BLS signature of paychan's `sha256tree((\"paychan1-listing\" listing))`, hex. The listing: `version` (1), `operator_pk`, `endpoint` (the base of `/chat/completions`), `network`, `issued` and `expires` (unix seconds, a day apart), `payment` (the terms of `/models` without the spread), `privacy` (`operator_keeps_prompts`, `upstream_data_collection`: `deny` or `unknown`) and `models`: `{id, context_length, price: {input, output, request}, max_cost, evidence}`, prices in nano-mojos per token and per request after the spread, `max_cost` the most one request reserves and charges in mojos, `evidence` `provider-evidenced` (the upstream's usage and bill) or `operator-declared`. A chat completion costs `ceil((input × price.input + output × price.output + price.request) / 1e9)` mojos, the formula it is charged with. The operator key signs nothing else and moves no money. Labels are labels, never proofs.","operationId":"inference_info","responses":{"200":{"description":"`{listing, signature}`: `listing` is `{version, operator_pk, endpoint, network, issued, expires, payment: {asset_id, decimals, receiver_ph, receiver_pk, timeout, min_expiry_s, max_expiry_s}, privacy: {operator_keeps_prompts, upstream_data_collection}, models: [{id, context_length, price: {input, output, request}, max_cost, evidence}]}` as JSON text","content":{"application/json":{}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The upstream's model list could not be read","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/inference/v1/lanes/{lane}":{"get":{"tags":["Inference channel"],"summary":"A lane's ledger","description":"What nodexch holds of a lane: the highest signed total, what was used (the reservations of requests still running included), the credit (signed less used), the lane's capacity on the chain and what was claimed, in mojos. The lane is looked up on the chain if it is new.","operationId":"inference_lane","parameters":[{"name":"lane","in":"path","description":"The lane id: the deposit coin's id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{lane, channel_id, signed, used, credit, capacity, claimed, open}`","content":{"application/json":{}}},"404":{"description":"No such lane: not a confirmed deposit to a registered channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/inference/v1/models":{"get":{"tags":["Inference channel"],"summary":"The models and their prices in mojos of the channel's CAT","description":"OpenAI's model list (`{object: \"list\", data: [{id, object: \"model\", owned_by}]}`) with each model's price: `pricing` in mojos of the CAT (wUSDC.b: 1000 mojos are 1 USD) per million input and output tokens and per request, the upstream's price plus the spread. Also the payment terms: the asset id, the spread in percent, the receiver's payout puzzle hash and close key, the channel timeout and the expiry window a signature must fall in.","operationId":"inference_models","responses":{"200":{"description":"`{object, data: [{id, object, owned_by, context_length, pricing: {input_per_million, output_per_million, request}}], payment: {asset_id, decimals, spread_percent, receiver_ph, receiver_pk, timeout, min_expiry_s, max_expiry_s}}`","content":{"application/json":{}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The upstream's model list could not be read","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/loans/v1/listings":{"get":{"tags":["Loans channel"],"summary":"The live listings of a network, newest first","description":"Every listing published for `network` that is not withdrawn or past its due date (`terms.dueAt`) or 90 days since it was last published, newest first, at most 200; only one lender's with `lender`. `terms` is the JSON object the lender published (at most 8 KiB, Pengui's open-offer shape), `offer` the signed offer, `createdAt` unix milliseconds.","operationId":"loans_listings","parameters":[{"name":"network","in":"query","description":"`mainnet` or `testnet11` (required): the board is one service and tags every listing with its network","required":false,"schema":{"type":"string"}},{"name":"lender","in":"query","description":"Only this lender's listings: an `xch1…` or `txch1…` address","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{listings: [{id, network, lender, terms, offer, createdAt, dueAt}]}`","content":{"application/json":{}}},"400":{"description":"`network` is missing or not `mainnet`/`testnet11`, or `lender` is not an address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}},"post":{"tags":["Loans channel"],"summary":"Publish a listing","description":"`{id, network, lender, terms, offer}`: `id` matches `[a-z0-9-]{1,64}`, `network` is `mainnet` or `testnet11`, `lender` an `xch1…`/`txch1…` address of that network, `offer` an `offer1…` of at most 64 KiB that decodes as an offer (the body is at most 80 KiB), `terms` a JSON object of at most 8 KiB (with `dueAt` in unix milliseconds, when the listing expires). Needs a secret API key (a publishable key may read, not write): the listing belongs to the key's holder (its account, else the key itself), who alone may withdraw or replace it. The same listing again (same id, offer, terms and lender, same holder) is idempotent: 200, and the listing's 90 days start over. The same id with another offer, other terms or another lender is 409 (withdraw it first); another holder's id 403. At most 50 live listings per lender address and network, 100 per key holder and network, 10,000 on the board (503).","operationId":"loans_publish","requestBody":{"description":"JSON, at most 81920 bytes; forwarded to the indexer as it is","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"The same listing again, by the same holder: `created: false`, and its 90 days start over","content":{"application/json":{}}},"201":{"description":"`{listing: {id, network, lender, terms, offer, createdAt, dueAt}, created: true}`: the listing is new","content":{"application/json":{}}},"400":{"description":"The body does not fit: not JSON, too large, a field breaks a rule (`details` names it), or the offer does not decode (or not within 2 s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"An API key is required to write","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Another holder's listing, or a publishable key: writes need a secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"The id exists with another offer, other terms or another lender (withdraw it first), or the lender or the holder is at its cap of live listings on the network","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The board is full (10,000 live listings); retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/loans/v1/listings/{id}/withdraw":{"post":{"tags":["Loans channel"],"summary":"Withdraw a listing","description":"`{network}`: takes the listing off the board. Only its holder (the secret API key's account, else the key) may; the operator's key may withdraw any. Advisory: the offer itself stays valid until its coins move.","operationId":"loans_withdraw","parameters":[{"name":"id","in":"path","description":"The listing's id, as published: `[a-z0-9-]{1,64}`","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"JSON, at most 4096 bytes; forwarded to the indexer as it is","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"`{withdrawn: true}`","content":{"application/json":{}}},"400":{"description":"`network` is missing or not `mainnet`/`testnet11`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"An API key is required to write","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Another holder's listing, or a publishable key: writes need a secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No listing with that id on that network","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/node/v1/blocks/totals":{"get":{"tags":["Node channel"],"summary":"What the recent transaction blocks move by asset (XCH, each CAT, NFTs, DIDs, singletons), as\ntheir block frames carry it: an explorer's recent-block list without fetching any block's\nspends (TASK-150). From the loop's memory: no node call is made for this.","operationId":"blocks_totals","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlocksTotals"}}}},"502":{"description":"The node did not answer the loop's last tick","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The event loop has not read the node yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/node/v1/dashboard":{"get":{"tags":["Node channel"],"summary":"An explorer's first load in one request (TASK-152): the chain state, the fee estimate, the\nrecent blocks with their records and asset totals, and the mempool's transactions, all from\nthe loop's memory. Read it once, then follow `/ws` (`peak`, `transaction`, `dashboard`): the\nframes carry every change of it. The state is the loop's own answer and the fee estimate the\none the loop made after the last transaction block (through the cache, as `/x/node/v1/fees`).","operationId":"dashboard","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dashboard"}}}},"502":{"description":"The node did not answer the loop's last tick","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The event loop has not read the node yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/node/v1/fees":{"get":{"tags":["Node channel"],"summary":"Fee estimates for the next 1, 3 and 10 transaction blocks: the node's own estimator\n(`get_fee_estimate`, as Coinset answers it), never below the node's minimum. When the node does\nnot give one, the rate to beat in the mempool the loop sees.","operationId":"fees","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fees"}}}},"502":{"description":"The node did not answer the loop's last tick","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The event loop has not read the node yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/node/v1/info":{"get":{"tags":["Node channel"],"summary":"Network, versions, mode, peak, sync state and the enabled channels.","operationId":"info","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Info"}}}},"502":{"description":"The node did not answer the loop's last tick","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The event loop has not read the node yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/node/v1/mempool":{"get":{"tags":["Node channel"],"summary":"Size, cost and fees of the mempool, and its transactions by fee rate.","operationId":"mempool","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mempool"}}}},"502":{"description":"The node did not answer the loop's last tick","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The event loop has not read the node yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/node/v1/mempool/items":{"get":{"tags":["Node channel"],"summary":"The mempool's transactions with what an explorer shows of each: fee, cost, the first coins,\nkind and assets. From the loop's memory: no item is fetched for this.","operationId":"mempool_items","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MempoolItems"}}}},"502":{"description":"The node did not answer the loop's last tick","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The event loop has not read the node yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/node/v1/network":{"get":{"tags":["Node channel"],"summary":"How big the Chia network is: the nodes nodexch's crawler saw in the last five days, by country,\nthe history since 2022, and the chain's clock. Open without a key (the public site shows it), within the\nper-address rate. `latest` is `null` until the indexer has counted (or while it runs no\ncrawler).","operationId":"network","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Network"}}}},"501":{"description":"No indexer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The indexer did not answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/node/v1/peers":{"get":{"tags":["Node channel"],"summary":"The node's full-node peers, in the `get_connections` shape, as the loop last read them (every\n30 s). Addresses as `PEERS_PUBLISH` says (default: truncated). An own node only.","operationId":"peers","responses":{"200":{"description":"`{connections: [{type, peer_host, peer_server_port, peak_height, creation_time}], success: true}`"},"501":{"description":"Lean mode has no node of its own","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The node has not given its peers for 90 s","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The loop has not read the peers yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/offers/v1/book":{"get":{"tags":["Offers channel"],"summary":"The open offers of a pair, best price first","description":"Open offers that give exactly `offered` for exactly `requested` (one asset for one: a bundle has no single price), lowest price first, at most 100 (read from the newest 2,000 of the pair). Amounts are in units (XCH 12 decimals, a CAT 3); `price` is requested units per offered unit, what a taker pays for one. Assets carry their registry code and name when nodexch has them; a code can be copied, the id is what identifies a CAT. `/x/offers/v1/offers/{offer_id}` has an offer's text. With `base` and `quote` instead of `offered` and `requested`: the books of every base x quote pair in one answer, `asks` (offers that give a base for a quote) and `bids` (the other way), by pair in request order then best price, at most `limit` a pair and side (read from the newest 10,000 of all the pairs), each offer tagged with its `pair`, `book_side` and `pair_price` (quote per base), and every asset of the pairs once in `assets` with its code and name.","operationId":"book","parameters":[{"name":"offered","in":"query","description":"What the offers give, what a taker receives: `xch` or a CAT's asset id; with `requested`, or `base` and `quote` instead","required":false,"schema":{"type":"string"}},{"name":"requested","in":"query","description":"What the offers ask for, what a taker pays: `xch` or a CAT's asset id; with `offered`","required":false,"schema":{"type":"string"}},{"name":"base","in":"query","description":"Base assets: comma-separated, 1-3 assets, xch or a CAT id; every base x quote pair, either direction; not with `offered` or `requested`","required":false,"schema":{"type":"string"}},{"name":"quote","in":"query","description":"Quote assets, with `base`: comma-separated, 1-3 assets, xch or a CAT id; every base x quote pair, either direction","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"1 to 100, default 20","required":false,"schema":{"type":"string"}},{"name":"network","in":"query","description":"`mainnet` or `testnet11`; the deployment's network when absent (TASK-184)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{offered: {kind, id, code, name}, requested: {…}, offers: [{offer_id, offered, requested, price, first_seen_ms, expires_at_ms}], open_offers_read, as_of_ms}`; with `base` and `quote`: `{asks: [{…an offer, pair: {base, quote}, book_side, pair_price}], bids: […], pairs: [{pair, asks_read, bids_read}], assets: [{kind, id, code, name}], open_offers_read, as_of_ms}`","content":{"application/json":{}}},"400":{"description":"Neither `offered` and `requested` nor `base` and `quote`, one of a couple alone, not `xch` or an asset id, more than 3 assets a side, the same asset on both sides of `offered`/`requested`, or both kinds at once","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/offers/v1/decode":{"post":{"tags":["Offers channel"],"summary":"Read an offer text","description":"`{offer}`: what an `offer1…` (at most 64 KiB) gives and asks for, in units and mojos, its fee, its price when it is one asset for one, its id (the book's id when nodexch has the offer) and whether nodexch has it open. Nothing is stored. Decoding runs the offer's puzzles, so it needs a secret API key (like a write); the answer comes within 2 s or not at all, and only a few decodes run at once (503 past that).","operationId":"decode","requestBody":{"description":"JSON, at most 66560 bytes; forwarded to the indexer as it is","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"`{offer_id, offered: [{kind, id, code, name, amount, mojos}], requested: […], fee_xch, price, coins, open_on_nodexch}`","content":{"application/json":{}}},"400":{"description":"Not JSON, too large, or the offer does not decode (or not within 2 s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"An API key is required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key: decoding needs a secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"Too many offers are being decoded right now; retry in a moment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/offers/v1/offers":{"post":{"tags":["Offers channel"],"summary":"Publish an offer","description":"`{offer}`: an `offer1…` (at most 64 KiB) a wallet made goes into nodexch's book (an `offer` event on the stream) and out on the Splash network, where takers in other apps find it. It must decode; a taken one is refused. nodexch keeps the offer's text, as it does for every offer it reads, and nothing about who sent it. Coinset's `push_offer` does the same in Coinset's shapes. Needs a secret API key (like a write).","operationId":"publish","requestBody":{"description":"JSON, at most 66560 bytes; forwarded to the indexer as it is","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"nodexch had the offer: `stored: false`, and it went out again","content":{"application/json":{}}},"201":{"description":"`{offer_id, stored: true, splash}`: new in the book; `splash` is `published`, `not_connected` (in the book only for now), `refused` or `off` (no Splash node on this deployment)","content":{"application/json":{}}},"400":{"description":"Not JSON, too large, or the offer does not decode (or not within 2 s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"An API key is required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key: publishing needs a secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"The offer was taken already","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"Too many offers are being decoded right now; retry in a moment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/offers/v1/offers/{offer_id}":{"get":{"tags":["Offers channel"],"summary":"An open offer with its text","description":"An open or pending offer by Coinset's id or Dexie's: its text (`offer1…`, what a wallet takes), what it gives and asks for in units and mojos, its fee and price, and when it expires. A taken, cancelled or expired offer is not kept: 404.","operationId":"offer","parameters":[{"name":"offer_id","in":"path","description":"The offer's `offer_id` (32 bytes of hex, with or without 0x), the hex of the SHA-256 of its text, or Dexie's id (`id`: base58 of that hash)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{offer_id, id, status, first_seen_ms, expires_at_ms, offered: [{kind, id, code, name, amount, mojos}], requested: […], fee_xch, price, coins, offer}`: `offer_id` is the canonical id, `id` Dexie's","content":{"application/json":{}}},"404":{"description":"No open or pending offer with that id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/offers/v1/partials":{"get":{"tags":["Offers channel"],"summary":"Partial offers, newest first","description":"Partial offers (`partial1…`, CHIP-0052: any part can be taken, from a minimum up, at a fixed price) with everything a wallet shows and takes them with: the text, the terms in units (XCH 12 decimals, a CAT 3; each asset says its `decimals`), the status and the place in the fill chain (each fill's rest is a new partial offer: `predecessor_id`, `successor_id`, `chain_id` the first). Open ones by default; also `filled`, `cancelled`, `expired` or `all`, which nodexch keeps after they leave the book. With `base` and `quote`, those of every base x quote pair, either direction, each tagged with its `pair`, `book_side` and `pair_price` (quote per base). Paged with `cursor` (the `next_cursor` of the page before).","operationId":"partials","parameters":[{"name":"offered","in":"query","description":"Only those that give this, what a taker receives: `xch` or a CAT's asset id","required":false,"schema":{"type":"string"}},{"name":"requested","in":"query","description":"Only those that ask for this, what a taker pays: `xch` or a CAT's asset id","required":false,"schema":{"type":"string"}},{"name":"base","in":"query","description":"Base assets: comma-separated, 1-3 assets, xch or a CAT id; every base x quote pair, either direction; not with `offered` or `requested`","required":false,"schema":{"type":"string"}},{"name":"quote","in":"query","description":"Quote assets, with `base`: comma-separated, 1-3 assets, xch or a CAT id; every base x quote pair, either direction","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"`open` (default), `filled`, `cancelled`, `expired` or `all`","required":false,"schema":{"type":"string"}},{"name":"maker","in":"query","description":"Only this maker's: its puzzle hash, hex","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"1 to 100, default 20","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"`next_cursor` of the page before","required":false,"schema":{"type":"string"}},{"name":"network","in":"query","description":"`mainnet` or `testnet11`; the deployment's network when absent (TASK-184)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{partials: [{offer_id, offer (partial1…), network, status, offered_asset: {kind, id, code, name, decimals}, requested_asset, initial_offered, initial_requested, remaining_offered, remaining_requested, filled, price, min_fill_offered, min_fill_requested, required_fee_xch, expires_at_ms, maker_puzzle_hash, coin_id, first, revocable, first_seen_ms, updated_ms, source, chain_id, predecessor_id, successor_id, fill: {offered, requested, offered_mojos, requested_mojos, height, at_ms, spent_coin_id}}], next_cursor, as_of_ms}`; with `base` and `quote` each also has `pair, book_side, pair_price`","content":{"application/json":{}}},"400":{"description":"A parameter does not fit, or the cursor is another query's","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/offers/v1/partials/decode":{"post":{"tags":["Offers channel"],"summary":"Read a partial offer text","description":"`{offer}`: a `partial1…` (at most 64 KiB) read to the record `/partials` lists, with its status and fill chain when nodexch has it (`status: unknown` and no `first_seen_ms` when it has not). Nothing is stored. An `offer1…` is refused: `/decode` reads it. Needs a secret API key, like `/decode`; the answer comes within 2 s or not at all.","operationId":"partial_decode","requestBody":{"description":"JSON, at most 66560 bytes; forwarded to the indexer as it is","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"`{offer_id, offer, network, status, offered_asset, requested_asset, …the terms, chain_id, predecessor_id, successor_id, fill}`","content":{"application/json":{}}},"400":{"description":"Not JSON, too large, not a partial1, or it does not decode (or not within 2 s)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"An API key is required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"A publishable key: decoding needs a secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"Too many offers are being decoded right now; retry in a moment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/offers/v1/partials/{id}":{"get":{"tags":["Offers channel"],"summary":"A partial offer with its fill chain","description":"A partial offer by its offer id or its partial coin's id, open or not, as `/partials` lists it, with `history`: every offer of its fill chain nodexch has, the first first, each with its coin, status, what it held and the fill that spent it (amounts, block).","operationId":"partial","parameters":[{"name":"id","in":"path","description":"The partial offer's id or its partial coin's id, 32 bytes of hex, with or without 0x","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{…a partial offer as /partials lists it, history: [{offer_id, coin_id, status, remaining_offered, remaining_requested, first_seen_ms, fill}]}`","content":{"application/json":{}}},"404":{"description":"No partial offer with that id or coin","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/offers/v1/trades":{"get":{"tags":["Offers channel"],"summary":"Taken offers in time order","description":"Newest first unless `order=asc`: all of them, those with one CAT or XCH, or with `base` and `quote` the one-for-one trades of every base x quote pair, each tagged with its `pair`, `book_side` (`ask`: it gave the base) and `pair_price` (quote per base). Paged with `cursor` (the `next_cursor` of the page before).","operationId":"trades","parameters":[{"name":"asset_id","in":"query","description":"A CAT's asset id (hex) or `xch`","required":false,"schema":{"type":"string"}},{"name":"side","in":"query","description":"`all` (default), `offered` or `requested`","required":false,"schema":{"type":"string"}},{"name":"base","in":"query","description":"Base assets: comma-separated, 1-3 assets, xch or a CAT id; every base x quote pair, either direction; not with `asset_id` or `side`","required":false,"schema":{"type":"string"}},{"name":"quote","in":"query","description":"Quote assets, with `base`: comma-separated, 1-3 assets, xch or a CAT id; every base x quote pair, either direction","required":false,"schema":{"type":"string"}},{"name":"order","in":"query","description":"`desc` (default, newest first) or `asc`","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"1 to 500, default 100","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"`next_cursor` of the page before","required":false,"schema":{"type":"string"}},{"name":"network","in":"query","description":"`mainnet` or `testnet11`; the deployment's network when absent (TASK-184)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{trades: [{offer_id, id, completed_at_ms, first_seen_ms, offered, requested, price, height, proving_coin}], next_cursor}`; with `base` and `quote` each trade also has `pair: {base, quote}, book_side, pair_price`","content":{"application/json":{}}},"400":{"description":"A parameter does not fit, or `asset_id` or `side` is given with `base` and `quote`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/operators":{"get":{"tags":["Operators"],"summary":"The operators from the registry whose listing verifies","description":"Every operator with a registry coin of at least 0.01 XCH at paychan's registry address whose newest entry (the highest sequence number per operator key, a revocation included) names a listing URL, and whose listing, fetched from that URL, is signed by the entry's key, unexpired and served on the URL's origin. Sorted by operator key, at most three per host, as many as fit in 2 MiB of listings. `signed` is the listing as fetched (`{listing, signature}`, `GET /x/inference/v1/info`): a client verifies it itself and pins the key. Read every ten minutes; entries that fail stay out until they verify.","operationId":"operators","responses":{"200":{"description":"`{operators: [{operator_pk, info_url, seq, signed: {listing, signature}}]}`","content":{"application/json":{}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/price/v1/cats":{"get":{"tags":["Price channel"],"summary":"Every CAT's price in XCH, from nodexch's own trades and open offers","description":"For each CAT that traded against XCH or has an open offer against XCH: the last trade (XCH per unit, when), the best ask and bid among open offers, and the last 24 hours' trades and volume. Independent of any third party: the trades and offers are nodexch's own (TASK-033). Refreshed once a minute by the price job.","operationId":"price_cats","parameters":[{"name":"network","in":"query","description":"`mainnet` or `testnet11`; the deployment's network when absent (TASK-184)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{as_of_ms, cats: [{asset_id, last: {xch, at_ms} | null, ask, bid, trades_24h, volume_xch_24h}]}`","content":{"application/json":{}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}},"/x/price/v1/xch":{"get":{"tags":["Price channel"],"summary":"XCH in USD","description":"The median of the sources that are fresh and agree within 3 %, with each source's price and age. Fewer than two: `price` is `null` and `status` `insufficient`.","operationId":"price_xch","parameters":[{"name":"network","in":"query","description":"`mainnet` or `testnet11`; the deployment's network when absent (TASK-184)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"`{asset, currency, price, status, sources_used, spread, as_of_ms, sources: [{source, market, price, age_s, used, note}]}`","content":{"application/json":{}}},"501":{"description":"This deployment does not serve the channel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}}}}},"components":{"schemas":{"AccessMode":{"type":"string","enum":["public","private"]},"AccessStatus":{"type":"object","description":"The key set's state for `/status`.","required":["source","break_glass_keys","unreported"],"properties":{"age_s":{"type":["integer","null"],"format":"int64","description":"Seconds since the set was fetched.","minimum":0},"break_glass_keys":{"type":"integer","description":"Break-glass keys: 1 with `API_KEY`, else 0.","minimum":0},"keys":{"type":["integer","null"],"description":"Keys in the current set; `None` until it has loaded.","minimum":0},"last_error":{"type":["string","null"],"description":"Why the last key set refresh failed, `null` when it did not."},"source":{"type":"string","description":"`indexer` when keys come from the indexer, else `environment` (only `API_KEY`)."},"unreported":{"type":"integer","description":"Key-days counted but not reported to the indexer yet.","minimum":0}}},"AdditionsAndRemovals":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["header_hash"],"properties":{"filter":{"oneOf":[{"$ref":"#/components/schemas/AdditionsFilter","description":"`all` (default), `additions` or `removals`."},{"type":"null"}]},"header_hash":{"$ref":"#/components/schemas/Hex32","description":"The block's header hash (32 bytes of hex, with or without `0x`)."}}}],"description":"`get_additions_and_removals`: the block, and Coinset's paging over additions then removals."},"AdditionsFilter":{"type":"string","enum":["all","additions","removals"]},"BlockTotals":{"type":"object","description":"What a transaction block's coin spends move, by asset (TASK-150), as its block frame carries\nit.","required":["height","header_hash","spends","assets"],"properties":{"assets":{"$ref":"#/components/schemas/MempoolAssets","description":"What they spend by asset: the coins spent, summed by kind, change included; the shape of a\nmempool transaction's `assets`."},"header_hash":{"type":"string"},"height":{"type":"integer","format":"int64","minimum":0},"spends":{"type":"integer","format":"int64","description":"Coin spends in the block.","minimum":0},"timestamp":{"type":["integer","null"],"format":"int64","description":"The block's timestamp (seconds since the epoch).","minimum":0}}},"BlocksTotals":{"type":"object","required":["blocks","success"],"properties":{"blocks":{"type":"array","items":{"$ref":"#/components/schemas/BlockTotals"},"description":"The recent transaction blocks whose spends the loop read, newest first, at most\n`BLOCK_TOTALS_MEMORY` (32); each as its `dashboard` block frame carries it. A block the\nloop could not read (a lean budget with no room) is missing. Read it once, then follow\nthe block frames."},"success":{"type":"boolean","description":"Always `true` on a 200, as in Coinset answers."}}},"Budget":{"type":"object","required":["per_minute","used_last_minute","loop_share"],"properties":{"loop_share":{"type":"number","format":"double","description":"Share of the budget the event loop may spend; the rest is kept for user requests."},"per_minute":{"type":"integer","format":"int32","description":"Upstream calls allowed per minute (`UPSTREAM_BUDGET_PER_MINUTE`).","minimum":0},"used_last_minute":{"type":"integer","description":"Upstream calls made in the last 60 seconds.","minimum":0}}},"ByAssetIdPaged":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["asset_id"],"properties":{"asset_id":{"$ref":"#/components/schemas/Hex32","description":"The CAT's asset id (its TAIL hash, 32 bytes of hex, with or without `0x`)."}}}]},"ByCoinName":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/Hex32","description":"The coin id (32 bytes of hex, with or without `0x`)."}}},"ByCoinNameIndexed":{"type":"object","required":["coin_name"],"properties":{"coin_name":{"$ref":"#/components/schemas/Hex32","description":"Coinset also takes it as `coin_id` or `name`."},"include_transactions":{"type":["boolean","null"],"description":"`true` adds the transactions that created and spent the coin. Default `false`."}}},"ByCoinNames":{"allOf":[{"$ref":"#/components/schemas/CoinRecordFilter"},{"type":"object","required":["names"],"properties":{"names":{"type":"array","items":{"$ref":"#/components/schemas/Hex32"},"description":"Coin ids (32 bytes of hex, with or without `0x` each)."}}}]},"ByHeaderHash":{"type":"object","required":["header_hash"],"properties":{"header_hash":{"$ref":"#/components/schemas/Hex32","description":"The block's header hash (32 bytes of hex, with or without `0x`)."}}},"ByHeight":{"type":"object","required":["height"],"properties":{"height":{"type":"integer","format":"int32","description":"The block height.","minimum":0}}},"ByHint":{"allOf":[{"$ref":"#/components/schemas/CoinRecordFilter"},{"type":"object","required":["hint"],"properties":{"hint":{"$ref":"#/components/schemas/Hex32","description":"The hint (usually the receiver's puzzle hash, 32 bytes of hex, with or without `0x`)."}}}]},"ByHints":{"allOf":[{"$ref":"#/components/schemas/CoinRecordFilter"},{"type":"object","required":["hints"],"properties":{"hints":{"type":"array","items":{"$ref":"#/components/schemas/Hex32"},"description":"Hints (32 bytes of hex, with or without `0x` each)."}}}]},"ByLauncherId":{"type":"object","required":["launcher_id"],"properties":{"launcher_id":{"$ref":"#/components/schemas/Hex32","description":"The singleton's launcher id (32 bytes of hex, with or without `0x`)."}}},"ByNftId":{"type":"object","description":"The NFT is its launcher id, as on every `_by_nft_id` method.","required":["nft_id"],"properties":{"nft_id":{"type":"string","description":"The NFT's launcher id as hex, with or without `0x`. Coinset does not decode `nft1...` ids:\none answers as an unknown NFT with `success: true`."}}},"ByNftIdPaged":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["nft_id"],"properties":{"nft_id":{"type":"string","description":"The NFT's launcher id as hex, with or without `0x`. Coinset does not decode `nft1...` ids:\none answers as an unknown NFT with `success: true`."}}}]},"ByOfferId":{"type":"object","required":["offer_id"],"properties":{"offer_id":{"$ref":"#/components/schemas/Hex32","description":"Offer id as hex, or the offer's own hash."}}},"ByP2":{"type":"object","description":"The wallet is its puzzle hash (`p2`), as on every `_by_p2` method.","required":["p2"],"properties":{"p2":{"type":"string","description":"A puzzle hash as hex, with or without `0x`. Coinset does not decode addresses: an `xch1...`\naddress answers as an empty wallet with `success: true`."}}},"ByP2Paged":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["p2"],"properties":{"p2":{"type":"string","description":"A puzzle hash as hex, with or without `0x`. Coinset does not decode addresses: an `xch1...`\naddress answers as an empty wallet with `success: true`."}}}]},"ByParentIds":{"allOf":[{"$ref":"#/components/schemas/CoinRecordFilter"},{"type":"object","required":["parent_ids"],"properties":{"parent_ids":{"type":"array","items":{"$ref":"#/components/schemas/Hex32"},"description":"Parent coin ids (32 bytes of hex, with or without `0x` each): their children are returned."}}}]},"ByPuzzleHash":{"allOf":[{"$ref":"#/components/schemas/CoinRecordFilter"},{"type":"object","required":["puzzle_hash"],"properties":{"puzzle_hash":{"$ref":"#/components/schemas/Hex32","description":"The puzzle hash coins are locked to, i.e. the address (32 bytes of hex, with or without `0x`)."}}}]},"ByPuzzleHashes":{"allOf":[{"$ref":"#/components/schemas/CoinRecordFilter"},{"type":"object","required":["puzzle_hashes"],"properties":{"puzzle_hashes":{"type":"array","items":{"$ref":"#/components/schemas/Hex32"},"description":"Puzzle hashes (32 bytes of hex, with or without `0x` each)."}}}]},"ByTxId":{"type":"object","required":["tx_id"],"properties":{"tx_id":{"$ref":"#/components/schemas/Hex32","description":"The transaction id: the spend bundle's hash (32 bytes of hex, with or without `0x`)."}}},"CacheStats":{"type":"object","required":["entries","bytes","inflight","by_tier","ttl_ms"],"properties":{"by_tier":{"type":"object","description":"Entries per tier: `immutable`, `peak`, `state`, `mempool`.","additionalProperties":{"type":"integer","minimum":0},"propertyNames":{"type":"string"}},"bytes":{"type":"integer","description":"Keys and bodies, in bytes; bounded by `CACHE_MAX_MB`.","minimum":0},"entries":{"type":"integer","description":"Answers held in the cache right now.","minimum":0},"inflight":{"type":"integer","description":"Requests waiting on a node call that another identical request started.","minimum":0},"ttl_ms":{"type":"object","description":"Lifetimes in milliseconds; `null` for immutable (forever).","additionalProperties":{"type":["integer","null"],"minimum":0},"propertyNames":{"type":"string"}}}},"CatAssetsByP2":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["p2"],"properties":{"include_spent_coins":{"type":["boolean","null"],"description":"`true` also returns spent coins. Default `false`: unspent only."},"p2":{"type":"string","description":"A puzzle hash as hex, with or without `0x`. Coinset does not decode addresses: an `xch1...`\naddress answers as an empty wallet with `success: true`."}}}]},"CatCoinsByAssetId":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["asset_id"],"properties":{"asset_id":{"$ref":"#/components/schemas/Hex32","description":"The CAT's asset id (32 bytes of hex, with or without `0x`)."},"include_spent_coins":{"type":["boolean","null"],"description":"`true` also returns spent coins. Default `false`: unspent only."}}}]},"CatCoinsByP2AndAssetId":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["p2","asset_id"],"properties":{"asset_id":{"$ref":"#/components/schemas/Hex32","description":"The CAT's asset id (32 bytes of hex, with or without `0x`)."},"include_spent_coins":{"type":["boolean","null"],"description":"`true` also returns spent coins. Default `false`: unspent only."},"p2":{"type":"string","description":"A puzzle hash as hex, with or without `0x`. Coinset does not decode addresses: an `xch1...`\naddress answers as an empty wallet with `success: true`."}}}]},"CatPrice":{"type":"object","required":["xch","usd","trades_24h"],"properties":{"ask":{"type":["number","null"],"format":"double","description":"Lowest ask in XCH among open offers, when there is one."},"bid":{"type":["number","null"],"format":"double","description":"Highest bid in XCH among open offers, when there is one."},"trades_24h":{"type":"integer","format":"int32","description":"Trades against XCH in the last 24 hours: a thin market is visible as such.","minimum":0},"usd":{"type":"number","format":"double","description":"`xch` times the XCH price in USD."},"xch":{"type":"number","format":"double","description":"Last traded price in XCH, from nodexch's own trades."}}},"ChannelInfo":{"type":"object","description":"One line of `/x/node/v1/info`'s channel list.","required":["id","version","summary","source","runs_in","state","routes","events"],"properties":{"events":{"type":"array","items":{"type":"string"}},"id":{"type":"string","description":"`offers`: `/x/offers/v1`."},"routes":{"type":"integer","description":"Routes under `/x/<id>/v<version>`, and the event names it adds.","minimum":0},"runs_in":{"type":"string","description":"`gateway` or `indexer`: the service that answers it."},"source":{"type":"string","description":"`own_node`, `own_index` or `mirror`."},"state":{"$ref":"#/components/schemas/State"},"summary":{"type":"string"},"version":{"type":"integer","format":"int32","minimum":0}}},"CheckReport":{"type":"object","required":["name","status","critical","latency_ms","checked_at","since"],"properties":{"checked_at":{"type":"integer","format":"int64","description":"Unix seconds of the last run.","minimum":0},"critical":{"type":"boolean","description":"`true` when the service is not ready while this check fails."},"detail":{"type":["string","null"],"description":"Why the check is not `ok`, when it is not."},"info":{"type":"object","description":"Facts from the check, for example `peak` and `synced` for the chain source."},"latency_ms":{"type":"integer","format":"int64","description":"How long the check took.","minimum":0},"name":{"type":"string","description":"The dependency checked."},"since":{"type":"integer","format":"int64","description":"Unix seconds since when `status` has been what it is.","minimum":0},"status":{"$ref":"#/components/schemas/Status"}}},"Coin":{"type":"object","required":["parent_coin_info","puzzle_hash","amount"],"properties":{"amount":{"type":"integer","format":"int64","description":"Mojos. Up to 2^64 - 1: read it as a big integer in JavaScript.","minimum":0},"parent_coin_info":{"$ref":"#/components/schemas/Hex32"},"puzzle_hash":{"$ref":"#/components/schemas/Hex32"}}},"CoinRecordFilter":{"allOf":[{"$ref":"#/components/schemas/Paging","description":"Coinset's paging (`coin_search_options`); a node ignores it."},{"type":"object","properties":{"end_height":{"type":["integer","null"],"format":"int32","description":"Only coins confirmed before this height (excluded).","minimum":0},"include_spent_coins":{"type":["boolean","null"],"description":"Default `false`: unspent coins only."},"start_height":{"type":["integer","null"],"format":"int32","description":"Only coins confirmed at this height or later.","minimum":0}}}],"description":"What every coin-record query accepts next to its key."},"CoinSpend":{"type":"object","required":["coin","puzzle_reveal","solution"],"properties":{"coin":{"$ref":"#/components/schemas/Coin"},"puzzle_reveal":{"$ref":"#/components/schemas/HexBytes"},"solution":{"$ref":"#/components/schemas/HexBytes"}}},"Dashboard":{"type":"object","required":["blockchain_state","fees","blocks","mempool","success"],"properties":{"blockchain_state":{"type":"object","description":"`get_blockchain_state`'s `blockchain_state` as the loop last read it, every digit as the\nnode wrote it (netspace is far beyond 2^53)."},"blocks":{"type":"array","items":{"type":"object"},"description":"The recent blocks, newest first, at most 32, each as its `dashboard` block frame's `data`\ncarries it: `height`, `header_hash`, `timestamp`, `fees`, `additions`, `removals`, the\nnode's `record` and, for a transaction block, `spends` and `assets`."},"fees":{"$ref":"#/components/schemas/FeeQuote","description":"What `/x/node/v1/fees` answers, without `known`."},"mempool":{"$ref":"#/components/schemas/DashboardMempool"},"success":{"type":"boolean","description":"Always `true` on a 200, as in Coinset answers."}}},"DashboardMempool":{"type":"object","required":["size","items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MempoolAdded"},"description":"As `/x/node/v1/mempool/items` gives them: highest fee per cost first, each as a\n`mempool_delta` frame's `added` entry."},"size":{"type":"integer","format":"int64","description":"Transactions in the mempool (the node's count).","minimum":0}}},"Empty":{"type":"object","description":"Methods without parameters. Anything sent is ignored, as the node does."},"ErrorBody":{"type":"object","description":"The body of every answer that is not a success, on every nodexch service.","required":["success","error","code"],"properties":{"account_url":{"type":["string","null"],"description":"The account page, where the plan can be changed, when `code` is `quota_exceeded`."},"code":{"type":"string","description":"For programs: stable, never reworded. One of `bad_request`, `validation_failed`,\n`unauthorized`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`,\n`key_expired`, `rate_limited`, `quota_exceeded`, `recovery_wait`, `recovery_pending`,\n`nodi_not_approved`, `version_conflict`, `not_enabled`, `upstream_failed`, `unavailable`,\n`internal`; the inference channel's payment refusals add `payment_required`,\n`bad_signature`, `bad_expiry`, `over_capacity`, `lane_unknown`, `lane_unconfirmed`,\n`lane_refundable` and `lane_closed`.","example":"validation_failed"},"details":{"type":"array","items":{"$ref":"#/components/schemas/FieldError"},"description":"The fields that failed, when `code` is `validation_failed`."},"error":{"type":"string","description":"For people: what went wrong.","example":"validation failed: limit must be between 1 and 200"},"resets_at":{"type":["string","null"],"description":"When the allowance renews, RFC 3339 in UTC, when `code` is `quota_exceeded`; when a\nrecovery link can be asked for again, when `code` is `recovery_wait`.","example":"2026-11-01T00:00:00Z"},"success":{"type":"boolean","description":"Always `false`. Coinset's clients test this field.","example":false},"valid_from":{"type":["string","null"],"description":"From when a passkey made by a recovery signs in, RFC 3339 in UTC, when `code` is\n`recovery_pending`.","example":"2026-10-23T09:21:16Z"},"version":{"type":["integer","null"],"format":"int64","description":"The version stored now, when `code` is `version_conflict`: read it again, then write.","example":7}}},"FeeBand":{"type":"object","required":["from_fee_per_cost","transactions","cost"],"properties":{"cost":{"type":"integer","format":"int64","description":"Total CLVM cost of the transactions in this band.","minimum":0},"from_fee_per_cost":{"type":"number","format":"double","description":"Lowest fee rate in the band, mojos per cost (inclusive)."},"to_fee_per_cost":{"type":["number","null"],"format":"double","description":"Where the next band begins; `null` for the last."},"transactions":{"type":"integer","description":"How many mempool transactions pay a fee rate in this band.","minimum":0}}},"FeeEstimate":{"type":"object","description":"One target of a fee estimate.","required":["blocks","fee_per_cost","fee_for_typical_cost"],"properties":{"blocks":{"type":"integer","format":"int64","description":"Within how many transaction blocks.","minimum":0},"fee_for_typical_cost":{"type":"integer","format":"int64","description":"The fee for a transaction of 5,000,000 cost, in mojos.","minimum":0},"fee_per_cost":{"type":"number","format":"double","description":"The fee rate the node estimates for it, mojos per cost."}}},"FeeQuote":{"type":"object","description":"The fee estimate as `/x/node/v1/fees` answers it and the `fees` dashboard frame carries it\n(TASK-153).","required":["estimates","min_fee_per_cost","min_fee_for_typical_cost"],"properties":{"estimates":{"type":"array","items":{"$ref":"#/components/schemas/FeeEstimate"},"description":"Fee estimates for inclusion within the next 1, 3 and 10 transaction blocks (60, 180 and\n600 seconds), from the node's `get_fee_estimate`."},"min_fee_for_typical_cost":{"type":"integer","format":"int64","description":"The smallest fee (mojos) the node accepts for a typical transaction (5,000,000 cost).","minimum":0},"min_fee_per_cost":{"type":"number","format":"double","description":"The node's own minimum fee per cost: below it a transaction is not even taken."}}},"Fees":{"allOf":[{"$ref":"#/components/schemas/FeeQuote"},{"type":"object","required":["known","success"],"properties":{"known":{"type":"integer","description":"Transactions in the mempool the loop knows (see `/x/node/v1/mempool`, `known`).","minimum":0},"success":{"type":"boolean","description":"Always `true` on a 200, as in Coinset answers."}}}]},"FieldError":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string","description":"Path of the field in the request, for example `limit` or `coin_ids[3]`."},"message":{"type":"string","description":"What is wrong with the field."}}},"GetBlockTransactions":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","properties":{"header_hash":{"oneOf":[{"$ref":"#/components/schemas/Hex32","description":"The block's header hash (32 bytes of hex, with or without `0x`). Give this or `height`."},{"type":"null"}]},"height":{"type":["integer","null"],"format":"int32","description":"The block height. Give this or `header_hash`.","minimum":0}}}],"description":"Give `height` or `header_hash`."},"GetBlocks":{"type":"object","required":["start","end"],"properties":{"end":{"type":"integer","format":"int32","description":"Height to stop before (excluded). At most 1,000 above `start` at Coinset.","minimum":0},"exclude_header_hash":{"type":["boolean","null"],"description":"`true` leaves out each block's `header_hash` (smaller answer). Default `false`."},"exclude_reorged":{"type":["boolean","null"],"description":"`true` leaves out blocks no longer on the main chain. Default `false`."},"start":{"type":"integer","format":"int32","description":"First height, included.","minimum":0}}},"GetCatBalancesByP2":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["p2"],"properties":{"asset_ids":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Hex32"},"description":"Only these CATs' asset ids (32 bytes of hex, with or without `0x` each). Default: every CAT."},"p2":{"type":"string","description":"A puzzle hash as hex, with or without `0x`. Coinset does not decode addresses: an `xch1...`\naddress answers as an empty wallet with `success: true`."}}}]},"GetFeeEstimate":{"type":"object","description":"Give `cost` (or, on an own node only, `spend_bundle`, or `spend_type` with `spend_count`).\nCoinset accepts `target_times` and `cost` alone and refuses the others.","required":["target_times"],"properties":{"cost":{"type":["integer","null"],"format":"int64","description":"The transaction's CLVM cost to estimate for.","minimum":0},"spend_bundle":{"oneOf":[{"$ref":"#/components/schemas/SpendBundle","description":"Own node only: estimate for this spend bundle's cost."},{"type":"null"}]},"spend_count":{"type":["integer","null"],"format":"int64","description":"Own node only: how many of `spend_type`.","minimum":0},"spend_type":{"type":["string","null"],"description":"Own node only: a transaction kind (for example `send_xch_transaction`), with `spend_count`."},"target_times":{"type":"array","items":{"type":"integer","format":"int64","minimum":0},"description":"Seconds from now, for example `[60, 300, 600]`."}}},"GetFeeTiersByCost":{"type":"object","required":["cost"],"properties":{"cost":{"type":"integer","format":"int64","description":"CLVM cost of the transaction.","minimum":0}}},"GetMempoolItemByTxId":{"type":"object","required":["tx_id"],"properties":{"include_pending_items":{"type":["boolean","null"],"description":"`true` also looks at items waiting to enter the mempool. Default `false`."},"tx_id":{"$ref":"#/components/schemas/Hex32","description":"The transaction id: the spend bundle's hash (32 bytes of hex, with or without `0x`)."}}},"GetMempoolItemsByCoinName":{"type":"object","required":["coin_name"],"properties":{"coin_name":{"$ref":"#/components/schemas/Hex32","description":"The coin id (32 bytes of hex, with or without `0x`)."},"include_spent_coins":{"type":["boolean","null"],"description":"`true` also returns items that spend the coin. Default `false`."}}},"GetNetworkSpace":{"type":"object","required":["newer_block_header_hash","older_block_header_hash"],"properties":{"newer_block_header_hash":{"$ref":"#/components/schemas/Hex32","description":"The later block of the pair (32 bytes of hex, with or without `0x`)."},"older_block_header_hash":{"$ref":"#/components/schemas/Hex32","description":"The earlier block of the pair (32 bytes of hex, with or without `0x`)."}}},"GetPuzzleAndSolution":{"type":"object","required":["coin_id"],"properties":{"coin_id":{"$ref":"#/components/schemas/Hex32","description":"The spent coin's id (32 bytes of hex, with or without `0x`)."},"height":{"type":["integer","null"],"format":"int32","description":"Height at which the coin was spent. Coinset looks it up when it is left out.","minimum":0}}},"GetRecentSignagePointOrEos":{"type":"object","description":"Exactly one of the two.","properties":{"challenge_hash":{"oneOf":[{"$ref":"#/components/schemas/Hex32","description":"An end of sub-slot's challenge hash (32 bytes of hex, with or without `0x`). Give this or `sp_hash`."},{"type":"null"}]},"sp_hash":{"oneOf":[{"$ref":"#/components/schemas/Hex32","description":"A signage point's hash (32 bytes of hex, with or without `0x`). Give this or `challenge_hash`."},{"type":"null"}]}}},"HealthReport":{"type":"object","required":["status","service","version","uptime_s","checks"],"properties":{"checks":{"type":"array","items":{"$ref":"#/components/schemas/CheckReport"},"description":"One entry per dependency."},"info":{"type":"object","description":"What this deployment is: network, mode and the like."},"service":{"type":"string","description":"`gateway`, `indexer` or `chain-reader`."},"status":{"$ref":"#/components/schemas/Status","description":"`down` if a critical check is down; `degraded` if anything else is not ok."},"uptime_s":{"type":"integer","format":"int64","description":"Seconds since the service started.","minimum":0},"version":{"type":"string","description":"The service version and build."}}},"HeightRange":{"type":"object","description":"`start` inclusive, `end` exclusive.","required":["start","end"],"properties":{"end":{"type":"integer","format":"int32","description":"Height to stop before (excluded). At most 1,000 above `start` at Coinset.","minimum":0},"start":{"type":"integer","format":"int32","description":"First height, included.","minimum":0}}},"Hex32":{"type":"string","description":"32 bytes as hex, with or without 0x","examples":["0xccd5bb71183532bff220ba46c268991a3ff07eb358e8255a65c30a2dce0e5fbb"],"pattern":"^(0x)?[0-9a-fA-F]{64}$"},"HexBytes":{"type":"string","description":"Hex of any length, with or without `0x`: puzzle reveals, solutions, signatures.","example":"0xff02ffff01ff02"},"HostStatus":{"type":"object","description":"Per host, for `/status` and `/metrics`.","required":["url","budget_per_minute","calls_last_minute","hit","miss","coalesced","stale","calls","failed","budget_refused"],"properties":{"budget_per_minute":{"type":"integer","format":"int32","description":"Calls to this host allowed per minute (`PASSTHROUGH_BUDGET_PER_MINUTE`).","minimum":0},"budget_refused":{"type":"integer","format":"int64","description":"Requests the budget refused.","minimum":0},"calls":{"type":"integer","format":"int64","description":"Calls made to the original, and how many failed.","minimum":0},"calls_last_minute":{"type":"integer","description":"Calls made to this host in the last 60 seconds.","minimum":0},"coalesced":{"type":"integer","format":"int64","description":"Requests that waited for an identical one already in flight.","minimum":0},"failed":{"type":"integer","format":"int64","description":"Calls that failed or answered with an error.","minimum":0},"hit":{"type":"integer","format":"int64","description":"Requests answered from the cache.","minimum":0},"miss":{"type":"integer","format":"int64","description":"Requests that had to ask the host.","minimum":0},"stale":{"type":"integer","format":"int64","description":"Expired answers served because the original failed or the budget was spent.","minimum":0},"url":{"type":"string","description":"The original, without path or query."}}},"Info":{"type":"object","required":["network","mode","nodexch_version","peak_height","peak_hash","synced","sync_mode","sync_progress_height","sync_tip_height","channels","channel_details","success"],"properties":{"channel_details":{"type":"array","items":{"$ref":"#/components/schemas/ChannelInfo"},"description":"Every channel this build has (decision-008, TASK-025): its manifest's id, version, source,\nthe service that answers it, whether this deployment serves it, and its routes and events."},"channels":{"type":"array","items":{"type":"string"},"description":"What this deployment serves: `node` (this channel), `coinset` (full-node methods),\n`events` (`/ws`, `/events`), and `chain` and `indexed` when enabled."},"mode":{"type":"string","description":"`full` (an own node) or `lean` (a public upstream)."},"network":{"type":"string","description":"`mainnet` or `testnet11`."},"node_version":{"type":["string","null"],"description":"The node's version; `null` in lean mode, or before the loop has asked."},"nodexch_version":{"type":"string","description":"This gateway's version."},"peak_hash":{"type":"string","description":"Header hash of the peak block."},"peak_height":{"type":"integer","format":"int64","description":"Height of the peak block.","minimum":0},"seconds_since_peak":{"type":["integer","null"],"format":"int64","description":"Seconds since the loop saw the current peak first; a stalled node shows a large number.","minimum":0},"success":{"type":"boolean","description":"Always `true` on a 200, as in Coinset answers."},"sync_mode":{"type":"boolean","description":"`true` while the node catches up with the network."},"sync_progress_height":{"type":"integer","format":"int64","description":"Height the node has synced to.","minimum":0},"sync_tip_height":{"type":"integer","format":"int64","description":"Height the node syncs towards (the network peak it knows).","minimum":0},"synced":{"type":"boolean","description":"`true` when the node is at the network peak."}}},"Loop":{"allOf":[{"$ref":"#/components/schemas/LoopStatus"},{"type":"object","required":["interval_ms","lag_s"],"properties":{"interval_ms":{"type":"integer","description":"Milliseconds between two ticks of the event loop (`LOOP_INTERVAL_MS`).","minimum":0},"lag_s":{"type":"number","format":"double","description":"How late the last tick started, in seconds."}}}]},"LoopStatus":{"type":"object","description":"What `/status` shows about the loop.","required":["ticks","departed"],"properties":{"departed":{"type":"integer","description":"Transactions that left the mempool and wait for a block to place them.","minimum":0},"last_error":{"type":["string","null"],"description":"Why the last tick failed, `null` when it did not."},"last_tick_at_ms":{"type":["integer","null"],"format":"int64","description":"When the last tick ran (Unix milliseconds).","minimum":0},"mempool":{"type":["integer","null"],"description":"Transactions in the mempool as of the last tick.","minimum":0},"peak":{"oneOf":[{"$ref":"#/components/schemas/Peak","description":"The peak the loop saw last."},{"type":"null"}]},"ticks":{"type":"integer","format":"int64","description":"Ticks since the gateway started.","minimum":0}}},"Mempool":{"type":"object","required":["size","cost","fees","max_total_cost","min_fee_per_cost","min_fee_for_typical_cost","known","fee_bands","success"],"properties":{"cost":{"type":"integer","format":"int64","description":"Their total CLVM cost.","minimum":0},"fee_bands":{"type":"array","items":{"$ref":"#/components/schemas/FeeBand"},"description":"Mempool transactions by fee rate (mojos per cost), lowest band first."},"fees":{"type":"integer","format":"int64","description":"Total fees in the mempool, in mojos.","minimum":0},"known":{"type":"integer","description":"Transactions whose fee and cost the loop knows; the bands count these only. In lean mode\nthe budget may leave some out.","minimum":0},"max_total_cost":{"type":"integer","format":"int64","description":"The most cost the mempool holds; past it the cheapest transactions are dropped.","minimum":0},"min_fee_for_typical_cost":{"type":"integer","format":"int64","description":"That minimum for a transaction of 5,000,000 cost, in mojos, rounded up.","minimum":0},"min_fee_per_cost":{"type":"number","format":"double","description":"The node's minimum fee per cost for a transaction to enter the mempool (0 until it fills)."},"size":{"type":"integer","format":"int64","description":"Transactions in the mempool (the node's count).","minimum":0},"success":{"type":"boolean","description":"Always `true` on a 200, as in Coinset answers."}}},"MempoolAdded":{"allOf":[{"oneOf":[{"$ref":"#/components/schemas/MempoolDetail","description":"Absent when the loop did not fetch the item (a lean budget without room): fee and cost\nare then 0 as well."},{"type":"null"}]},{"type":"object","required":["id","first_seen_ms","fee_mojos","cost"],"properties":{"cost":{"type":"integer","format":"int64","minimum":0},"fee_mojos":{"type":"integer","format":"int64","minimum":0},"first_seen_ms":{"type":"integer","format":"int64","minimum":0},"id":{"type":"string"}}}]},"MempoolAssets":{"type":"object","description":"What a transaction spends, by asset: sums over the coins it removes.","required":["xch","cats","nfts","dids","singletons"],"properties":{"cats":{"type":"array","items":{"$ref":"#/components/schemas/MempoolCat"}},"dids":{"type":"integer","format":"int64","minimum":0},"nfts":{"type":"integer","format":"int64","description":"NFT coins spent (one is one NFT).","minimum":0},"singletons":{"type":"integer","format":"int64","description":"Other singleton coins spent, pool singletons among them.","minimum":0},"xch":{"type":"string","description":"Mojos of plain XCH spent (coins that are no CAT, NFT, DID or singleton), in decimal\ndigits: a sum of coins can pass 2^53."}}},"MempoolCat":{"type":"object","required":["amount"],"properties":{"amount":{"type":"string","description":"CAT mojos spent (1000 a CAT), in decimal digits."},"asset_id":{"type":["string","null"],"description":"The CAT's asset id (its TAIL hash); `null` when the puzzle did not show it."}}},"MempoolCoin":{"type":"object","description":"A coin as the node writes it.","required":["parent_coin_info","puzzle_hash","amount"],"properties":{"amount":{"type":"integer","format":"int64","description":"Mojos.","minimum":0},"parent_coin_info":{"type":"string"},"puzzle_hash":{"type":"string"}}},"MempoolDetail":{"type":"object","description":"What an explorer shows of a mempool transaction beyond its fee, read once from the item so\nthat no client has to fetch the item (megabytes of puzzle reveals) for it.","required":["spends","additions","removals","addition_count","removal_count","kind","asset_ids","assets"],"properties":{"addition_count":{"type":"integer","format":"int64","minimum":0},"additions":{"type":"array","items":{"$ref":"#/components/schemas/MempoolCoin"},"description":"The first `MEMPOOL_COINS_MAX` coins it creates; `addition_count` is how many there are."},"asset_ids":{"type":"array","items":{"type":"string"},"description":"CAT asset ids and NFT, DID and singleton launcher ids seen in the puzzles."},"assets":{"$ref":"#/components/schemas/MempoolAssets"},"kind":{"$ref":"#/components/schemas/MempoolKind"},"removal_count":{"type":"integer","format":"int64","minimum":0},"removals":{"type":"array","items":{"$ref":"#/components/schemas/MempoolCoin"},"description":"The first `MEMPOOL_COINS_MAX` coins it spends; `removal_count` is how many there are."},"spends":{"type":"integer","format":"int64","description":"Coin spends in the bundle.","minimum":0}}},"MempoolItems":{"type":"object","required":["size","items","success"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MempoolAdded"},"description":"The mempool transactions the loop fetched, highest fee per cost first, each as a\n`mempool_delta` frame's `added` entry gives it. Read it once, then follow the frames."},"size":{"type":"integer","format":"int64","description":"Transactions in the mempool (the node's count).","minimum":0},"success":{"type":"boolean","description":"Always `true` on a 200, as in Coinset answers."}}},"MempoolKind":{"type":"string","description":"What a mempool transaction mostly is, by the puzzles it spends: the most specific kind of\nany of its spends (an offer before an NFT, a DID, a CAT, a pool singleton, any other\nsingleton, plain XCH).","enum":["offer","nft","did","cat","pool","singleton","xch","unknown"]},"Network":{"allOf":[{"type":"object","description":"The indexer's `/x/network/v1/summary`: the latest count, the own crawler's age (`own`),\nnodes per country, the history since 2022 (Chia's crawler before the own one), and the\ncountry database's attribution."},{"type":"object","properties":{"chain_time":{"type":["integer","null"],"format":"int64","description":"The chain's clock: the timestamp of the last transaction block (the timelord's time), in\nseconds since the epoch; `null` until the loop has seen one.","minimum":0}}}],"description":"The network's size from the indexer, and the chain's clock from the loop."},"NftCoinsByNftId":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["nft_id"],"properties":{"include_spent_coins":{"type":["boolean","null"],"description":"`true` also returns the NFT's earlier (spent) coins. Default `false`."},"nft_id":{"type":"string","description":"The NFT's launcher id as hex, with or without `0x`. Coinset does not decode `nft1...` ids:\none answers as an unknown NFT with `success: true`."}}}]},"NftIdsByP2":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["p2"],"properties":{"include_spent_coins":{"type":["boolean","null"],"description":"`true` also lists NFTs the address held before. Default `false`."},"p2":{"type":"string","description":"A puzzle hash as hex, with or without `0x`. Coinset does not decode addresses: an `xch1...`\naddress answers as an empty wallet with `success: true`."}}}]},"NodeAnswer":{"type":"object","description":"The node's JSON, passed through byte for byte: nodexch neither parses nor re-encodes it, so integers above 2^53 arrive as the node wrote them. The fields next to `success` depend on the method; see the linked Chia reference.","required":["success"],"properties":{"success":{"type":"boolean"}},"additionalProperties":true},"OffersByAsset":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["asset_id"],"properties":{"asset_id":{"$ref":"#/components/schemas/Hex32","description":"The CAT's asset id (32 bytes of hex, with or without `0x`)."},"filter":{"type":["string","null"],"description":"`all` (the default), `offered` or `requested`: which side of the offer the asset is on."},"status":{"type":["string","null"],"description":"`open` (default; an unknown status means `open` too), `pending` (in the mempool, and taken offers as `confirmed`), `cancelled` or `expired`. nodexch adds `completed`: taken offers only, newest first."}}}]},"OffersByNft":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["nft_id"],"properties":{"filter":{"type":["string","null"],"description":"`all` (the default), `offered` or `requested`: which side of the offer the asset is on."},"nft_id":{"type":"string","description":"The NFT's launcher id as hex, with or without `0x`. Coinset does not decode `nft1...` ids\n(one answers as an unknown NFT with `success: true`); nodexch's indexer does."},"status":{"type":["string","null"],"description":"`open` (default; an unknown status means `open` too), `pending` (in the mempool, and taken offers as `confirmed`), `cancelled` or `expired`. nodexch adds `completed`: taken offers only, newest first."}}}]},"OffersByP2":{"allOf":[{"$ref":"#/components/schemas/Paging"},{"type":"object","required":["p2"],"properties":{"p2":{"type":"string","description":"A puzzle hash as hex, with or without `0x`. Coinset does not decode addresses: an `xch1...`\naddress answers as an empty wallet with `success: true`."},"status":{"type":["string","null"],"description":"`open` (default; an unknown status means `open` too), `pending` (in the mempool, and taken offers as `confirmed`), `cancelled` or `expired`. nodexch adds `completed`: taken offers only, newest first."}}}],"description":"Offers of an address, filtered by status."},"Order":{"type":"string","description":"Coinset takes `asc` and `desc` in any case (`ASC` answers; `sideways` is a 400).","enum":["asc","desc"]},"Paging":{"type":"object","description":"Coinset's paging, on every indexed list.","properties":{"cursor":{"type":["string","null"],"description":"`next_cursor` from the previous page. Leave it out for the first page."},"limit":{"type":["integer","null"],"format":"int32","description":"Items per page (at least 1). Coinset's default and maximum depend on the method.","minimum":0},"order":{"oneOf":[{"$ref":"#/components/schemas/Order","description":"`asc` (oldest first, the default) or `desc`, in any case."},{"type":"null"}]}}},"PagingOnly":{"type":"object","description":"Only the paging, as Coinset's `get_reorgs` takes it: no `order`, at most 200 a page.","properties":{"cursor":{"type":["string","null"],"description":"`next_cursor` from the previous page. Leave it out for the first page."},"limit":{"type":["integer","null"],"format":"int32","description":"Items per page, 1 to 200.","minimum":0}}},"Peak":{"type":"object","required":["height","hash"],"properties":{"hash":{"type":"string","description":"Header hash of the peak block."},"height":{"type":"integer","format":"int64","description":"Height of the peak block.","minimum":0}}},"Prices":{"type":"object","required":["at","xch","cats"],"properties":{"at":{"type":"integer","format":"int64","description":"Unix seconds when this answer was put together.","minimum":0},"cats":{"type":"object","description":"By asset id (64 hex characters, lowercase). CATs with no trade yet are left out: a book\nwithout a trade is not a price.","additionalProperties":{"$ref":"#/components/schemas/CatPrice"},"propertyNames":{"type":"string"}},"xch":{"$ref":"#/components/schemas/XchPrice"}}},"PushOffer":{"type":"object","required":["offer"],"properties":{"offer":{"type":"string","description":"The offer file: bech32m text starting with `offer1`."}}},"PushTx":{"type":"object","required":["spend_bundle"],"properties":{"spend_bundle":{"$ref":"#/components/schemas/SpendBundle","description":"The signed spend bundle to submit."}}},"ReadyReport":{"type":"object","required":["ready","failing"],"properties":{"failing":{"type":"array","items":{"type":"string"},"description":"Names of the critical checks that are down."},"ready":{"type":"boolean","description":"`true` when every critical check passes."}}},"Source":{"type":"object","required":["kind","url","reason"],"properties":{"kind":{"type":"string","description":"`node` or `upstream`."},"reason":{"type":"string","description":"Why the environment led to this source."},"url":{"type":"string","description":"The node or upstream URL, without credentials, path or query."}}},"SpendBundle":{"type":"object","required":["coin_spends","aggregated_signature"],"properties":{"aggregated_signature":{"$ref":"#/components/schemas/HexBytes"},"coin_spends":{"type":"array","items":{"$ref":"#/components/schemas/CoinSpend"}}}},"State":{"type":"string","description":"A channel's state as the gateway reports it.","enum":["on","off","down"]},"Status":{"type":"string","enum":["ok","degraded","down"]},"StreamCounts":{"type":"object","required":["ws","sse"],"properties":{"sse":{"type":"integer","description":"Open server-sent event streams (`/events`).","minimum":0},"ws":{"type":"integer","description":"Open WebSockets (`/ws`).","minimum":0}}},"XchPrice":{"type":"object","required":["usd","sources"],"properties":{"eur":{"type":["number","null"],"format":"double","description":"Not yet priced in EUR by the channel; `null` until it is."},"sources":{"type":"integer","description":"How many sources agreed on `usd`.","minimum":0},"usd":{"type":"number","format":"double"}}}},"securitySchemes":{"api_key":{"type":"http","scheme":"bearer","description":"Paste an API key to try requests from this page. Create a short-lived key for this on [nodexch.com → Account → Keys](https://nodexch.com/account) (Expires: 1 hour); don't use a production key. The key stays in this tab only: it isn't saved and is sent only to this gateway."}}},"security":[{"api_key":[]},{}],"tags":[{"name":"Prices"},{"name":"Events"},{"name":"Service"},{"name":"Accounts"},{"name":"Assets channel"},{"name":"Inference channel"},{"name":"Loans channel"},{"name":"Node channel"},{"name":"Offers channel"},{"name":"Operators"},{"name":"Price channel"},{"name":"Blocks","description":"Blocks, block records, their spends and the coins they add and remove."},{"name":"Coins","description":"Coin records by name, puzzle hash, parent or hint; puzzles and solutions."},{"name":"Mempool","description":"What waits in the mempool."},{"name":"Fees","description":"Fee estimates."},{"name":"Full Node","description":"The chain's state, the network, and submitting a spend bundle."},{"name":"Transactions","description":"Transactions with Coinset's semantic summary, and reorgs."},{"name":"Addresses","description":"What an address holds and can claim."},{"name":"CATs","description":"CAT balances, coins and transactions."},{"name":"NFTs and singletons","description":"NFTs, their coins and transactions, and singletons."},{"name":"Offers","description":"Offers and their status."}],"x-tagGroups":[{"name":"Full node","tags":["Blocks","Coins","Mempool","Fees","Full Node"]},{"name":"Coinset API","tags":["Transactions","Addresses","CATs","NFTs and singletons","Offers"]},{"name":"nodexch","tags":["Prices","Events","Service","Accounts","Assets channel","Inference channel","Loans channel","Node channel","Offers channel","Operators","Price channel"]}]}