{ "components": { "examples": {}, "headers": {}, "parameters": {}, "requestBodies": {}, "responses": {}, "schemas": { "CredentialHex": { "type": "string", "example": "8200581c8baf48931c5187cd59fde553f4e7da2e1a2aa9202ec6e67815cb3f8a", "pattern": "[0-9a-fA-F]{64}" }, "Bech32FullAddress": { "type": "string", "example": "stake1ux236z4g4r4pztn5v69txyj2yq6a3esq5x4p4stxydra7zsnv25ue" }, "Bech32Credential": { "type": "string", "example": "script1ffv7hkf75573h0mlsg3jc7cpyuq2pn6tk7xc08dtkx3q5ah7h47" }, "Base58Address": { "type": "string", "example": "Ae2tdPwUPEZHu3NZa6kCwet2msq4xrBXKHBDvogFKwMsF18Jca8JHLRBas7" }, "Address": { "anyOf": [ { "$ref": "#/components/schemas/CredentialHex" }, { "$ref": "#/components/schemas/Bech32FullAddress" }, { "$ref": "#/components/schemas/Bech32Credential" }, { "$ref": "#/components/schemas/Base58Address" } ], "example": "addr1qxzksn47upfu4fwqfmxx29rn5znlkw3ag98ul8rgndwm79aaql88xw6ez84k2ln6lawnt79sdqh7qwq0wcs672auktmsawshfe", "description": "Supported types:\n- Credential hex (8200581c...) - note this is not a keyhash (it contains a credential type prefix)\n- Bech32 full address (`addr` / `addr_test` / `stake` / `stake_test`)\n- Bech32 credentials ( `addr_vkh`, `script`, etc.) - this is the recommended approach\n- Legacy Byron format (Ae2, Dd, etc.)\n\nNote: we recommend avoiding to query base addresses history using bech32\nAs Cardano UTXO spendability depends only on the payment credential and not the full base address\nThe result will also miss transactions that are only related to the payment key of the address\nex: the payment key is used in a multisig\n\nNote: using two different address representations in the same query will hurt performance (ex: addr1 and addr_vkh1)\nThis because under-the-hood this will run multiple independent SQL queries for the different formats\n\nWarning: querying reward bech32 addresses is equivalent to querying the stake credential inside it\nThis may return more results than expected (ex: a multisig containing the staking key of the wallet)" }, "AddressUsedResponse": { "properties": { "addresses": { "items": { "$ref": "#/components/schemas/Address" }, "type": "array" } }, "required": [ "addresses" ], "type": "object" }, "BlockTxPair": { "properties": { "tx": { "type": "string", "description": "tx hash", "example": "336d520af58ff440b2f20210ddb5ef5b2c035e0ec7ec258bae4b519a87fa1696", "pattern": "[0-9a-fA-F]{64}" }, "block": { "type": "string", "description": "block hash", "example": "2548ad5d0d9d33d50ab43151f574474454017a733e307229fa509c4987ca9782", "pattern": "[0-9a-fA-F]{64}" } }, "required": [ "tx", "block" ], "type": "object" }, "AfterBlockPagination": { "properties": { "after": { "$ref": "#/components/schemas/BlockTxPair", "description": "Omitting \"after\" means you query starting from the genesis block.\n\nNote: the reason you have to specify both a tx hash AND a block hash in the \"after\" for pagination\nis because this is the only way to make sure your pagination doesn't get affected by rollbacks.\nex: a rollback could cause a tx to be removed from one block and appear in a totally different block.\nSpecifying the block hash as well allows making sure you're paginating on the right tx in the right block." } }, "type": "object" }, "UntilBlockPagination": { "properties": { "untilBlock": { "type": "string", "description": "block hash - inclusive", "example": "cf8c63a909d91776e27f7d05457e823a9dba606a7ab499ac435e7904ee70d7c8", "pattern": "[0-9a-fA-F]{64}" } }, "required": [ "untilBlock" ], "type": "object" }, "Pagination": { "allOf": [ { "$ref": "#/components/schemas/AfterBlockPagination" }, { "$ref": "#/components/schemas/UntilBlockPagination" } ] }, "AddressUsedRequest": { "allOf": [ { "properties": { "addresses": { "items": { "$ref": "#/components/schemas/Address" }, "type": "array" } }, "required": [ "addresses" ], "type": "object" }, { "$ref": "#/components/schemas/Pagination" } ] }, "ErrorShape": { "properties": { "reason": { "type": "string" }, "code": { "type": "number", "format": "double" } }, "required": [ "reason", "code" ], "type": "object" }, "BlockSubset": { "properties": { "slot": { "type": "number", "format": "double", "example": 4924800 }, "epoch": { "type": "number", "format": "double", "example": 209 }, "height": { "type": "number", "format": "double", "example": 4512067 }, "hash": { "type": "string", "description": "[0-9a-fA-F]{64}", "example": "cf8c63a909d91776e27f7d05457e823a9dba606a7ab499ac435e7904ee70d7c8" }, "era": { "type": "number", "format": "double", "example": 1 } }, "required": [ "slot", "epoch", "height", "hash", "era" ], "type": "object" }, "BlockLatestResponse": { "properties": { "block": { "$ref": "#/components/schemas/BlockSubset" } }, "required": [ "block" ], "type": "object" }, "BlockLatestRequest": { "properties": { "offset": { "type": "number", "format": "double", "description": "Note: an offset of -1 is treated the same as an offset of +1\n\nIt's usually best to avoid pagination on the latest block as in Cardano, small rollbacks of 1~2 block are very frequent and expected (read Ouroboros for why)\nThat means that using this block for pagination will often lead to your pagination being invalidated by a rollback\nTo avoid this, you can pass an `offset` from the tip for more stable pagination" } }, "required": [ "offset" ], "type": "object" }, "PageInfo": { "properties": { "pageInfo": { "properties": { "hasNextPage": { "type": "boolean", "example": false } }, "required": [ "hasNextPage" ], "type": "object" } }, "required": [ "pageInfo" ], "type": "object" }, "CredentialAddressResponse": { "allOf": [ { "properties": { "addresses": { "items": { "$ref": "#/components/schemas/Bech32FullAddress" }, "type": "array" } }, "required": [ "addresses" ], "type": "object" }, { "$ref": "#/components/schemas/PageInfo" } ] }, "Credential": { "anyOf": [ { "$ref": "#/components/schemas/CredentialHex" }, { "$ref": "#/components/schemas/Bech32Credential" } ] }, "CredentialAddressRequest": { "allOf": [ { "properties": { "after": { "$ref": "#/components/schemas/Bech32FullAddress" }, "credentials": { "items": { "$ref": "#/components/schemas/Credential" }, "type": "array" } }, "required": [ "credentials" ], "type": "object" }, { "$ref": "#/components/schemas/UntilBlockPagination" } ] }, "PolicyId": { "type": "string", "example": "b863bc7369f46136ac1048adb2fa7dae3af944c3bbb2be2f216a8d4f", "pattern": "[0-9a-fA-F]{56}" }, "AssetName": { "type": "string", "example": "42657272794e617679", "pattern": "[0-9a-fA-F]{0,64}" }, "Asset": { "properties": { "assetName": { "$ref": "#/components/schemas/AssetName" }, "policyId": { "$ref": "#/components/schemas/PolicyId" } }, "required": [ "assetName", "policyId" ], "type": "object", "nullable": true }, "Amount": { "type": "string", "example": "2042352568679", "pattern": "[1-9][0-9]*" }, "Dex": { "enum": [ "WingRiders", "SundaeSwap", "MinSwap" ], "type": "string" }, "DexLastPrice": { "properties": { "dex": { "$ref": "#/components/schemas/Dex" }, "amount2": { "$ref": "#/components/schemas/Amount" }, "amount1": { "$ref": "#/components/schemas/Amount" }, "asset2": { "$ref": "#/components/schemas/Asset" }, "asset1": { "$ref": "#/components/schemas/Asset" } }, "required": [ "dex", "amount2", "amount1", "asset2", "asset1" ], "type": "object" }, "DexLastPriceResponse": { "properties": { "lastPrice": { "items": { "$ref": "#/components/schemas/DexLastPrice" }, "type": "array" } }, "required": [ "lastPrice" ], "type": "object" }, "PriceType": { "enum": [ "buy", "sell", "mean" ], "type": "string" }, "DexLastPriceRequest": { "properties": { "type": { "$ref": "#/components/schemas/PriceType" }, "assetPairs": { "items": { "properties": { "asset2": { "$ref": "#/components/schemas/Asset" }, "asset1": { "$ref": "#/components/schemas/Asset" } }, "required": [ "asset2", "asset1" ], "type": "object" }, "type": "array" } }, "required": [ "type", "assetPairs" ], "type": "object" }, "DexMeanPrice": { "properties": { "amount2": { "$ref": "#/components/schemas/Amount" }, "amount1": { "$ref": "#/components/schemas/Amount" }, "asset2": { "$ref": "#/components/schemas/Asset" }, "asset1": { "$ref": "#/components/schemas/Asset" }, "dex": { "$ref": "#/components/schemas/Dex" }, "tx_hash": { "type": "string" } }, "required": [ "amount2", "amount1", "asset2", "asset1", "dex", "tx_hash" ], "type": "object" }, "DexMeanPriceResponse": { "properties": { "meanPrices": { "items": { "$ref": "#/components/schemas/DexMeanPrice" }, "type": "array" } }, "required": [ "meanPrices" ], "type": "object" }, "DexMeanPriceRequest": { "allOf": [ { "properties": { "limit": { "type": "number", "format": "double", "description": "Defaults to `DEX_PRICE_LIMIT.RESPONSE`" }, "dexes": { "items": { "$ref": "#/components/schemas/Dex" }, "type": "array" }, "assetPairs": { "items": { "properties": { "asset2": { "$ref": "#/components/schemas/Asset" }, "asset1": { "$ref": "#/components/schemas/Asset" } }, "required": [ "asset2", "asset1" ], "type": "object" }, "type": "array" } }, "required": [ "dexes", "assetPairs" ], "type": "object" }, { "$ref": "#/components/schemas/Pagination" } ] }, "Direction": { "enum": [ "buy", "sell" ], "type": "string" }, "DexSwap": { "properties": { "direction": { "$ref": "#/components/schemas/Direction" }, "amount2": { "$ref": "#/components/schemas/Amount" }, "amount1": { "$ref": "#/components/schemas/Amount" }, "asset2": { "$ref": "#/components/schemas/Asset" }, "asset1": { "$ref": "#/components/schemas/Asset" }, "dex": { "$ref": "#/components/schemas/Dex" }, "tx_hash": { "type": "string" } }, "required": [ "direction", "amount2", "amount1", "asset2", "asset1", "dex", "tx_hash" ], "type": "object" }, "DexSwapResponse": { "properties": { "swap": { "items": { "$ref": "#/components/schemas/DexSwap" }, "type": "array" } }, "required": [ "swap" ], "type": "object" }, "DexSwapRequest": { "allOf": [ { "properties": { "limit": { "type": "number", "format": "double", "description": "Defaults to `DEX_PRICE_LIMIT.RESPONSE`" }, "assetPairs": { "items": { "properties": { "asset2": { "$ref": "#/components/schemas/Asset" }, "asset1": { "$ref": "#/components/schemas/Asset" } }, "required": [ "asset2", "asset1" ], "type": "object" }, "type": "array" }, "dexes": { "items": { "$ref": "#/components/schemas/Dex" }, "type": "array" } }, "required": [ "assetPairs", "dexes" ], "type": "object" }, { "$ref": "#/components/schemas/Pagination" } ] }, "Cip25Metadata": { "type": "string", "example": "a365636f6c6f72672330303030383065696d616765783a697066733a2f2f697066732f516d534b593167317a5375506b3536635869324b38524e766961526b44485633505a756a7474663755676b343379646e616d656a4265727279204e617679", "pattern": "[0-9a-fA-F]*" }, "Cip25Response": { "properties": { "cip25": { "properties": {}, "additionalProperties": { "properties": {}, "additionalProperties": { "$ref": "#/components/schemas/Cip25Metadata" }, "type": "object" }, "type": "object", "example": { "b863bc7369f46136ac1048adb2fa7dae3af944c3bbb2be2f216a8d4f": { "42657272794e617679": "a365636f6c6f72672330303030383065696d616765783a697066733a2f2f697066732f516d534b593167317a5375506b3536635869324b38524e766961526b44485633505a756a7474663755676b343379646e616d656a4265727279204e617679" } } } }, "required": [ "cip25" ], "type": "object" }, "PolicyIdAssetMapType": { "properties": { "assets": { "properties": {}, "additionalProperties": { "items": { "$ref": "#/components/schemas/AssetName" }, "type": "array" }, "type": "object", "example": { "b863bc7369f46136ac1048adb2fa7dae3af944c3bbb2be2f216a8d4f": [ "42657272794e617679" ] } } }, "required": [ "assets" ], "type": "object" }, "BlockInfo": { "allOf": [ { "$ref": "#/components/schemas/BlockSubset" }, { "properties": { "isValid": { "type": "boolean" }, "indexInBlock": { "type": "number", "format": "double", "description": "index of tx in block" } }, "required": [ "isValid", "indexInBlock" ], "type": "object" } ] }, "TransactionInfo": { "properties": { "payload": { "type": "string", "description": "cbor-encoded transaction", "example": "84a500818258209cb4f8c2eecccc9f1e13768046f37ef56dcb5a4dc44f58907fe4ae21d7cf621d020181825839019cb581f4337a6142e477af6e00fe41b1fc4a5944a575681b8499a3c0bd07ce733b5911eb657e7aff5d35f8b0682fe0380f7621af2bbcb2f71b0000000586321393021a0002a389031a004b418c048183028200581cbd07ce733b5911eb657e7aff5d35f8b0682fe0380f7621af2bbcb2f7581c53215c471b7ac752e3ddf8f2c4c1e6ed111857bfaa675d5e31ce8bcea1008282582073e584cda9fe483fbefb81c251e616018a2b493ef56820f0095b63adede54ff758404f13df42ef1684a3fd55255d8368c9ecbd15b55e2761a2991cc4f401a753c16d6da1da158e84b87b4de9715af7d9adc0d79a7c1f2c3097228e02b20be4616a0c82582066c606974819f457ceface78ee3c4d181a84ca9927a3cfc92ef8c0b6dd4576e8584014ae9ee9ed5eb5700b6c5ac270543671f5d4f943d4726f4614dc061174ee29db44b9e7fc58e6c98c13fad8594f2633c5ec70a9a87f5cbf130308a42edb553001f5f6", "pattern": "[0-9a-fA-F]*" }, "hash": { "type": "string", "description": "Strictly speaking, you can calculate this by hashing the payload\nIt's just provided for convenience", "example": "011b86557367525891331b4bb985545120efc335b606d6a1c0d5a35fb330f421", "pattern": "[0-9a-fA-F]{64}" } }, "required": [ "payload", "hash" ], "type": "object" }, "TxAndBlockInfo": { "properties": { "transaction": { "$ref": "#/components/schemas/TransactionInfo" }, "block": { "$ref": "#/components/schemas/BlockInfo" } }, "required": [ "transaction", "block" ], "type": "object" }, "TransactionHistoryResponse": { "properties": { "transactions": { "items": { "$ref": "#/components/schemas/TxAndBlockInfo" }, "type": "array" } }, "required": [ "transactions" ], "type": "object" }, "RelationFilter": { "type": "number", "format": "double", "example": 255, "description": "Filter which uses of the address are considered relevant for the query.\n\nThis is a bitmask, so you can combine multiple options\nex: `RelationFilterType.Input & RelationFilterType.Output`\n\nNote: relations only apply to credentials and not to full bech32 addresses", "pattern": "([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])" }, "TransactionHistoryRequest": { "allOf": [ { "properties": { "limit": { "type": "number", "format": "double", "description": "Defaults to `ADDRESS_LIMIT.RESPONSE`" }, "relationFilter": { "$ref": "#/components/schemas/RelationFilter", "description": "Defaults to `RelationFilterType.NO_FILTER`" }, "addresses": { "items": { "$ref": "#/components/schemas/Address" }, "type": "array" } }, "required": [ "addresses" ], "type": "object" }, { "$ref": "#/components/schemas/Pagination" } ] }, "UtxoPointer": { "properties": { "index": { "type": "number", "format": "double" }, "txHash": { "type": "string", "example": "011b86557367525891331b4bb985545120efc335b606d6a1c0d5a35fb330f421", "pattern": "[0-9a-fA-F]{64}" } }, "required": [ "index", "txHash" ], "type": "object" }, "UtxoAndBlockInfo": { "properties": { "utxo": { "allOf": [ { "$ref": "#/components/schemas/UtxoPointer" }, { "properties": { "payload": { "type": "string", "example": "825839019cb581f4337a6142e477af6e00fe41b1fc4a5944a575681b8499a3c0bd07ce733b5911eb657e7aff5d35f8b0682fe0380f7621af2bbcb2f71b0000000586321393", "pattern": "[0-9a-fA-F]*" } }, "required": [ "payload" ], "type": "object" } ] }, "block": { "$ref": "#/components/schemas/BlockInfo" } }, "required": [ "utxo", "block" ], "type": "object" }, "TransactionOutputResponse": { "properties": { "utxos": { "items": { "$ref": "#/components/schemas/UtxoAndBlockInfo" }, "type": "array" } }, "required": [ "utxos" ], "type": "object" }, "TransactionOutputRequest": { "properties": { "utxoPointers": { "items": { "$ref": "#/components/schemas/UtxoPointer" }, "type": "array" } }, "required": [ "utxoPointers" ], "type": "object" } }, "securitySchemes": {} }, "info": { "title": "carp", "version": "2.0.3", "description": "API for the Postgres database generated by Carp", "license": { "name": "MIT" }, "contact": { "name": "https://github.com/dcSpark" } }, "openapi": "3.0.0", "paths": { "/address/used": { "post": { "operationId": "AddressUsed", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddressUsedResponse" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "409": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "422": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Ordered lexicographically (order is not maintained)\n\nWarning: the pagination on this endpoint is NOT whether or not an address was used during this block interval,\nbut rather whether or not the address was first used within this interval.\n\nNote: this endpoint only returns addresses that are in a block. Use another tool to see mempool information", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddressUsedRequest" } } } } } }, "/block/latest": { "post": { "operationId": "BlockLatest", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BlockLatestResponse" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "409": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Get the latest block. Useful for checking synchronization process and pagination", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BlockLatestRequest" } } } } } }, "/credential/address": { "post": { "operationId": "AddressesForCredential", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CredentialAddressResponse" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "422": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Ordered by the first time the address was seen on-chain\n\nNote: this endpoint only returns addresses that are in a block. Use another tool to see mempool information", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CredentialAddressRequest" } } } } } }, "/dex/last-price": { "post": { "operationId": "DexLastPrice", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DexLastPriceResponse" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "409": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "422": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Gets the swap prices for the given liquidity pool and asset pairs.\nOperation \"mean\" is not AVG from the last values, but the remaining amount of assets on the pool output", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DexLastPriceRequest" } } } } } }, "/dex/mean-price": { "post": { "operationId": "DexMeanPrice", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DexMeanPriceResponse" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "409": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "422": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Gets the mean prices for the given liquidity pool and asset pairs.\nMean is not AVG from the last values, but the remaining amount of assets on the pool output", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DexMeanPriceRequest" } } } } } }, "/dex/swap-price": { "post": { "operationId": "DexSwap", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DexSwapResponse" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "409": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "422": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Gets the swap prices for the given liquidity pool and asset pairs.", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DexSwapRequest" } } } } } }, "/metadata/nft": { "post": { "operationId": "MetadataNft", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Cip25Response" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "422": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Gets the CIP25 metadata for given pairs\n\nNote: policy IDs and asset names MUST be in hex strings. Do not use UTF8 asset names.\n\nNote: This endpoint returns the NFT metadata as a CBOR object and NOT JSON.\nYou may expect a JSON object, but actually Cardano has no concept of on-chain JSON.\nIn fact, on-chain JSON is not even possible!\nInstead, Cardano stores metadata as CBOR which can then be converted to JSON\nThe conversion of CBOR to JSON is project-dependent, and so Carp instead returns the raw cbor\nIt's up to you to choose how you want to do the JSON conversion.\nThe common case is handled inside the Carp client library.", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PolicyIdAssetMapType" } } } } } }, "/transaction/history": { "post": { "operationId": "TransactionHistory", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TransactionHistoryResponse" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "409": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "422": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Ordered by ``\n\nNote: this endpoint only returns txs that are in a block. Use another tool to see mempool for txs not in a block", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TransactionHistoryRequest" } } } } } }, "/transaction/output": { "post": { "operationId": "TransactionOutput", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TransactionOutputResponse" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } }, "422": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorShape" } } } } }, "description": "Get the outputs for given `` pairs.\n\nThis endpoint will return both used AND unused outputs\n\nNote: this endpoint only returns txs that are in a block. Use another tool to see mempool for txs not in a block", "security": [], "parameters": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TransactionOutputRequest" } } } } } } }, "servers": [ { "url": "/" } ] }