From d55a05e822058a7f1b0343c986273667de71a5a2 Mon Sep 17 00:00:00 2001 From: zone117x Date: Fri, 15 Dec 2023 14:16:38 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20hirosyst?= =?UTF-8?q?ems/stacks-blockchain-api@faa5febfbc15224b3cfc24373721c33ae6aa0?= =?UTF-8?q?6f0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection.json b/collection.json index eb4654d4c9..60d9965e28 100644 --- a/collection.json +++ b/collection.json @@ -1 +1 @@ -{"item":[{"id":"f831aecc-b352-4f6f-b8a0-2f1fa59a96c2","name":"Accounts","description":{"content":"Read-only endpoints to obtain Stacks account details","type":"text/plain"},"item":[{"id":"6dcd7530-0bfe-4cd7-ad1c-77c78213fefb","name":"Get account balances","request":{"name":"Get account balances","description":{"content":"Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","balances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"ullamco et esse","description":"returned data representing the state up until that point in time, rather than the current block."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"1fb01791-60c9-497c-b40b-27f463a97992","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","balances"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"ullamco et esse"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"stx\": {\n \"balance\": \"1000000\",\n \"total_sent\": \"0\",\n \"total_received\": \"1000000\",\n \"lock_tx_id\": \"0xec94e7d20af8979b44d17a0520c126bf742b999a0fc7ddbcbe0ab21b228ecc8c\",\n \"locked\": \"50000\",\n \"lock_height\": 100,\n \"burnchain_lock_height\": 100,\n \"burnchain_unlock_height\": 200\n },\n \"fungible_tokens\": {},\n \"non_fungible_tokens\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b8bd3c5a-b6b9-4ddd-b275-bb62920afc09","name":"Get account STX balance","request":{"name":"Get account STX balance","description":{"content":"Retrieves STX token balance for a given Address or Contract Identifier.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","stx"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks."},{"disabled":false,"key":"until_block","value":"ullamco et esse","description":"returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier."}]},"method":"GET","auth":null},"response":[{"id":"1cc82f6c-7b9b-4e10-93c7-46aa5bb96902","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"ullamco et esse"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier."}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"balance\": \"1000000\",\n \"total_sent\": \"0\",\n \"total_received\": \"1000000\",\n \"lock_tx_id\": \"0xec94e7d20af8979b44d17a0520c126bf742b999a0fc7ddbcbe0ab21b228ecc8c\",\n \"locked\": \"50000\",\n \"lock_height\": 100,\n \"burnchain_lock_height\": 100,\n \"burnchain_unlock_height\": 200\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"7d04fc07-2f74-42d0-9604-6372fad43a78","name":"Get account transactions","request":{"name":"Get account transactions","description":{"content":"Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).\n\nIf you need to actively monitor new transactions for an address or contract id, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.\n","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","transactions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"42000","description":"max number of account transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first account transaction to fetch"},{"disabled":false,"key":"height","value":"42000","description":"Filter for transactions only at this given block height"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"ullamco et esse","description":"returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"2076354f-264c-4a3f-96f1-af73f634ed80","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","transactions"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"42000"},{"key":"offset","value":"42000"},{"key":"height","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"ullamco et esse"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 4989,\n \"results\": [\n {\n \"tx_id\": \"0xb16077b94222bc1466396d30df13db460864e85ce929a20aae0a2ac80b31e4e2\",\n \"tx_status\": \"success\",\n \"tx_type\": \"coinbase\",\n \"fee_rate\": \"0\",\n \"sender_address\": \"ST2TJRHDHMYBQ417HFB0BDX430TQA5PXRX6495G1V\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"block_hash\": \"0x83f84f814c1b00ddb672d93b97d06c8326f76746d90a979c12b69e54beb73f69\",\n \"block_height\": 5603,\n \"burn_block_time\": 1594335838,\n \"canonical\": true,\n \"is_unanchored\": false,\n \"microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"microblock_sequence\": 5,\n \"microblock_canonical\": true,\n \"tx_index\": 0,\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b14b047c-c1a3-487f-80ad-252c0f042edf","name":"Get account transaction information for specific transaction","request":{"name":"Get account transaction information for specific transaction","description":{"content":"Retrieves transaction details for a given Transaction Id `tx_id`, for a given account or contract Identifier.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal",":tx_id","with_transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE","key":"principal","description":"(Required) Stacks address or a contract identifier"},{"disabled":false,"type":"any","value":"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448","key":"tx_id","description":"(Required) Transaction id"}]},"method":"GET","auth":null},"response":[{"id":"fb25924a-a917-4001-8b10-1bc11c3b73ff","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal",":tx_id","with_transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE","key":"principal","description":"(Required) Stacks address or a contract identifier"},{"disabled":false,"type":"any","value":"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448","key":"tx_id","description":"(Required) Transaction id"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"tx_id\": \"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448\",\n \"tx_type\": \"contract_call\",\n \"nonce\": 11,\n \"fee_rate\": \"346\",\n \"sender_address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"tx_status\": \"success\",\n \"block_hash\": \"0x13d1b4ad35c95bca209397420fb8af104d2929d91993ba056d7a1ca5470095f9\",\n \"block_height\": 3246,\n \"burn_block_time\": 1613009951,\n \"burn_block_time_iso\": \"2021-02-11T02:19:11.000Z\",\n \"canonical\": true,\n \"is_unanchored\": false,\n \"microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"microblock_sequence\": 5,\n \"microblock_canonical\": true,\n \"tx_index\": 1,\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"350\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\"\n }\n }\n ],\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000020c00000003046d656d6f020000000966697273746d656d6f02746f05168c031b2db5895ece0cdfbf76e0b0e8af67226a6f047573747801000000000000000000000000000000960c00000003046d656d6f020000000a7365636f6e646d656d6f02746f05168974da696d74a16d0955bc8e55720dfd39e789cf047573747801000000000000000000000000000000c8\",\n \"repr\": \"(list (tuple (memo 0x66697273746d656d6f) (to SP26066SDPP4NXKGCVYZQDR5GX2QPE8KADZ0YK2J7) (ustx u150)) (tuple (memo 0x7365636f6e646d656d6f) (to SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP) (ustx u200)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n },\n \"events\": [],\n \"event_count\": 4\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dfb3241b-5c03-48cf-9823-69af75d6ceed","name":"Not found","originalRequest":{"url":{"path":["extended","v1","address",":principal",":tx_id","with_transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE","key":"principal","description":"(Required) Stacks address or a contract identifier"},{"disabled":false,"type":"any","value":"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448","key":"tx_id","description":"(Required) Transaction id"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No matching transaction found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"48a13ed8-27a1-43d2-a4ba-d3faa38c1f62","name":"Get account transactions including STX transfers for each transaction.","request":{"name":"Get account transactions including STX transfers for each transaction.","description":{"content":"Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","transactions_with_transfers"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"20","description":"max number of account transactions to fetch"},{"disabled":false,"key":"offset","value":"10","description":"index of first account transaction to fetch"},{"disabled":false,"key":"height","value":"66119","description":"Filter for transactions only at this given block height"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"ullamco et esse","description":"returned data representing the state up until that point in time, rather than the current block."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"321291a4-9d6c-4c49-80ac-61d1931231bc","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","transactions_with_transfers"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"20"},{"key":"offset","value":"10"},{"key":"height","value":"66119"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"ullamco et esse"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"tx\": {\n \"tx_id\": \"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448\",\n \"tx_type\": \"contract_call\",\n \"nonce\": 11,\n \"fee_rate\": \"346\",\n \"sender_address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"tx_status\": \"success\",\n \"block_hash\": \"0x13d1b4ad35c95bca209397420fb8af104d2929d91993ba056d7a1ca5470095f9\",\n \"block_height\": 3246,\n \"burn_block_time\": 1613009951,\n \"burn_block_time_iso\": \"2021-02-11T02:19:11.000Z\",\n \"canonical\": true,\n \"is_unanchored\": false,\n \"microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"microblock_sequence\": 5,\n \"microblock_canonical\": true,\n \"tx_index\": 1,\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"350\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\"\n }\n }\n ],\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000020c00000003046d656d6f020000000966697273746d656d6f02746f05168c031b2db5895ece0cdfbf76e0b0e8af67226a6f047573747801000000000000000000000000000000960c00000003046d656d6f020000000a7365636f6e646d656d6f02746f05168974da696d74a16d0955bc8e55720dfd39e789cf047573747801000000000000000000000000000000c8\",\n \"repr\": \"(list (tuple (memo 0x66697273746d656d6f) (to SP26066SDPP4NXKGCVYZQDR5GX2QPE8KADZ0YK2J7) (ustx u150)) (tuple (memo 0x7365636f6e646d656d6f) (to SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP) (ustx u200)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n },\n \"events\": [],\n \"event_count\": 4\n },\n \"stx_sent\": \"696\",\n \"stx_received\": \"0\",\n \"stx_transfers\": [\n {\n \"amount\": \"200\",\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP\"\n },\n {\n \"amount\": \"150\",\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SP26066SDPP4NXKGCVYZQDR5GX2QPE8KADZ0YK2J7\"\n }\n ],\n \"ft_transfers\": [\n {\n \"amount\": \"103\",\n \"asset_identifier\": \"SP466FNC0P7JWTNM2R9T199QRZN1MYEDTAR0KP27.miamicoin-token::miamicoin\",\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP\"\n }\n ],\n \"nft_transfers\": [\n {\n \"asset_identifier\": \"SP497E7RX3233ATBS2AB9G4WTHB63X5PBSP5VGAQ.boom-nfts::boom\",\n \"value\": {\n \"hex\": \"0x00\",\n \"repr\": \"0\"\n },\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP\"\n }\n ]\n },\n {\n \"tx\": {\n \"tx_id\": \"0x628045bff13658396277d618e9a3e4d468a4b3876eff4941d2f13ed88cd7abb7\",\n \"tx_type\": \"token_transfer\",\n \"nonce\": 8,\n \"fee_rate\": \"180\",\n \"sender_address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"tx_status\": \"success\",\n \"block_hash\": \"0x2b8599696f64e2456c67b1ab5e63078f99d87bd1d903c37fdcfd73b1890a7551\",\n \"block_height\": 1761,\n \"burn_block_time\": 1611968237,\n \"burn_block_time_iso\": \"2021-01-30T00:57:17.000Z\",\n \"canonical\": true,\n \"is_unanchored\": false,\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"tx_index\": 2,\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"token_transfer\": {\n \"recipient_address\": \"SPRSM0R2JZWBCZ39NQBARWTMX9TE99K3JK8D5KMX\",\n \"amount\": \"100000\",\n \"memo\": \"0x57656c636f6d6520746f20426f6f6d2e000000000000000000000000000000000000\"\n },\n \"events\": [],\n \"event_count\": 1\n },\n \"stx_sent\": \"100180\",\n \"stx_received\": \"0\",\n \"stx_transfers\": [\n {\n \"amount\": \"100000\",\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SPRSM0R2JZWBCZ39NQBARWTMX9TE99K3JK8D5KMX\"\n }\n ],\n \"ft_transfers\": [],\n \"nft_transfers\": []\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5fa59b6c-d430-45f0-975f-43f9205dc87b","name":"Get the latest nonce used by an account","request":{"name":"Get the latest nonce used by an account","description":{"content":"Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","nonces"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"block_height","value":"66119","description":"Optionally get the nonce at a given block height."},{"disabled":false,"key":"block_hash","value":"0x72d53f3cba39e149dcd42708e535bdae03d73e60d2fe853aaf61c0b392f521e9","description":"Optionally get the nonce at a given block hash. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address"}]},"method":"GET","auth":null},"response":[{"id":"6562c8a6-b4e3-490e-81cb-20a09577bb61","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","nonces"],"host":["{{baseUrl}}"],"query":[{"key":"block_height","value":"66119"},{"key":"block_hash","value":"0x72d53f3cba39e149dcd42708e535bdae03d73e60d2fe853aaf61c0b392f521e9"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"last_mempool_tx_nonce\": 5,\n \"last_executed_tx_nonce\": 2,\n \"possible_next_nonce\": 6,\n \"detected_missing_nonces\": [\n 3,\n 4\n ],\n \"detected_mempool_nonces\": []\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"cc796801-717a-4c21-9722-ef4a953c82be","name":"Get account assets","request":{"name":"Get account assets","description":{"content":"Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","assets"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"20","description":"max number of account assets to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first account assets to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"ullamco et esse","description":"returned data representing the state at that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"431f4ab9-76b4-48f2-a213-f0e01d608c0e","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","assets"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"20"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"ullamco et esse"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 0,\n \"results\": [\n {\n \"event_index\": 0,\n \"event_type\": \"stx_asset\",\n \"tx_id\": \"0xb31df5a363dad31723324cb5e0eefa04d491519fd30827a521cbc830114aa50c\",\n \"asset\": {\n \"asset_event_type\": \"transfer\",\n \"sender\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"recipient\": \"ST2TJRHDHMYBQ417HFB0BDX430TQA5PXRX6495G1V\",\n \"amount\": \"500000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c173c8b5-84f4-4ce4-865d-10593c9be97d","name":"Get inbound STX transfers","request":{"name":"Get inbound STX transfers","description":{"content":"Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type,\nand transfers from contract-call transactions a the `send-many-memo` bulk sending contract.\n","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","stx_inbound"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"-9042377","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"height","value":"-5268850.103101432","description":"Filter for transfers only at this given block height"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"ullamco et esse","description":"returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"97ced5dd-d051-4042-a793-8e5b1b42538c","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx_inbound"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-9042377"},{"key":"offset","value":"42000"},{"key":"height","value":"-5268850.103101432"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"ullamco et esse"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 0,\n \"results\": [\n {\n \"sender\": \"ST1RZG804V6Y0N4XHQD3ZE2GE3XSCV3VHRKMA3GB0\",\n \"amount\": \"123456789\",\n \"memo\": \"0x00000000000000000000000000000000000000000000000000000000000000000000\",\n \"block_height\": 12345,\n \"tx_id\": \"0x29e25515652dad41ef675bd0670964e3d537b80ec19cf6ca6f1dd65d5bc642c5\",\n \"transfer_type\": \"bulk-send\",\n \"tx_index\": 3\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d895bd94-5d60-4d12-ae3a-ee0b70aac945","name":"Get nft events","request":{"name":"Get nft events","description":{"content":"**NOTE:** This endpoint is deprecated in favor of [Non-Fungible Token holdings](#operation/get_nft_holdings).\n\nRetrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft.\n","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","nft_events"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"-9042377","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"ullamco et esse","description":"returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"563844fa-65fc-42f0-92ab-4a1bd90fd6e2","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","nft_events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-9042377"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"ullamco et esse"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 1,\n \"nft_events\": [\n {\n \"sender\": \"none\",\n \"recipient\": \"ST1HB64MAJ1MBV4CQ80GF01DZS4T1DSMX20ADCRA4\",\n \"asset_identifier\": \"some-asset\",\n \"value\": {\n \"hex\": \"0x00\",\n \"repr\": \"0\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"80ece6ce-a47e-44ff-91bc-a5de0aba68c5","name":"Get account info","request":{"name":"Get account info","description":{"content":"Retrieves the account data for a given Account or a Contract Identifier\n\nWhere balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings.\n\nFor non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.\n","type":"text/plain"},"url":{"path":["v2","accounts",":principal"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"proof","value":"-9042377","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"conse","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"bcf70793-4e7e-4b75-9db9-ac98c48738cc","name":"Success","originalRequest":{"url":{"path":["v2","accounts",":principal"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"-9042377"},{"key":"tip","value":"conse"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"balance\": \"0x0000000000000000000000000007a120\",\n \"locked\": \"0x0000000000000000000000000007a120\",\n \"unlock_height\": 126,\n \"nonce\": 2867,\n \"balance_proof\": \"0xabce\",\n \"nonce_proof\": \"0xabcd\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"09ea2bcb-0791-4534-9c2a-3fc070f8c8de","name":"Blocks","description":{"content":"Read-only endpoints to obtain Stacks block details","type":"text/plain"},"item":[{"id":"4c8dc5f8-acf6-40de-89c7-2e2703f9f8de","name":"Get recent blocks","request":{"name":"Get recent blocks","description":{"content":"Retrieves a list of recently mined blocks\n\nIf you need to actively monitor new blocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.\n","type":"text/plain"},"url":{"path":["extended","v1","block"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"20","description":"max number of blocks to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first block to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"1f5f9537-c0db-4a99-8c0b-e6dcbc0b888e","name":"List of blocks","originalRequest":{"url":{"path":["extended","v1","block"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"20"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 1,\n \"offset\": 0,\n \"total\": 21707,\n \"results\": [\n {\n \"canonical\": true,\n \"height\": 21698,\n \"hash\": \"0x9be3e38eab9c7d094fd51792383c66706838d6392e95bc05cc730b8f7520e352\",\n \"parent_block_hash\": \"0x76ee36d1d6c88e56b5c0e80f0d7bc7d3492141faf1b900efb19fcd00457d4654\",\n \"burn_block_time\": 1626281749,\n \"burn_block_time_iso\": \"2021-07-14T16:55:49.000Z\",\n \"burn_block_hash\": \"0x0000000000000000000ea16f8e906e85ee1cb4dff1e5424e93843b3cec8b0bcb\",\n \"burn_block_height\": 691014,\n \"miner_txid\": \"0x118f7122a69441d13e6a3dfd4c3b0f9950be25195bb8126aae7fadea1aa9185d\",\n \"parent_microblock_hash\": \"0x54647c277eefe60519b407f2c897749005fdb7f831034135063b2ee43fdacb04\",\n \"parent_microblock_sequence\": 3,\n \"txs\": [\n \"0x76f58b2eaff65a07a5971b241c4e71fee92ee0f9396809f911f90839f9004cac\",\n \"0x32972d9052b068f218f6e13451f7aff937099b74bbf95fac7d9402295b1b3941\",\n \"0x8cd30724c02a9cc1d8879a34dc136ebfdb2008420badcfb5947b92f85ebce79b\",\n \"0xf5c1577f42d3753a508101e045dd2dc60491eb0aa552e0ecd0ad37cc697143f4\",\n \"0x35e4c20e2838f999e0cf0b40c5fabce154c2df1912a1074150d26784c53f7a20\",\n \"0x501eb42b82e5b7a7350b47fa143cd4e90bb46d43e4a7d22830b2bf2aa70b7922\"\n ],\n \"microblocks_accepted\": [\n \"0x54647c277eefe60519b407f2c897749005fdb7f831034135063b2ee43fdacb04\",\n \"0xdaf61d2b355f35c94cf019af99aeb73d8e7db7301c7cd693a464ebd1cfc2228c\",\n \"0xb9e9b308cf9621ecbf66ca7b4689fe384b9b67c4588ec827d8163ab602fb935e\",\n \"0x754562cba6ec243f90485e97778ab472f462fd123ef5b83cc79d8759ca8875f5\"\n ],\n \"microblocks_streamed\": [\n \"0x54647c277eefe60519b407f2c897749005fdb7f831034135063b2ee43fdacb04\",\n \"0xdaf61d2b355f35c94cf019af99aeb73d8e7db7301c7cd693a464ebd1cfc2228c\",\n \"0xb9e9b308cf9621ecbf66ca7b4689fe384b9b67c4588ec827d8163ab602fb935e\",\n \"0x754562cba6ec243f90485e97778ab472f462fd123ef5b83cc79d8759ca8875f5\"\n ]\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"de15c2b8-bfe7-4188-b734-0ccf5fc91740","name":"Get block by hash","request":{"name":"Get block by hash","description":{"content":"Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block ('get_block_list' API) to get your block details.","type":"text/plain"},"url":{"path":["extended","v1","block",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79","key":"hash","description":"(Required) Hash of the block"}]},"method":"GET","auth":null},"response":[{"id":"06de4829-c831-4802-88aa-7ad82e9fb4e7","name":"Block","originalRequest":{"url":{"path":["extended","v1","block",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79","key":"hash","description":"(Required) Hash of the block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": true,\n \"height\": 3275,\n \"hash\": \"0xe77ba8cf6bb7c0e4f64adc83356289ed467d31a22354907b4bb814590058430f\",\n \"index_block_hash\": \"0x918697ef63f9d8bdf844c3312b299e72a231cde542f3173f7755bb8c1cdaf3a7\",\n \"parent_block_hash\": \"0x75ab21ef25cbff2caa14c27d830ed7886a4d1522e1b6f9e5dc3b59ccf73ed49f\",\n \"burn_block_time\": 1594233639,\n \"burn_block_time_iso\": \"2020-08-27T16:41:26.000Z\",\n \"burn_block_hash\": \"0xb154c008df2101023a6d0d54986b3964cee58119eed14f5bed98e15678e18fe2\",\n \"burn_block_height\": 654439,\n \"miner_txid\": \"0xd7d56070277ccd87b42acf0c91f915dd181f9db4cf878a4e95518bc397c240cc\",\n \"parent_microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"parent_microblock_sequence\": 2,\n \"txs\": [\n \"0x4262db117659d1ca9406970c8f44ffd3d8f11f8e18c591d2e3960f4070107754\",\n \"0x383632cd3b5464dffb684082750fcfaddd1f52625bbb9f884ed8f45d2b1f0547\",\n \"0xc99fe597e44b8bd15a50eec660c6e679a7144a5a8553d214b9d5f1406d278c22\"\n ],\n \"microblocks_accepted\": [\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\",\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\",\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\"\n ],\n \"microblocks_streamed\": [\n \"0xb5650ef855f7d90fc146942e85cf9fac3a8c47ec408aca02f3cf9ed7c82f6cc6\",\n \"0xeeb9aa5741d84aa0bc5de4f2fbdeae57ae29694479475d45a67ae7bd7e2c98f3\",\n \"0x4f4c368d5f06fdf6065c5bafd9cb37391fddc9c279cfc57be35e4bf8ee932cbd\",\n \"0xde2fc8d99872c827f144c752c002d29f9315dfc09472a09572ac7447ae623dea\"\n ],\n \"execution_cost_read_count\": 2477,\n \"execution_cost_read_length\": 1659409,\n \"execution_cost_runtime\": 2520952000,\n \"execution_cost_write_count\": 608,\n \"execution_cost_write_length\": 80170,\n \"microblock_tx_count\": {\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\": 5,\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\": 6,\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\": 9\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3e79b9cf-5baf-4c48-812d-090204284db1","name":"Cannot find block with given ID","originalRequest":{"url":{"path":["extended","v1","block",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79","key":"hash","description":"(Required) Hash of the block"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find block by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"30cc386c-647e-43e3-9b81-51b4adb4bc35","name":"Get block by height","request":{"name":"Get block by height","description":{"content":"Retrieves block details of a specific block at a given block height","type":"text/plain"},"url":{"path":["extended","v1","block","by_height",":height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"10000","key":"height","description":"(Required) Height of the block"}]},"method":"GET","auth":null},"response":[{"id":"5aa99b05-5878-40d2-bed6-ff49a8a55d78","name":"Block","originalRequest":{"url":{"path":["extended","v1","block","by_height",":height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"10000","key":"height","description":"(Required) Height of the block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": true,\n \"height\": 3275,\n \"hash\": \"0xe77ba8cf6bb7c0e4f64adc83356289ed467d31a22354907b4bb814590058430f\",\n \"index_block_hash\": \"0x918697ef63f9d8bdf844c3312b299e72a231cde542f3173f7755bb8c1cdaf3a7\",\n \"parent_block_hash\": \"0x75ab21ef25cbff2caa14c27d830ed7886a4d1522e1b6f9e5dc3b59ccf73ed49f\",\n \"burn_block_time\": 1594233639,\n \"burn_block_time_iso\": \"2020-08-27T16:41:26.000Z\",\n \"burn_block_hash\": \"0xb154c008df2101023a6d0d54986b3964cee58119eed14f5bed98e15678e18fe2\",\n \"burn_block_height\": 654439,\n \"miner_txid\": \"0xd7d56070277ccd87b42acf0c91f915dd181f9db4cf878a4e95518bc397c240cc\",\n \"parent_microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"parent_microblock_sequence\": 2,\n \"txs\": [\n \"0x4262db117659d1ca9406970c8f44ffd3d8f11f8e18c591d2e3960f4070107754\",\n \"0x383632cd3b5464dffb684082750fcfaddd1f52625bbb9f884ed8f45d2b1f0547\",\n \"0xc99fe597e44b8bd15a50eec660c6e679a7144a5a8553d214b9d5f1406d278c22\"\n ],\n \"microblocks_accepted\": [\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\",\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\",\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\"\n ],\n \"microblocks_streamed\": [\n \"0xb5650ef855f7d90fc146942e85cf9fac3a8c47ec408aca02f3cf9ed7c82f6cc6\",\n \"0xeeb9aa5741d84aa0bc5de4f2fbdeae57ae29694479475d45a67ae7bd7e2c98f3\",\n \"0x4f4c368d5f06fdf6065c5bafd9cb37391fddc9c279cfc57be35e4bf8ee932cbd\",\n \"0xde2fc8d99872c827f144c752c002d29f9315dfc09472a09572ac7447ae623dea\"\n ],\n \"execution_cost_read_count\": 2477,\n \"execution_cost_read_length\": 1659409,\n \"execution_cost_runtime\": 2520952000,\n \"execution_cost_write_count\": 608,\n \"execution_cost_write_length\": 80170,\n \"microblock_tx_count\": {\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\": 5,\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\": 6,\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\": 9\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0b385c85-2ae7-4b73-9508-63ed2b92b227","name":"Cannot find block with given height","originalRequest":{"url":{"path":["extended","v1","block","by_height",":height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"10000","key":"height","description":"(Required) Height of the block"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find block by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"02742d2a-3400-4e2d-a08a-90ac8d050b5d","name":"Get block by burnchain block hash","request":{"name":"Get block by burnchain block hash","description":{"content":"Retrieves block details of a specific block for a given burnchain block hash","type":"text/plain"},"url":{"path":["extended","v1","block","by_burn_block_hash",":burn_block_hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x00000000000000000002bba732926cf68b6eda3e2cdbc2a85af79f10efeeeb10","key":"burn_block_hash","description":"(Required) Hash of the burnchain block"}]},"method":"GET","auth":null},"response":[{"id":"16d11163-caac-434e-b5d6-c345a73d0045","name":"Block","originalRequest":{"url":{"path":["extended","v1","block","by_burn_block_hash",":burn_block_hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x00000000000000000002bba732926cf68b6eda3e2cdbc2a85af79f10efeeeb10","key":"burn_block_hash","description":"(Required) Hash of the burnchain block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": true,\n \"height\": 3275,\n \"hash\": \"0xe77ba8cf6bb7c0e4f64adc83356289ed467d31a22354907b4bb814590058430f\",\n \"index_block_hash\": \"0x918697ef63f9d8bdf844c3312b299e72a231cde542f3173f7755bb8c1cdaf3a7\",\n \"parent_block_hash\": \"0x75ab21ef25cbff2caa14c27d830ed7886a4d1522e1b6f9e5dc3b59ccf73ed49f\",\n \"burn_block_time\": 1594233639,\n \"burn_block_time_iso\": \"2020-08-27T16:41:26.000Z\",\n \"burn_block_hash\": \"0xb154c008df2101023a6d0d54986b3964cee58119eed14f5bed98e15678e18fe2\",\n \"burn_block_height\": 654439,\n \"miner_txid\": \"0xd7d56070277ccd87b42acf0c91f915dd181f9db4cf878a4e95518bc397c240cc\",\n \"parent_microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"parent_microblock_sequence\": 2,\n \"txs\": [\n \"0x4262db117659d1ca9406970c8f44ffd3d8f11f8e18c591d2e3960f4070107754\",\n \"0x383632cd3b5464dffb684082750fcfaddd1f52625bbb9f884ed8f45d2b1f0547\",\n \"0xc99fe597e44b8bd15a50eec660c6e679a7144a5a8553d214b9d5f1406d278c22\"\n ],\n \"microblocks_accepted\": [\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\",\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\",\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\"\n ],\n \"microblocks_streamed\": [\n \"0xb5650ef855f7d90fc146942e85cf9fac3a8c47ec408aca02f3cf9ed7c82f6cc6\",\n \"0xeeb9aa5741d84aa0bc5de4f2fbdeae57ae29694479475d45a67ae7bd7e2c98f3\",\n \"0x4f4c368d5f06fdf6065c5bafd9cb37391fddc9c279cfc57be35e4bf8ee932cbd\",\n \"0xde2fc8d99872c827f144c752c002d29f9315dfc09472a09572ac7447ae623dea\"\n ],\n \"execution_cost_read_count\": 2477,\n \"execution_cost_read_length\": 1659409,\n \"execution_cost_runtime\": 2520952000,\n \"execution_cost_write_count\": 608,\n \"execution_cost_write_length\": 80170,\n \"microblock_tx_count\": {\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\": 5,\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\": 6,\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\": 9\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8b3e8390-2d12-44b7-a38b-04860a758507","name":"Cannot find block with given height","originalRequest":{"url":{"path":["extended","v1","block","by_burn_block_hash",":burn_block_hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x00000000000000000002bba732926cf68b6eda3e2cdbc2a85af79f10efeeeb10","key":"burn_block_hash","description":"(Required) Hash of the burnchain block"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find block by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ef130812-d83e-440b-b020-f888c21e9fad","name":"Get block by burnchain height","request":{"name":"Get block by burnchain height","description":{"content":"Retrieves block details of a specific block for a given burn chain height","type":"text/plain"},"url":{"path":["extended","v1","block","by_burn_block_height",":burn_block_height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"744603","key":"burn_block_height","description":"(Required) Height of the burn chain block"}]},"method":"GET","auth":null},"response":[{"id":"d60fc453-d59d-4e53-b10d-ac0ea3f00e9f","name":"Block","originalRequest":{"url":{"path":["extended","v1","block","by_burn_block_height",":burn_block_height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"744603","key":"burn_block_height","description":"(Required) Height of the burn chain block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": true,\n \"height\": 3275,\n \"hash\": \"0xe77ba8cf6bb7c0e4f64adc83356289ed467d31a22354907b4bb814590058430f\",\n \"index_block_hash\": \"0x918697ef63f9d8bdf844c3312b299e72a231cde542f3173f7755bb8c1cdaf3a7\",\n \"parent_block_hash\": \"0x75ab21ef25cbff2caa14c27d830ed7886a4d1522e1b6f9e5dc3b59ccf73ed49f\",\n \"burn_block_time\": 1594233639,\n \"burn_block_time_iso\": \"2020-08-27T16:41:26.000Z\",\n \"burn_block_hash\": \"0xb154c008df2101023a6d0d54986b3964cee58119eed14f5bed98e15678e18fe2\",\n \"burn_block_height\": 654439,\n \"miner_txid\": \"0xd7d56070277ccd87b42acf0c91f915dd181f9db4cf878a4e95518bc397c240cc\",\n \"parent_microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"parent_microblock_sequence\": 2,\n \"txs\": [\n \"0x4262db117659d1ca9406970c8f44ffd3d8f11f8e18c591d2e3960f4070107754\",\n \"0x383632cd3b5464dffb684082750fcfaddd1f52625bbb9f884ed8f45d2b1f0547\",\n \"0xc99fe597e44b8bd15a50eec660c6e679a7144a5a8553d214b9d5f1406d278c22\"\n ],\n \"microblocks_accepted\": [\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\",\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\",\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\"\n ],\n \"microblocks_streamed\": [\n \"0xb5650ef855f7d90fc146942e85cf9fac3a8c47ec408aca02f3cf9ed7c82f6cc6\",\n \"0xeeb9aa5741d84aa0bc5de4f2fbdeae57ae29694479475d45a67ae7bd7e2c98f3\",\n \"0x4f4c368d5f06fdf6065c5bafd9cb37391fddc9c279cfc57be35e4bf8ee932cbd\",\n \"0xde2fc8d99872c827f144c752c002d29f9315dfc09472a09572ac7447ae623dea\"\n ],\n \"execution_cost_read_count\": 2477,\n \"execution_cost_read_length\": 1659409,\n \"execution_cost_runtime\": 2520952000,\n \"execution_cost_write_count\": 608,\n \"execution_cost_write_length\": 80170,\n \"microblock_tx_count\": {\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\": 5,\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\": 6,\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\": 9\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0fa3de49-86a0-4d7e-81c4-e615b10bc4c3","name":"Cannot find block with given height","originalRequest":{"url":{"path":["extended","v1","block","by_burn_block_height",":burn_block_height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"744603","key":"burn_block_height","description":"(Required) Height of the burn chain block"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find block by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"0f24eff1-e80a-4b9f-a8d0-d67f0930853d","name":"Faucets","description":{"content":"Endpoints to request STX or BTC tokens (not possible on Mainnet)","type":"text/plain"},"item":[{"id":"e3887340-64e3-44d0-afca-953ff6fef0d8","name":"Get STX testnet tokens","request":{"name":"Get STX testnet tokens","description":{"content":"Add 500 STX tokens to the specified testnet address. Testnet STX addresses begin with `ST`. If the `stacking`\nparameter is set to `true`, the faucet will add the required number of tokens for individual stacking to the\nspecified testnet address.\n\nThe endpoint returns the transaction ID, which you can use to view the transaction in the\n[Stacks Explorer](https://explorer.hiro.so/?chain=testnet). The tokens are delivered once the transaction has\nbeen included in an anchor block.\n\nA common reason for failed faucet transactions is that the faucet has run out of tokens. If you are experiencing\nfailed faucet transactions to a testnet address, you can get help in [Discord](https://stacks.chat).\n\n**Note:** This is a testnet only endpoint. This endpoint will not work on the mainnet.\n","type":"text/plain"},"url":{"path":["extended","v1","faucets","stx"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"address","value":"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ","description":"(Required) A valid testnet STX address"},{"disabled":false,"key":"stacking","value":"false","description":"Request the amount of STX tokens needed for individual address stacking"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"address\": \"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ\",\n \"stacking\": false\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9df80b3d-1df7-4f8a-89c9-1dc2c201857f","name":"Success","originalRequest":{"url":{"path":["extended","v1","faucets","stx"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ"},{"key":"stacking","value":"false"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ\",\n \"stacking\": false\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"success\": true,\n \"txId\": \"0xf2f0402f9f4c4d43b382690c4f7b97e24d5ff5dd5c619e3615daa64dca7ef4bc\",\n \"txRaw\": \"80800000000400164247d6f2b425ac5771423ae6c80c754f7172b0000000000000003200000000000000b400008537046ff1008368baaa3ff2235122c556b89dad4f9df0639b924cf32a44b866497e49846b24191e711b21faaae96ca0542e4a140168484740b94211cececb3303020000000000051ab52c45b1a7977204f17ac0b6f48306aea2dbb8e9000000000007a12046617563657400000000000000000000000000000000000000000000000000000000\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"821fbdf7-50d1-460b-aa16-c1564923dde6","name":"Faucet call failed","originalRequest":{"url":{"path":["extended","v1","faucets","stx"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ"},{"key":"stacking","value":"false"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ\",\n \"stacking\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"24661ac5-5bfa-49d4-b2ce-c7784a2c335c","name":"Add testnet BTC tokens to address","request":{"name":"Add testnet BTC tokens to address","description":{"content":"Add 1 BTC token to the specified testnet BTC address.\n\nThe endpoint returns the transaction ID, which you can use to view the transaction in a testnet Bitcoin block\nexplorer. The tokens are delivered once the transaction has been included in a block.\n\n**Note:** This is a testnet only endpoint. This endpoint will not work on the mainnet.\n","type":"text/plain"},"url":{"path":["extended","v1","faucets","btc"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"address","value":"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts","description":"(Required) A valid testnet BTC address"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"address\": \"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8e561b5f-68dd-4469-9485-5a8ecd756fce","name":"Success","originalRequest":{"url":{"path":["extended","v1","faucets","btc"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"success\": true,\n \"txId\": \"0xf2f0402f9f4c4d43b382690c4f7b97e24d5ff5dd5c619e3615daa64dca7ef4bc\",\n \"txRaw\": \"80800000000400164247d6f2b425ac5771423ae6c80c754f7172b0000000000000003200000000000000b400008537046ff1008368baaa3ff2235122c556b89dad4f9df0639b924cf32a44b866497e49846b24191e711b21faaae96ca0542e4a140168484740b94211cececb3303020000000000051ab52c45b1a7977204f17ac0b6f48306aea2dbb8e9000000000007a12046617563657400000000000000000000000000000000000000000000000000000000\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a05755a3-79ac-4626-b871-067c8d893e25","name":"BTC Faucet not fully configured","originalRequest":{"url":{"path":["extended","v1","faucets","btc"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"BTC Faucet not fully configured\",\n \"success\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7612941f-e34f-4963-9c1d-5229c42a846a","name":"Faucet call failed","originalRequest":{"url":{"path":["extended","v1","faucets","btc"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]}],"event":[]},{"id":"8ba9af25-fffd-4775-abea-0863bf7a4ac5","name":"Fees","description":{"content":"Read-only endpoints to obtain fee details","type":"text/plain"},"item":[{"id":"b1567dd7-b8d2-43aa-aa43-6e2156c7ad10","name":"Get estimated fee","request":{"name":"Get estimated fee","description":{"content":"Retrieves an estimated fee rate for STX transfer transactions. This a a fee rate / byte, and is returned as a JSON integer","type":"text/plain"},"url":{"path":["v2","fees","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"fb877858-f1bc-46fd-808f-82ecc1dba1b6","name":"Success","originalRequest":{"url":{"path":["v2","fees","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"1","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"fcb07d4a-f013-40c7-9b35-8eb80ba6581a","name":"Fetch fee rate","request":{"name":"Fetch fee rate","description":{"content":"**NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction).\n\nRetrieves estimated fee rate.\n","type":"text/plain"},"url":{"path":["extended","v1","fee_rate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"transaction\": \"0x5e9f3933e358df6a73fec0d47ce3e1062c20812c129f5294e6f37a8d27c051d9\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"92838fb4-3d1a-4a76-a18c-504fde576cfb","name":"Transaction fee rate","originalRequest":{"url":{"path":["extended","v1","fee_rate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"transaction\": \"0x5e9f3933e358df6a73fec0d47ce3e1062c20812c129f5294e6f37a8d27c051d9\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"fee_rate\": 360\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c0728edf-a4f2-4aae-a046-f47209189f5a","name":"Get approximate fees for a given transaction","request":{"name":"Get approximate fees for a given transaction","description":{"content":"Get an estimated fee for the supplied transaction. This\nestimates the execution cost of the transaction, the current\nfee rate of the network, and returns estimates for fee\namounts.\n* `transaction_payload` is a hex-encoded serialization of\n the TransactionPayload for the transaction.\n* `estimated_len` is an optional argument that provides the\n endpoint with an estimation of the final length (in bytes)\n of the transaction, including any post-conditions and\n signatures\nIf the node cannot provide an estimate for the transaction\n(e.g., if the node has never seen a contract-call for the\ngiven contract and function) or if estimation is not\nconfigured on this node, a 400 response is returned.\nThe 400 response will be a JSON error containing a `reason`\nfield which can be one of the following:\n* `DatabaseError` - this Stacks node has had an internal\n database error while trying to estimate the costs of the\n supplied transaction.\n* `NoEstimateAvailable` - this Stacks node has not seen this\n kind of contract-call before, and it cannot provide an\n estimate yet.\n* `CostEstimationDisabled` - this Stacks node does not perform\n fee or cost estimation, and it cannot respond on this\n endpoint.\nThe 200 response contains the following data:\n* `estimated_cost` - the estimated multi-dimensional cost of\n executing the Clarity VM on the provided transaction.\n* `estimated_cost_scalar` - a unitless integer that the Stacks\n node uses to compare how much of the block limit is consumed\n by different transactions. This value incorporates the\n estimated length of the transaction and the estimated\n execution cost of the transaction. The range of this integer\n may vary between different Stacks nodes. In order to compute\n an estimate of total fee amount for the transaction, this\n value is multiplied by the same Stacks node's estimated fee\n rate.\n* `cost_scalar_change_by_byte` - a float value that indicates how\n much the `estimated_cost_scalar` value would increase for every\n additional byte in the final transaction.\n* `estimations` - an array of estimated fee rates and total fees to\n pay in microSTX for the transaction. This array provides a range of\n estimates (default: 3) that may be used. Each element of the array\n contains the following fields:\n * `fee_rate` - the estimated value for the current fee\n rates in the network\n * `fee` - the estimated value for the total fee in\n microSTX that the given transaction should pay. These\n values are the result of computing:\n `fee_rate` x `estimated_cost_scalar`.\n If the estimated fees are less than the minimum relay\n fee `(1 ustx x estimated_len)`, then that minimum relay\n fee will be returned here instead.\nNote: If the final transaction's byte size is larger than\nsupplied to `estimated_len`, then applications should increase\nthis fee amount by:\n `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)\n","type":"text/plain"},"url":{"path":["v2","fees","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"estimated_len\": 350,\n \"transaction_payload\": \"021af942874ce525e87f21bbe8c121b12fac831d02f4086765742d696e666f0b7570646174652d696e666f00000000\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4ef82cc0-070e-41bc-b56a-a4e3c013d5aa","name":"Estimated fees for the transaction","originalRequest":{"url":{"path":["v2","fees","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"estimated_len\": 350,\n \"transaction_payload\": \"021af942874ce525e87f21bbe8c121b12fac831d02f4086765742d696e666f0b7570646174652d696e666f00000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"cost_scalar_change_by_byte\": 0.00476837158203125,\n \"estimated_cost\": {\n \"read_count\": 19,\n \"read_length\": 4814,\n \"runtime\": 7175000,\n \"write_count\": 2,\n \"write_length\": 1020\n },\n \"estimated_cost_scalar\": 14,\n \"estimations\": [\n {\n \"fee\": 17,\n \"fee_rate\": 1.2410714285714286\n },\n {\n \"fee\": 125,\n \"fee_rate\": 8.958333333333332\n },\n {\n \"fee\": 140,\n \"fee_rate\": 10\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"c8353721-c44c-48b2-8557-2cde56209fbe","name":"Fungible Tokens","description":{"content":"Read-only endpoints to obtain fungible token details","type":"text/plain"},"item":[{"id":"df48ca20-cbdd-408d-909c-e3c95e09e3e4","name":"Fungible tokens metadata list","request":{"name":"Fungible tokens metadata list","description":{"content":"**NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service).\n\nRetrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","ft","metadata"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"max number of tokens to fetch."},{"disabled":false,"key":"offset","value":"42000","description":"index of first tokens to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"58233a37-3230-4497-9a34-50585dbc4e6d","name":"List of fungible tokens metadata","originalRequest":{"url":{"path":["extended","v1","tokens","ft","metadata"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 1,\n \"offset\": 0,\n \"total\": 500,\n \"results\": [\n {\n \"token_uri\": \"https://heystack.xyz/token-metadata.json\",\n \"name\": \"Heystack\",\n \"description\": \"Heystack is a SIP-010-compliant fungible token on the Stacks Blockchain, used on the Heystack app\",\n \"image_uri\": \"https://heystack.xyz/assets/Stacks128w.png\",\n \"image_canonical_uri\": \"https://heystack.xyz/assets/Stacks128w.png\",\n \"tx_id\": \"0xef2ac1126e16f46843228b1dk4830e19eb7599129e4jf392cab9e65ae83a45c0\",\n \"sender_address\": \"ST399W7Z9WS0GMSNQGJGME5JAENKN56D65VGMGKGA\",\n \"symbol\": \"HEY\",\n \"decimals\": 5\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"80a41512-bb35-424d-903a-0638e6e9e5dd","name":"Fungible tokens metadata for contract id","request":{"name":"Fungible tokens metadata for contract id","description":{"content":"**NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service).\n\nRetrieves the metadata for fungible tokens for a given contract id\n","type":"text/plain"},"url":{"path":["extended","v1","tokens",":contractId","ft","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11.newyorkcitycoin-token-v2","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","auth":null},"response":[{"id":"395fd863-4023-4eaa-a349-0c6c0d2f68c1","name":"Fungible tokens metadata for contract id","originalRequest":{"url":{"path":["extended","v1","tokens",":contractId","ft","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11.newyorkcitycoin-token-v2","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"token_uri\": \"https://heystack.xyz/token-metadata.json\",\n \"name\": \"Heystack\",\n \"description\": \"Heystack is a SIP-010-compliant fungible token on the Stacks Blockchain, used on the Heystack app\",\n \"image_uri\": \"https://heystack.xyz/assets/Stacks128w.png\",\n \"image_canonical_uri\": \"https://heystack.xyz/assets/Stacks128w.png\",\n \"tx_id\": \"0xef2ac1126e16f46843228b1dk4830e19eb7599129e4jf392cab9e65ae83a45c0\",\n \"sender_address\": \"ST399W7Z9WS0GMSNQGJGME5JAENKN56D65VGMGKGA\",\n \"symbol\": \"HEY\",\n \"decimals\": 5\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"5c2fb47d-5e29-41b7-a412-b26224790cbb","name":"Info","description":{"content":"Read-only endpoints to obtain network, Proof-of-Transfer, Stacking, STX token, and node information","type":"text/plain"},"item":[{"id":"f4030690-003e-4032-a861-7f212455d283","name":"Get Core API info","request":{"name":"Get Core API info","description":{"content":"Retrieves information about the Core API including the server version","type":"text/plain"},"url":{"path":["v2","info"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"163963e9-acc0-4cbf-9cb3-f16c02ca9054","name":"Success","originalRequest":{"url":{"path":["v2","info"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"peer_version\": 385875968,\n \"pox_consensus\": \"17f76e597bab45646956f38dd39573085d72cbc0\",\n \"burn_block_height\": 16,\n \"stable_pox_consensus\": \"8e0561978fc5506b68a589c402dad97e862edb59\",\n \"stable_burn_block_height\": 15,\n \"server_version\": \"blockstack-core 0.0.1 => 23.0.0.0 (, release build, linux [x86_64])\",\n \"network_id\": 2147483648,\n \"parent_network_id\": 3669344250,\n \"stacks_tip_height\": 15,\n \"stacks_tip\": \"b1807a2d3f7f8c7922f7c1d60d7c34145ade05d789640dc7dc9ec1021e07bb54\",\n \"stacks_tip_consensus_hash\": \"17f76e597bab45646956f38dd39573085d72cbc0\",\n \"unanchored_tip\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"exit_at_block_height\": null\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9c735a82-e1fe-45d9-993c-793cccd90271","name":"API status","request":{"name":"API status","description":{"content":"Retrieves the running status of the Stacks Blockchain API, including the server version and current chain tip information.","type":"text/plain"},"url":{"path":["extended","v1","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"5758a123-f01b-4476-a2f5-a3aeeb6e47cd","name":"Success","originalRequest":{"url":{"path":["extended","v1","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"server_version\": \"stacks-blockchain-api v1.0.7 (master:77b25878)\",\n \"status\": \"ready\",\n \"chain_tip\": {\n \"block_height\": 48902,\n \"block_hash\": \"0xa5a2923c405f8356925213bb8c479beb06d3b68ca66dd2b7397b54f8c08c5eac\",\n \"index_block_hash\": \"0xf46401bf3cb6a6b6181536b7de414a1fd9e004a6ece99a05de72a781b17f9819\",\n \"microblock_hash\": \"0xec89a572d3583b959e490bc45e0f521b775ed51d7ed13087b6df8eb82cbe75d3\",\n \"microblock_sequence\": 0\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f5f14515-f3c0-4728-88c5-80b37e78de7b","name":"Get the network target block time","request":{"name":"Get the network target block time","description":{"content":"Retrieves the target block times for mainnet and testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.","type":"text/plain"},"url":{"path":["extended","v1","info","network_block_times"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"14649591-42fa-4c81-b8d2-a63cea942abc","name":"Success","originalRequest":{"url":{"path":["extended","v1","info","network_block_times"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"testnet\": {\n \"target_block_time\": 120\n },\n \"mainnet\": {\n \"target_block_time\": 600\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"bd781f79-eb05-4b90-a80c-655779f288f7","name":"Get a given network's target block time","request":{"name":"Get a given network's target block time","description":{"content":"Retrieves the target block time for a given network. The network can be mainnet or testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.","type":"text/plain"},"url":{"path":["extended","v1","info","network_block_time",":network"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"mainnet","key":"network","description":"(Required) the target block time for a given network (testnet, mainnet)."}]},"method":"GET","auth":null},"response":[{"id":"4116ea94-e111-46e9-bdbc-2f8308d8e19d","name":"Success","originalRequest":{"url":{"path":["extended","v1","info","network_block_time",":network"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"mainnet","key":"network","description":"(Required) the target block time for a given network (testnet, mainnet)."}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"target_block_time\": 600\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"28cbdbee-70ae-4f4d-a800-b0bb9a1cc612","name":"Get total and unlocked STX supply","request":{"name":"Get total and unlocked STX supply","description":{"content":"Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).\n**Note:** This uses the estimated future total supply for the year 2050.\n","type":"text/plain"},"url":{"path":["extended","v1","stx_supply"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"height","value":"200","description":"Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value. Note that the `block height` is referred to the stacks blockchain."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"d4c726df-76b7-49ec-be30-d67ead401466","name":"Success","originalRequest":{"url":{"path":["extended","v1","stx_supply"],"host":["{{baseUrl}}"],"query":[{"key":"height","value":"200"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"unlocked_percent\": \"71.99\",\n \"total_stx\": \"1352464600.000000\",\n \"unlocked_stx\": \"973705260.219817\",\n \"block_height\": 3210\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"1339a43b-1349-46ad-a035-db510672618e","name":"Get total STX supply in plain text format","request":{"name":"Get total STX supply in plain text format","description":{"content":"Retrieves the total supply for STX tokens as plain text.\n**Note:** this uses the estimated future total supply for the year 2050.\n","type":"text/plain"},"url":{"path":["extended","v1","stx_supply","total","plain"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"df1871f0-76c6-4d4d-981e-2729b91d074e","name":"success","originalRequest":{"url":{"path":["extended","v1","stx_supply","total","plain"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"123.456789","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"9475bd53-0f9e-489f-8d14-bdeaea3d9a72","name":"Get circulating STX supply in plain text format","request":{"name":"Get circulating STX supply in plain text format","description":{"content":"Retrieves the STX tokens currently in circulation that have been unlocked as plain text.","type":"text/plain"},"url":{"path":["extended","v1","stx_supply","circulating","plain"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"3cd53c3c-9b6f-4c33-a90b-a14ebf013c1c","name":"success","originalRequest":{"url":{"path":["extended","v1","stx_supply","circulating","plain"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"123.456789","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"8c414f50-c08a-47ae-8208-f7f4f574dbf4","name":"Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)","request":{"name":"Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)","description":{"content":"Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.\n**Note:** this uses the estimated future total supply for the year 2050.\n","type":"text/plain"},"url":{"path":["extended","v1","stx_supply","legacy_format"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"height","value":"200","description":"Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"e2f30845-d06d-4af7-a6d4-0eb7559733e7","name":"Success","originalRequest":{"url":{"path":["extended","v1","stx_supply","legacy_format"],"host":["{{baseUrl}}"],"query":[{"key":"height","value":"200"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"unlockedPercent\": \"71.99\",\n \"totalStacks\": \"1352464600.000000\",\n \"totalStacksFormatted\": \"1,352,464,600.000000\",\n \"unlockedSupply\": \"973705260.219817\",\n \"unlockedSupplyFormatted\": \"973,705,260.219817\",\n \"blockHeight\": \"665746\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"127e8352-367d-4bb5-8278-ed972159a72f","name":"Get Proof-of-Transfer details","request":{"name":"Get Proof-of-Transfer details","description":{"content":"Retrieves Proof-of-Transfer (PoX) information. Can be used for Stacking.","type":"text/plain"},"url":{"path":["v2","pox"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"7cb4249f-245e-4b55-a3ea-6730de3d241b","name":"Success","originalRequest":{"url":{"path":["v2","pox"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"contract_id\": \"SP000000000000000000002Q6VF78.pox\",\n \"pox_activation_threshold_ustx\": 67694186237302,\n \"first_burnchain_block_height\": 666050,\n \"prepare_phase_block_length\": 100,\n \"reward_phase_block_length\": 2000,\n \"reward_slots\": 4000,\n \"rejection_fraction\": 25,\n \"total_liquid_supply_ustx\": 1353883724746042,\n \"current_cycle\": {\n \"id\": 50,\n \"min_threshold_ustx\": 100000000000,\n \"stacked_ustx\": 391056240478955,\n \"is_pox_active\": true\n },\n \"next_cycle\": {\n \"id\": 51,\n \"min_threshold_ustx\": 90000000000,\n \"min_increment_ustx\": 67694186237,\n \"stacked_ustx\": 350473977597161,\n \"prepare_phase_start_block_height\": 773050,\n \"blocks_until_prepare_phase\": 227,\n \"reward_phase_start_block_height\": 773150,\n \"blocks_until_reward_phase\": 327,\n \"ustx_until_pox_rejection\": 338470931186500\n },\n \"min_amount_ustx\": 90000000000,\n \"prepare_cycle_length\": 100,\n \"reward_cycle_id\": 50,\n \"reward_cycle_length\": 2100,\n \"rejection_votes_left_required\": 338470931186500,\n \"next_reward_cycle_in\": 327\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"96c46fcc-95a2-4d91-afe5-1921c17bd13b","name":"Microblocks","description":{"content":"Read-only endpoints to obtain microblocks details","type":"text/plain"},"item":[{"id":"2a667b71-2618-40a0-9a34-428bc9175f9b","name":"Get recent microblocks","request":{"name":"Get recent microblocks","description":{"content":"Retrieves a list of microblocks.\n\nIf you need to actively monitor new microblocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.\n","type":"text/plain"},"url":{"path":["extended","v1","microblock"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"Max number of microblocks to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"Index of the first microblock to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"69be4f4d-a29a-4ec4-95b0-5db96b81bd4a","name":"List of microblocks","originalRequest":{"url":{"path":["extended","v1","microblock"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"results\": [\n {\n \"canonical\": false,\n \"microblock_canonical\": false,\n \"microblock_hash\": \"aliquip eu\",\n \"microblock_sequence\": -50336221,\n \"microblock_parent_hash\": \"ipsum do\",\n \"block_height\": -48512622,\n \"parent_block_height\": -58359694,\n \"parent_block_hash\": \"sit ipsum\",\n \"block_hash\": \"culpa laboris\",\n \"txs\": [\n \"cupidatat tempor ullamco\",\n \"esse pro\"\n ],\n \"parent_burn_block_time\": -82297112,\n \"parent_burn_block_time_iso\": \"esse dolor reprehenderit ut cillu\",\n \"parent_burn_block_hash\": \"deserunt nulla \",\n \"parent_burn_block_height\": 18809697\n },\n {\n \"canonical\": true,\n \"microblock_canonical\": true,\n \"microblock_hash\": \"et aute aliquip do\",\n \"microblock_sequence\": 5820272,\n \"microblock_parent_hash\": \"dolor mollit quis ea do\",\n \"block_height\": 63138353,\n \"parent_block_height\": 19416684,\n \"parent_block_hash\": \"aute culpa esse reprehenderit\",\n \"block_hash\": \"nulla sint\",\n \"txs\": [\n \"ut labore\",\n \"ipsum veniam dolor ut reprehenderit\"\n ],\n \"parent_burn_block_time\": 67218315,\n \"parent_burn_block_time_iso\": \"voluptate in dolor reprehenderit\",\n \"parent_burn_block_hash\": \"in n\",\n \"parent_burn_block_height\": 76399069\n }\n ],\n \"limit\": -6196156,\n \"offset\": 0,\n \"total\": 56555793\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c675dd41-8b49-4ede-9ef4-0a29d3e7e3c8","name":"Get microblock","request":{"name":"Get microblock","description":{"content":"Retrieves a specific microblock by `hash`","type":"text/plain"},"url":{"path":["extended","v1","microblock",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x3bfcdf84b3012adb544cf0f6df4835f93418c2269a3881885e27b3d58eb82d47","key":"hash","description":"(Required) Hash of the microblock"}]},"method":"GET","auth":null},"response":[{"id":"1303f014-30cc-4d1a-82f5-dc57d13fe924","name":"Microblock","originalRequest":{"url":{"path":["extended","v1","microblock",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x3bfcdf84b3012adb544cf0f6df4835f93418c2269a3881885e27b3d58eb82d47","key":"hash","description":"(Required) Hash of the microblock"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": false,\n \"microblock_canonical\": true,\n \"microblock_hash\": \"Duis pariatur voluptate exercitation\",\n \"microblock_sequence\": 88210227,\n \"microblock_parent_hash\": \"fugiat exercitation\",\n \"block_height\": 58480923,\n \"parent_block_height\": 97654607,\n \"parent_block_hash\": \"do aute\",\n \"block_hash\": \"deserunt dolore\",\n \"txs\": [\n \"Excepteur pariatur amet\",\n \"ex et Duis\"\n ],\n \"parent_burn_block_time\": -28130476,\n \"parent_burn_block_time_iso\": \"qui dolore\",\n \"parent_burn_block_hash\": \"Excepteur exercitation ipsum\",\n \"parent_burn_block_height\": -54039691\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"110599ff-223c-40c2-84e7-eb85c206e301","name":"Cannot find microblock with given hash","originalRequest":{"url":{"path":["extended","v1","microblock",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x3bfcdf84b3012adb544cf0f6df4835f93418c2269a3881885e27b3d58eb82d47","key":"hash","description":"(Required) Hash of the microblock"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find microblock by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"36f5bd76-4d86-4b25-878a-09800ddbf4f9","name":"Get the list of current transactions that belong to unanchored microblocks","request":{"name":"Get the list of current transactions that belong to unanchored microblocks","description":{"content":"Retrieves transactions that have been streamed in microblocks but not yet accepted or rejected in an anchor block","type":"text/plain"},"url":{"path":["extended","v1","microblock","unanchored","txs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"d97429df-0032-4d79-ad36-6e98d5d9024a","name":"Transactions","originalRequest":{"url":{"path":["extended","v1","microblock","unanchored","txs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"results\": [],\n \"total\": -42520120\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"07d12880-3ebc-4f7a-8e00-0d70869f046d","name":"Names","description":{"content":"Read-only endpoints realted to the Blockchain Naming System on Stacks","type":"text/plain"},"item":[{"id":"030702cf-0d61-4b6c-b086-599b255c0cd1","name":"Get Namespace Price","request":{"name":"Get Namespace Price","description":{"content":"Retrieves the price of a namespace. The `amount` given will be in the smallest possible units of the currency.","type":"text/plain"},"url":{"path":["v2","prices","namespaces",":tld"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch price for"}]},"method":"GET","auth":null},"response":[{"id":"fde66f9b-d7ad-436c-8077-9e5813dcf708","name":"Success","originalRequest":{"url":{"path":["v2","prices","namespaces",":tld"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch price for"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"units\": \"ex mollit lab\",\n \"amount\": \"6\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ded6437b-f046-4beb-921f-a7c812859362","name":"Get Name Price","request":{"name":"Get Name Price","description":{"content":"Retrieves the price of a name. The `amount` given will be in the smallest possible units of the currency.","type":"text/plain"},"url":{"path":["v2","prices","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) the name to query price information for"}]},"method":"GET","auth":null},"response":[{"id":"377e1f90-f97e-4314-8ee3-bdd6c39669eb","name":"Success","originalRequest":{"url":{"path":["v2","prices","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) the name to query price information for"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"units\": \"non cupidatat aute ullamco\",\n \"amount\": \"4518\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b3eed86e-1c2e-4553-ba02-0f0048931788","name":"Get All Namespaces","request":{"name":"Get All Namespaces","description":{"content":"Retrieves a list of all namespaces known to the node.","type":"text/plain"},"url":{"path":["v1","namespaces"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"941d857e-23df-4720-8370-d92a80802320","name":"Success","originalRequest":{"url":{"path":["v1","namespaces"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"namespaces\": [\n \"id\",\n \"helloworld\",\n \"podcast\",\n \"graphite\",\n \"blockstack\"\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"72923d93-2457-4d90-97f2-037692495a09","name":"Get Namespace Names","request":{"name":"Get Namespace Names","description":{"content":"Retrieves a list of names within a given namespace.","type":"text/plain"},"url":{"path":["v1","namespaces",":tld","names"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"22","description":"namespace values are defaulted to page 1 with 100 results. You can query specific page results by using the 'page' query parameter."}],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch names from."}]},"method":"GET","auth":null},"response":[{"id":"306637ed-d154-423c-825e-d5aa11e035dd","name":"Success","originalRequest":{"url":{"path":["v1","namespaces",":tld","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch names from."}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n \"aldenquimby.id\",\n \"aldeoryn.id\",\n \"alderete.id\",\n \"aldert.id\",\n \"aldi.id\",\n \"aldighieri.id\"\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"ef830dd0-1a3d-45b1-aca9-36231f24fe56","name":"Error","originalRequest":{"url":{"path":["v1","namespaces",":tld","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch names from."}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid page\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"31149778-8ce2-4ee9-9474-a83b46539c0c","name":"Error","originalRequest":{"url":{"path":["v1","namespaces",":tld","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch names from."}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No such namespace\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"de423e0c-03a1-4b3d-95a0-2b9e4d127f86","name":"Get All Names","request":{"name":"Get All Names","description":{"content":"Retrieves a list of all names known to the node.","type":"text/plain"},"url":{"path":["v1","names"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"22","description":"names are defaulted to page 1 with 100 results. You can query specific page results by using the 'page' query parameter."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"5243ac4d-4fd2-4e42-b2ab-050f36b66e0e","name":"Success","originalRequest":{"url":{"path":["v1","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n \"aldenquimby.id\",\n \"aldeoryn.id\",\n \"alderete.id\",\n \"aldert.id\",\n \"aldi.id\",\n \"aldighieri.id\"\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"cc5a1559-08c6-4093-b48d-e1afbf7efb4b","name":"Error","originalRequest":{"url":{"path":["v1","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid page\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"e8480928-6f7d-4af4-ad14-74f28352f96c","name":"Get Name Details","request":{"name":"Get Name Details","description":{"content":"Retrieves details of a given name including the `address`, `status` and last transaction id - `last_txid`.","type":"text/plain"},"url":{"path":["v1","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","auth":null},"response":[{"id":"a9e5b279-a66b-43a2-9c69-c05edd201098","name":"Success","originalRequest":{"url":{"path":["v1","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"address\": \"1J3PUxY5uDShUnHRrMyU6yKtoHEUPhKULs\",\n \"blockchain\": \"bitcoin\",\n \"expire_block\": 599266,\n \"grace_period\": false,\n \"last_txid\": \"1edfa419f7b83f33e00830bc9409210da6c6d1db60f99eda10c835aa339cad6b\",\n \"renewal_deadline\": 604266,\n \"resolver\": null,\n \"status\": \"registered\",\n \"zonefile\": \"$ORIGIN muneeb.id\\n$TTL 3600\\n_http._tcp IN URI 10 1 \\\"https://gaia.blockstack.org/hub/1J3PUxY5uDShUnHRrMyU6yKtoHEUPhKULs/0/profile.json\\\"\\n\",\n \"zonefile_hash\": \"37aecf837c6ae9bdc9dbd98a268f263dacd00361\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"49ec4e6b-0350-483e-bda0-045825ea7baf","name":"Error","originalRequest":{"url":{"path":["v1","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid name or subdomain\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06229bbc-31be-474b-af53-49303611f2ac","name":"Error","originalRequest":{"url":{"path":["v1","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No such name\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"29193014-e63c-4bf9-adb9-3aabfce129e1","name":"Get Name Subdomains","request":{"name":"Get Name Subdomains","description":{"content":"Retrieves the list of subdomains for a specific name","type":"text/plain"},"url":{"path":["v1","names",":name","subdomains"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"id.blockstack","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","auth":null},"response":[{"id":"685c6d00-2eba-4b1f-a647-880ebd5d4c17","name":"Success","originalRequest":{"url":{"path":["v1","names",":name","subdomains"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"id.blockstack","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n \"address_test.id.blockstack\",\n \"previous_subdomain.id.blockstack\",\n \"subdomain.id.blockstack\",\n \"zonefile_test.id.blockstack\",\n \"zone_test.id.blockstack\"\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"767d94bc-27e3-41c7-a2be-c90e3daf931a","name":"Get Zone File","request":{"name":"Get Zone File","description":{"content":"Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.","type":"text/plain"},"url":{"path":["v1","names",":name","zonefile"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bar.test","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","auth":null},"response":[{"id":"41843d73-28c5-4981-b61d-2f0a6eb9e1a4","name":"Success","originalRequest":{"url":{"path":["v1","names",":name","zonefile"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bar.test","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"zonefile\": \"$ORIGIN bar.test\\n$TTL 3600\\n_https._tcp URI 10 1 \\\"https://gaia.blockstack.org/hub/17Zijx61Sp7SbVfRTdETo7PhizJHYEUxbY/profile.json\\\"\\n\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7548b0d1-297a-45a9-bbc6-d96881a0f82f","name":"Error","originalRequest":{"url":{"path":["v1","names",":name","zonefile"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bar.test","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid name or subdomain\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2e1da8b4-b2c4-4a69-8f0a-15b228164ee6","name":"Error","originalRequest":{"url":{"path":["v1","names",":name","zonefile"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bar.test","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No zone file for name\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9cce42af-23bc-46ec-81d0-e44eb51f4b52","name":"Get Historical Zone File","request":{"name":"Get Historical Zone File","description":{"content":"Retrieves the historical zonefile specified by the username and zone hash.","type":"text/plain"},"url":{"path":["v1","names",":name","zonefile",":zoneFileHash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"},{"disabled":false,"type":"any","value":"b100a68235244b012854a95f9114695679002af9","key":"zoneFileHash","description":"(Required) zone file hash"}]},"method":"GET","auth":null},"response":[{"id":"d0208484-e455-4408-b260-f3ecfc197a0d","name":"Success","originalRequest":{"url":{"path":["v1","names",":name","zonefile",":zoneFileHash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"},{"disabled":false,"type":"any","value":"b100a68235244b012854a95f9114695679002af9","key":"zoneFileHash","description":"(Required) zone file hash"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"title\": \"BnsFetchHistoricalZoneFileResponse\",\n \"description\": \"Fetches the historical zonefile specified by the username and zone hash.\",\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"zonefile\": {\n \"type\": \"string\"\n }\n }\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"error\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"67a7702e-f86b-4a15-b5ff-8a15164632a0","name":"Error","originalRequest":{"url":{"path":["v1","names",":name","zonefile",":zoneFileHash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"},{"disabled":false,"type":"any","value":"b100a68235244b012854a95f9114695679002af9","key":"zoneFileHash","description":"(Required) zone file hash"}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid name or subdomain\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a12d4399-a15f-4c87-953b-4fda1e1ea5f8","name":"Error","originalRequest":{"url":{"path":["v1","names",":name","zonefile",":zoneFileHash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"},{"disabled":false,"type":"any","value":"b100a68235244b012854a95f9114695679002af9","key":"zoneFileHash","description":"(Required) zone file hash"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No zone file for name\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5d2ecfbf-4697-4ae8-98ea-87100cf14b8a","name":"Get Names Owned by Address","request":{"name":"Get Names Owned by Address","description":{"content":"Retrieves a list of names owned by the address provided.","type":"text/plain"},"url":{"path":["v1","addresses",":blockchain",":address"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bitcoin","key":"blockchain","description":"(Required) the layer-1 blockchain for the address"},{"disabled":false,"type":"any","value":"1QJQxDas5JhdiXhEbNS14iNjr8auFT96GP","key":"address","description":"(Required) the address to lookup"}]},"method":"GET","auth":null},"response":[{"id":"add127cc-a084-4c7c-8f45-c4f0a86634c1","name":"Success","originalRequest":{"url":{"path":["v1","addresses",":blockchain",":address"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bitcoin","key":"blockchain","description":"(Required) the layer-1 blockchain for the address"},{"disabled":false,"type":"any","value":"1QJQxDas5JhdiXhEbNS14iNjr8auFT96GP","key":"address","description":"(Required) the address to lookup"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"names\": [\n \"muneeb.id\"\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"295f3cf6-bbe7-4224-a165-fae0accfabd7","name":"Error","originalRequest":{"url":{"path":["v1","addresses",":blockchain",":address"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bitcoin","key":"blockchain","description":"(Required) the layer-1 blockchain for the address"},{"disabled":false,"type":"any","value":"1QJQxDas5JhdiXhEbNS14iNjr8auFT96GP","key":"address","description":"(Required) the address to lookup"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Unsupported blockchain\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"5e2fb837-2c95-4ab4-830f-39c678995f54","name":"Non-Fungible Tokens","description":{"content":"Read-only endpoints to obtain non-fungible token details","type":"text/plain"},"item":[{"id":"2fa56ff9-5745-4eaf-a1b3-441be0aa4f72","name":"Non-Fungible Token holdings","request":{"name":"Non-Fungible Token holdings","description":{"content":"Retrieves the list of Non-Fungible Tokens owned by the given principal (STX address or Smart Contract ID).\nResults can be filtered by one or more asset identifiers and can include metadata about the transaction that made the principal own each token.\n\nMore information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","nft","holdings"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"principal","value":"SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S.marketplace-v3","description":"(Required) token owner's STX address or Smart Contract ID"},{"disabled":false,"key":"asset_identifiers","value":"quis laboris eu","description":"identifiers of the token asset classes to filter for"},{"disabled":false,"key":"asset_identifiers","value":"Lorem reprehenderit ipsum officia","description":"identifiers of the token asset classes to filter for"},{"disabled":false,"key":"limit","value":"50","description":"max number of tokens to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first tokens to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"whether or not to include tokens from unconfirmed transactions"},{"disabled":false,"key":"tx_metadata","value":"false","description":"whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"cc2a1a61-296f-4770-a3d6-40530577fb73","name":"List of Non-Fungible Token holdings","originalRequest":{"url":{"path":["extended","v1","tokens","nft","holdings"],"host":["{{baseUrl}}"],"query":[{"key":"principal","value":"SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S.marketplace-v3"},{"key":"asset_identifiers","value":"esse cupidatat nisi sed"},{"key":"asset_identifiers","value":"eu sunt Duis proident"},{"key":"limit","value":"50"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"tx_metadata","value":"false"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 50,\n \"offset\": 0,\n \"total\": 3,\n \"results\": [\n {\n \"asset_identifier\": \"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild\",\n \"value\": {\n \"hex\": \"0x0100000000000000000000000000000803\",\n \"repr\": \"u2051\"\n },\n \"block_height\": 36442,\n \"tx_id\": \"0x12e6f88724d0e630de26c376f172cf1781e25435e2b4ee54d36a949b244e429c\"\n },\n {\n \"asset_identifier\": \"SP2BE8TZATXEVPGZ8HAFZYE5GKZ02X0YDKAN7ZTGW.arties::arties\",\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000004f3\",\n \"repr\": \"u1267\"\n },\n \"block_height\": 37477,\n \"tx_id\": \"0xddc464c5e20a78dc5ac351913e0d9b9cce76fc955cc4599e0cccad960998f130\"\n },\n {\n \"asset_identifier\": \"SP000000000000000000002Q6VF78.bns::names\",\n \"value\": {\n \"hex\": \"0x0c00000002046e616d65020000000672616661656c096e616d6573706163650200000003627463\",\n \"repr\": \"(tuple (name 0x72616661656c) (namespace 0x627463))\"\n },\n \"block_height\": 17250,\n \"tx_id\": \"0x0153a41ed24a0e1d32f66ea98338df09f942571ca66359e28bdca79ccd0305cf\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d5280bba-97fc-40f7-af3a-3f0bce2374e1","name":"Non-Fungible Token history","request":{"name":"Non-Fungible Token history","description":{"content":"Retrieves all events relevant to a Non-Fungible Token. Useful to determine the ownership history of a particular asset.\n\nMore information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","nft","history"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"asset_identifier","value":"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild","description":"(Required) token asset class identifier"},{"disabled":false,"key":"value","value":"0x0100000000000000000000000000000803","description":"(Required) hex representation of the token's unique value"},{"disabled":false,"key":"limit","value":"50","description":"max number of events to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first event to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"whether or not to include events from unconfirmed transactions"},{"disabled":false,"key":"tx_metadata","value":"false","description":"whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"76aa93aa-f95f-4de1-8263-8e738b463ac9","name":"Non-Fungible Token event history","originalRequest":{"url":{"path":["extended","v1","tokens","nft","history"],"host":["{{baseUrl}}"],"query":[{"key":"asset_identifier","value":"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild"},{"key":"value","value":"0x0100000000000000000000000000000803"},{"key":"limit","value":"50"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"tx_metadata","value":"false"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 50,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"sender\": \"SPZGN4KG2AKNNPEWVXXB6EWN1W9WV1JWMGBVVNK3\",\n \"recipient\": \"SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S.marketplace-v4\",\n \"event_index\": 0,\n \"asset_event_type\": \"transfer\",\n \"tx_id\": \"0x4510e6cff6414747f402126b92e35d90165f9f5e1f2750f50ed2b8e052b25108\"\n },\n {\n \"sender\": null,\n \"recipient\": \"SPZGN4KG2AKNNPEWVXXB6EWN1W9WV1JWMGBVVNK3\",\n \"event_index\": 1,\n \"asset_event_type\": \"mint\",\n \"tx_id\": \"0x3ab1ac33ba0a4fb473ee5a2e9d73208a7aceef2d40fea283e3126bda61524ad0\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"eeb3100e-8d86-40c9-afb2-85c38f4b8a82","name":"Non-Fungible Token mints","request":{"name":"Non-Fungible Token mints","description":{"content":"Retrieves all mint events for a Non-Fungible Token asset class. Useful to determine which NFTs of a particular collection have been claimed.\n\nMore information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","nft","mints"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"asset_identifier","value":"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild","description":"(Required) token asset class identifier"},{"disabled":false,"key":"limit","value":"50","description":"max number of events to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first event to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"whether or not to include events from unconfirmed transactions"},{"disabled":false,"key":"tx_metadata","value":"false","description":"whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"f65e1219-ebbb-4b93-b234-42b478ea72eb","name":"Non-Fungible Token mints","originalRequest":{"url":{"path":["extended","v1","tokens","nft","mints"],"host":["{{baseUrl}}"],"query":[{"key":"asset_identifier","value":"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild"},{"key":"limit","value":"50"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"tx_metadata","value":"false"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 5,\n \"offset\": 0,\n \"total\": 2503,\n \"results\": [\n {\n \"recipient\": \"SP25KJH4N4YNKTVXSWSHDPVCWDFAN2BA4H2VQVN0G\",\n \"event_index\": 1,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009c7\",\n \"repr\": \"u2503\"\n },\n \"tx_id\": \"0xd5c199447bc5f08d1821350455f4c103ad769976c7a6b745182782d53b5c7922\"\n },\n {\n \"recipient\": \"SPZGN4KG2AKNNPEWVXXB6EWN1W9WV1JWMGBVVNK3\",\n \"event_index\": 1,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009c5\",\n \"repr\": \"u2501\"\n },\n \"tx_id\": \"0x3ab1ac33ba0a4fb473ee5a2e9d73208a7aceef2d40fea283e3126bda61524ad0\"\n },\n {\n \"recipient\": \"SPYZ2K1ZTG8NGKNY8VCX8NDKCGCCE9WZT85AGQR\",\n \"event_index\": 1,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009c6\",\n \"repr\": \"u2502\"\n },\n \"tx_id\": \"0xaaff669db77380600b069fbd3ba481e5764e3672246f952bdd976cd3528019e8\"\n },\n {\n \"recipient\": \"SP2EV985DXEHEB2FKW3Z642R0QWQGXTRDYXNRVCYY\",\n \"event_index\": 1,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009b6\",\n \"repr\": \"u2486\"\n },\n \"tx_id\": \"0xc416218ed09e2252888a620d89a5e8fdff43188c1c4ef46b6bbc4e1901609ef6\"\n },\n {\n \"recipient\": \"SPP1VDQKF2H90QZVRBN0K6Z90EKES9NSMYKXHVGH\",\n \"event_index\": 9,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009bb\",\n \"repr\": \"u2491\"\n },\n \"tx_id\": \"0xbd272748e0d632f8122126f8b000fa0f84c96f464e6fb91b03bb8b9c5c12ed12\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"71ac47fa-6c7f-437c-a233-b693226859e5","name":"Non fungible tokens metadata list","request":{"name":"Non fungible tokens metadata list","description":{"content":"**NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service).\n\nRetrieves a list of non fungible tokens with their metadata. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","nft","metadata"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"1","description":"max number of tokens to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first tokens to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"6b6be229-8d49-487f-9116-b3f4f51cefc5","name":"List of non fungible tokens metadata","originalRequest":{"url":{"path":["extended","v1","tokens","nft","metadata"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"1"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 1,\n \"offset\": 0,\n \"total\": 500,\n \"results\": [\n {\n \"token_uri\": \"https://pool.friedger.de/nft.json\",\n \"name\": \"Friedger Pool\",\n \"description\": \"Enjoying the stacking pool.\",\n \"image_uri\": \"https://pool.friedger.de/nft.webp\",\n \"image_canonical_uri\": \"https://pool.friedger.de/nft.webp\",\n \"tx_id\": \"0xef2ac1126e16f46843228b1dk4830e19eb7599129e4jf392cab9e65ae83a45c0\",\n \"sender_address\": \"ST399W7Z9WS0GMSNQGJGME5JAENKN56D65VGMGKGA\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"2d2b86e3-ee19-4dd4-927a-9a022aa28e12","name":"Non fungible tokens metadata for contract ID","request":{"name":"Non fungible tokens metadata for contract ID","description":{"content":"**NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service).\n\nRetrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens",":contractId","nft","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"conse","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","auth":null},"response":[{"id":"fc4bffc2-c514-44c3-a41c-08247057372c","name":"Non fungible tokens metadata for contract id","originalRequest":{"url":{"path":["extended","v1","tokens",":contractId","nft","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"conse","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"token_uri\": \"https://pool.friedger.de/nft.json\",\n \"name\": \"Friedger Pool\",\n \"description\": \"Enjoying the stacking pool.\",\n \"image_uri\": \"https://pool.friedger.de/nft.webp\",\n \"image_canonical_uri\": \"https://pool.friedger.de/nft.webp\",\n \"tx_id\": \"0xef2ac1126e16f46843228b1dk4830e19eb7599129e4jf392cab9e65ae83a45c0\",\n \"sender_address\": \"ST399W7Z9WS0GMSNQGJGME5JAENKN56D65VGMGKGA\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"e51a5f88-b38d-44c7-9fd6-6b4357c09839","name":"Rosetta","description":{"content":"Endpoints to support the Rosetta API open blockchain standard","type":"text/plain"},"item":[{"id":"2a10c1ef-91fc-4efa-abfe-63591f477fd6","name":"Get List of Available Networks","request":{"name":"Get List of Available Networks","description":{"content":"Retrieves a list of NetworkIdentifiers that the Rosetta server supports.","type":"text/plain"},"url":{"path":["rosetta","v1","network","list"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","auth":null},"response":[{"id":"16750f2d-472b-4bb9-8113-ec768d55d51d","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","network","list"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"network_identifiers\": [\n {\n \"blockchain\": \"pariatur Duis\",\n \"network\": \"minim et Ut dolore\",\n \"sub_network_identifier\": {\n \"network\": \"esse laborum ea\",\n \"metadata\": {\n \"producer\": \"ipsum id proident anim\"\n }\n }\n },\n {\n \"blockchain\": \"Ut cillum\",\n \"network\": \"aliquip magna voluptate\",\n \"sub_network_identifier\": {\n \"network\": \"dolor nisi est velit Excepteur\",\n \"metadata\": {\n \"producer\": \"culpa elit\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"25112c83-9ce9-4602-88ef-2e2a97a3ac3c","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","network","list"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9ee84b21-1399-4611-9e9f-1ac1c740c3dd","name":"Get Network Options","request":{"name":"Get Network Options","description":{"content":"Retrieves the version information and allowed network-specific types for a NetworkIdentifier.\nAny NetworkIdentifier returned by /network/list should be accessible here.\nBecause options are retrievable in the context of a NetworkIdentifier, it is possible to define unique options for each network.\n","type":"text/plain"},"url":{"path":["rosetta","v1","network","options"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"803b0856-f506-4355-a7ba-e2c0b7a43ca9","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","network","options"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"version\": {\n \"rosetta_version\": \"ut aliqua laborum ullamco\",\n \"node_version\": \"nisi sunt Duis ea\",\n \"middleware_version\": \"minim est dolore\",\n \"metadata\": {}\n },\n \"allow\": {\n \"operation_statuses\": [\n {\n \"status\": \"et do\",\n \"successful\": false\n },\n {\n \"status\": \"id et dolore ex\",\n \"successful\": false\n }\n ],\n \"operation_types\": [\n \"consequat ex aute nulla\",\n \"dolor qui magna Ut\"\n ],\n \"errors\": [\n {\n \"code\": 68221705,\n \"message\": \"consectetur Excepteur eu el\",\n \"retriable\": false\n },\n {\n \"code\": -16494491,\n \"message\": \"voluptate Duis cupidatat laborum fugiat\",\n \"retriable\": false\n }\n ],\n \"historical_balance_lookup\": true\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1b582c33-23bc-43c6-827e-eb6823f106a5","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","network","options"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"13af255f-0927-4de6-b9dc-54100f155681","name":"Get Network Status","request":{"name":"Get Network Status","description":{"content":"Retrieves the current status of the network requested.\nAny NetworkIdentifier returned by /network/list should be accessible here.\n","type":"text/plain"},"url":{"path":["rosetta","v1","network","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"646f2242-18cd-485d-a6cd-20ca53455e33","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","network","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"current_block_identifier\": {},\n \"current_block_timestamp\": -21500719,\n \"genesis_block_identifier\": {\n \"index\": 81232163,\n \"hash\": \"ut enim consequat aute minim\"\n },\n \"peers\": [\n {\n \"peer_id\": \"non Duis\",\n \"metadata\": {}\n },\n {\n \"peer_id\": \"laboris in tempor\",\n \"metadata\": {}\n }\n ],\n \"oldest_block_identifier\": {\n \"index\": -12428061,\n \"hash\": \"fugiat Duis officia velit\"\n },\n \"sync_status\": {\n \"current_index\": 18690004,\n \"target_index\": -74724494,\n \"stage\": \"qui veniam in\",\n \"synced\": false\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e4d6b4c-746f-44bf-8586-18a227985197","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","network","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"1d43c0c0-2939-4e8e-9532-62f78670db9f","name":"Get an Account Balance","request":{"name":"Get an Account Balance","description":{"content":"An AccountBalanceRequest is utilized to make a balance request on the /account/balance endpoint.\nIf the block_identifier is populated, a historical balance query should be performed.\n","type":"text/plain"},"url":{"path":["rosetta","v1","account","balance"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"account_identifier\": {\n \"address\": \"SP2W6477BT5CRWVC5D5RFNPNAR8R2NW63SMMCAWMC\",\n \"metadata\": {}\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"1ce562bd-ebae-4380-bbad-56dd95a7e43c","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","account","balance"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"account_identifier\": {\n \"address\": \"SP2W6477BT5CRWVC5D5RFNPNAR8R2NW63SMMCAWMC\",\n \"metadata\": {}\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"block_identifier\": {},\n \"balances\": [\n {\n \"value\": \"pariatur in adipisicing sunt aute\",\n \"currency\": {\n \"symbol\": \"ea adipisicing fugiat\",\n \"decimals\": 2791414,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"dolor cillum voluptate est veli\",\n \"currency\": {\n \"symbol\": \"laboris reprehenderit esse conseq\",\n \"decimals\": -76631986,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"coins\": [\n {\n \"coin_identifier\": {\n \"identifier\": \"in qui consequat ut\"\n },\n \"amount\": {\n \"value\": \"eiusmod fugiat in ullamco\",\n \"currency\": {\n \"symbol\": \"ut reprehenderit\",\n \"decimals\": 40464041,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n },\n {\n \"coin_identifier\": {\n \"identifier\": \"quis commodo\"\n },\n \"amount\": {\n \"value\": \"dolore Ut irure\",\n \"currency\": {\n \"symbol\": \"quis dolor consequat officia Duis\",\n \"decimals\": -99174957,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n }\n ],\n \"metadata\": {\n \"sequence_number\": 57261746\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9b082090-1ca2-4b6f-aaeb-e8506e600486","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","account","balance"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"account_identifier\": {\n \"address\": \"SP2W6477BT5CRWVC5D5RFNPNAR8R2NW63SMMCAWMC\",\n \"metadata\": {}\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"33a2191f-9777-4b0f-8866-e690f9401093","name":"Get a Block","request":{"name":"Get a Block","description":{"content":"Retrieves the Block information for a given block identifier including a list of all transactions in the block.","type":"text/plain"},"url":{"path":["rosetta","v1","block"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"index\": 71107,\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9661dc41-d2bb-48c2-b771-ff96880e7750","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","block"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"index\": 71107,\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"block\": {\n \"block_identifier\": {},\n \"parent_block_identifier\": {\n \"index\": -60816398,\n \"hash\": \"reprehenderit\"\n },\n \"timestamp\": -77298971,\n \"transactions\": [\n {\n \"transaction_identifier\": {\n \"hash\": \"quis ut\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -63448865,\n \"network_index\": -25797919\n },\n \"type\": \"enim\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"exercitation in non dolor\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"ut officia et eu\",\n \"currency\": {\n \"symbol\": \"ea Lorem dolore adipisicing aliqua\",\n \"decimals\": 81010419,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": {\n \"value\": \"\"\n }\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -75116916,\n \"network_index\": 81337037\n },\n \"type\": \"offic\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"adipisicing\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"dolore\",\n \"currency\": {\n \"symbol\": \"nisi ipsum in\",\n \"decimals\": 62521406,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": {\n \"value\": \"\"\n }\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"aliquip in Excepteur quis\",\n \"size\": -63539504,\n \"lockTime\": -21790129\n }\n },\n {\n \"transaction_identifier\": {\n \"hash\": \"dolor dolore laborum pariatur\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 81912024,\n \"network_index\": -67798450\n },\n \"type\": \"do\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"esse labore\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"minim eu adipisicing\",\n \"currency\": {\n \"symbol\": \"consectetur mollit ut nisi\",\n \"decimals\": -21908586,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": {\n \"value\": \"\"\n }\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -30327563,\n \"network_index\": -35980941\n },\n \"type\": \"nisi nostrud dolor culpa\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"do occaecat \",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"eu ad Ut sunt in\",\n \"currency\": {\n \"symbol\": \"veniam qu\",\n \"decimals\": 17453427,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": {\n \"value\": \"\"\n }\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"aliqua qui magna consectetur irure\",\n \"size\": 2115046,\n \"lockTime\": 65263597\n }\n }\n ],\n \"metadata\": {\n \"transactions_root\": \"mollit fugiat\",\n \"difficulty\": \"fugiat incididunt adipisicing\"\n }\n },\n \"other_transactions\": [\n {\n \"hash\": \"in officia Ut ipsum esse\"\n },\n {\n \"hash\": \"reprehenderit Ut ex consequat\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a39e2408-69c6-4c55-af16-067e9d41afcb","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","block"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"index\": 71107,\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"74a2d991-302b-4713-8878-c546c8ce8979","name":"Get a Block Transaction","request":{"name":"Get a Block Transaction","description":{"content":"Retrieves a Transaction included in a block that is not returned in a BlockResponse.","type":"text/plain"},"url":{"path":["rosetta","v1","block","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n },\n \"transaction_identifier\": {\n \"hash\": \"0x49354cc7b18dc5296c945a8e89f7d758dac14f1ab38d4c33dfe45ec1765ab339\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ac41045f-dd0c-4912-8569-aa7b253f836f","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","block","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n },\n \"transaction_identifier\": {\n \"hash\": \"0x49354cc7b18dc5296c945a8e89f7d758dac14f1ab38d4c33dfe45ec1765ab339\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction\": {\n \"transaction_identifier\": {\n \"hash\": \"ad esse labore mollit\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 66083768,\n \"network_index\": 82425439\n },\n \"type\": \"id amet\",\n \"related_operations\": [\n {\n \"index\": 74722121,\n \"network_index\": 24834297\n },\n {\n \"index\": -28469232,\n \"network_index\": 42210630\n }\n ],\n \"status\": \"ut tempor nostrud exercitation quis\",\n \"account\": {\n \"address\": \"ut veniam\",\n \"sub_account\": {\n \"address\": \"minim eiusmod\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"dolor\",\n \"currency\": {\n \"symbol\": \"sed\",\n \"decimals\": -84434215,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"velit consequat amet commodo dolore\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 33744099,\n \"network_index\": -3534157\n },\n \"type\": \"Duis aliquip Excepteur magna\",\n \"related_operations\": [\n {\n \"index\": 90345901,\n \"network_index\": -16388016\n },\n {\n \"index\": -64229924,\n \"network_index\": 10028122\n }\n ],\n \"status\": \"eiusmod dolore dolore id\",\n \"account\": {\n \"address\": \"dolore\",\n \"sub_account\": {\n \"address\": \"sunt dolor\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"commodo\",\n \"currency\": {\n \"symbol\": \"deserunt minim est\",\n \"decimals\": -83865477,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"et labore id\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"Ut eu mollit cupidatat ex\",\n \"size\": -32069097,\n \"lockTime\": 38534812\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d0188d77-4b10-4afe-b79b-014662fa2574","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","block","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n },\n \"transaction_identifier\": {\n \"hash\": \"0x49354cc7b18dc5296c945a8e89f7d758dac14f1ab38d4c33dfe45ec1765ab339\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b235c84e-515c-4021-a47e-65331dd8eee6","name":"Get All Mempool Transactions","request":{"name":"Get All Mempool Transactions","description":{"content":"Retrieves a list of transactions currently in the mempool for a given network.","type":"text/plain"},"url":{"path":["rosetta","v1","mempool"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"36cb5fda-ae70-4772-99e8-cb814f72fb19","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","mempool"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction_identifiers\": [\n {\n \"hash\": \"nulla amet et elit eu\"\n },\n {\n \"hash\": \"ut consectetur enim\"\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cae057d9-128c-4802-86d3-99a68ba956e7","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","mempool"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"1301934f-299d-4326-9160-925f89e73a38","name":"Get a Mempool Transaction","request":{"name":"Get a Mempool Transaction","description":{"content":"Retrieves transaction details from the mempool for a given transaction id from a given network.","type":"text/plain"},"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"dolor ad dolore\",\n \"network\": \"labore anim l\",\n \"sub_network_identifier\": {\n \"network\": \"reprehenderit es\",\n \"metadata\": {\n \"producer\": \"laboris culpa ut in aliquip\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"ani\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"24343550-f1e2-4937-a0e2-cd04bc3b05e5","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"dolor ad dolore\",\n \"network\": \"labore anim l\",\n \"sub_network_identifier\": {\n \"network\": \"reprehenderit es\",\n \"metadata\": {\n \"producer\": \"laboris culpa ut in aliquip\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"ani\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction\": {\n \"transaction_identifier\": {\n \"hash\": \"ipsum dolore dolor s\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -70530545,\n \"network_index\": -57480894\n },\n \"type\": \"proident nisi in\",\n \"related_operations\": [\n {\n \"index\": 30055329,\n \"network_index\": 43177317\n },\n {\n \"index\": -21470737,\n \"network_index\": -18200979\n }\n ],\n \"status\": \"reprehenderit\",\n \"account\": {\n \"address\": \"voluptate \",\n \"sub_account\": {\n \"address\": \"aliqua magna e\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"tempor cillum reprehenderit incididunt Excepteur\",\n \"currency\": {\n \"symbol\": \"dolor fugiat in\",\n \"decimals\": -12683375,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"id\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -38693549,\n \"network_index\": 90935086\n },\n \"type\": \"incididunt fugiat enim nisi\",\n \"related_operations\": [\n {\n \"index\": 3903746,\n \"network_index\": 51001693\n },\n {\n \"index\": 42487843,\n \"network_index\": -11299541\n }\n ],\n \"status\": \"cillum\",\n \"account\": {\n \"address\": \"nostrud tempor aliquip fugiat\",\n \"sub_account\": {\n \"address\": \"esse tempor consequat\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"pariatur consectetur nostrud nisi veni\",\n \"currency\": {\n \"symbol\": \"quis labore ullamco Excepteur\",\n \"decimals\": 50050281,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"Ut voluptate ea\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"Duis \",\n \"size\": 95827555,\n \"lockTime\": -16945648\n }\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c5eee2bc-8b5c-4e4c-868b-690f5a927603","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"dolor ad dolore\",\n \"network\": \"labore anim l\",\n \"sub_network_identifier\": {\n \"network\": \"reprehenderit es\",\n \"metadata\": {\n \"producer\": \"laboris culpa ut in aliquip\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"ani\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f0e39934-f889-4e8b-88f1-5ab15c83bcd9","name":"Derive an AccountIdentifier from a PublicKey","request":{"name":"Derive an AccountIdentifier from a PublicKey","description":{"content":"Retrieves the Account Identifier information based on a Public Key for a given network","type":"text/plain"},"url":{"path":["rosetta","v1","construction","derive"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"metadata\": {}\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"7983e5bd-8d49-460e-9e30-d922544da28e","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","derive"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"metadata\": {}\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"address\": \"do elit\",\n \"account_identifier\": {\n \"address\": \"veniam sunt nostrud ullamco\",\n \"sub_account\": {\n \"address\": \"consequat dolor nulla\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ee1a8801-d291-4d27-b535-d407e3f6b65a","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","derive"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"metadata\": {}\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9bc8279d-1680-483a-b9df-b43fc54fec7f","name":"Get the Hash of a Signed Transaction","request":{"name":"Get the Hash of a Signed Transaction","description":{"content":"Retrieves the network-specific transaction hash for a signed transaction.","type":"text/plain"},"url":{"path":["rosetta","v1","construction","hash"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3c5fbf8b-7472-4376-83c2-4d947a7eadf5","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","hash"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction_identifier\": {\n \"hash\": \"aute minim\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"28419ed7-2b32-4d5e-b27e-5c786cc0e76c","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","hash"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"201a94b0-e5df-4024-884a-696ab99c55bf","name":"Get Metadata for Transaction Construction","request":{"name":"Get Metadata for Transaction Construction","description":{"content":"To Do","type":"text/plain"},"url":{"path":["rosetta","v1","construction","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"options\": {\n \"sender_address\": \"SP3Y0BBCCCBFAMYCYN3F35CX9MH1J2GATP53JX3FA\",\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"token_transfer_recipient_address\": \"string\",\n \"amount\": \"500000\",\n \"symbol\": \"STX\",\n \"decimals\": 6,\n \"gas_limit\": 0,\n \"gas_price\": 0,\n \"suggested_fee_multiplier\": 0,\n \"max_fee\": \"12380898\",\n \"fee\": \"fee\",\n \"size\": 260,\n \"memo\": \"test.memo\",\n \"number_of_cycles\": 0,\n \"contract_address\": \"SP112T7BYCNEDCZ9TCYXCXFNJG9WXX5Q5SG6DSBAM\",\n \"contract_name\": \"STX transfer\",\n \"burn_block_height\": 0,\n \"delegate_to\": \"cb3df38053d132895220b9ce471f6b676db5b9bf0b4adefb55f2118ece2478df01.STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"pox_addr\": \"1Xik14zRm29UsyS6DjhYg4iZeZqsDa8D3\"\n },\n \"public_keys\": [\n {\n \"hex_bytes\": \"publicKey\",\n \"curve_type\": \"secp256k1\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"03c149cf-8bde-42de-b99f-47be1a0bb944","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"options\": {\n \"sender_address\": \"SP3Y0BBCCCBFAMYCYN3F35CX9MH1J2GATP53JX3FA\",\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"token_transfer_recipient_address\": \"string\",\n \"amount\": \"500000\",\n \"symbol\": \"STX\",\n \"decimals\": 6,\n \"gas_limit\": 0,\n \"gas_price\": 0,\n \"suggested_fee_multiplier\": 0,\n \"max_fee\": \"12380898\",\n \"fee\": \"fee\",\n \"size\": 260,\n \"memo\": \"test.memo\",\n \"number_of_cycles\": 0,\n \"contract_address\": \"SP112T7BYCNEDCZ9TCYXCXFNJG9WXX5Q5SG6DSBAM\",\n \"contract_name\": \"STX transfer\",\n \"burn_block_height\": 0,\n \"delegate_to\": \"cb3df38053d132895220b9ce471f6b676db5b9bf0b4adefb55f2118ece2478df01.STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"pox_addr\": \"1Xik14zRm29UsyS6DjhYg4iZeZqsDa8D3\"\n },\n \"public_keys\": [\n {\n \"hex_bytes\": \"publicKey\",\n \"curve_type\": \"secp256k1\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"metadata\": {\n \"account_sequence\": 23798934,\n \"recent_block_hash\": \"dolor do laborum\"\n },\n \"suggested_fee\": [\n {\n \"value\": \"aute adipisicing\",\n \"currency\": {\n \"symbol\": \"officia ullamco\",\n \"decimals\": 56520449,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"est\",\n \"currency\": {\n \"symbol\": \"exercitation officia commodo\",\n \"decimals\": 55661982,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c6553a73-cc49-44be-be6c-566576261d31","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"options\": {\n \"sender_address\": \"SP3Y0BBCCCBFAMYCYN3F35CX9MH1J2GATP53JX3FA\",\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"token_transfer_recipient_address\": \"string\",\n \"amount\": \"500000\",\n \"symbol\": \"STX\",\n \"decimals\": 6,\n \"gas_limit\": 0,\n \"gas_price\": 0,\n \"suggested_fee_multiplier\": 0,\n \"max_fee\": \"12380898\",\n \"fee\": \"fee\",\n \"size\": 260,\n \"memo\": \"test.memo\",\n \"number_of_cycles\": 0,\n \"contract_address\": \"SP112T7BYCNEDCZ9TCYXCXFNJG9WXX5Q5SG6DSBAM\",\n \"contract_name\": \"STX transfer\",\n \"burn_block_height\": 0,\n \"delegate_to\": \"cb3df38053d132895220b9ce471f6b676db5b9bf0b4adefb55f2118ece2478df01.STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"pox_addr\": \"1Xik14zRm29UsyS6DjhYg4iZeZqsDa8D3\"\n },\n \"public_keys\": [\n {\n \"hex_bytes\": \"publicKey\",\n \"curve_type\": \"secp256k1\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d598c8a8-8233-4683-aeb1-055fcbaa1ab6","name":"Parse a Transaction","request":{"name":"Parse a Transaction","description":{"content":"TODO","type":"text/plain"},"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"lab\",\n \"network\": \"sint in cupidatat\",\n \"sub_network_identifier\": {\n \"network\": \"reprehenderit in\",\n \"metadata\": {\n \"producer\": \"do eu minim dolor\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"ut in f\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2053df4a-dd5a-44d1-ad4f-601768337f02","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"lab\",\n \"network\": \"sint in cupidatat\",\n \"sub_network_identifier\": {\n \"network\": \"reprehenderit in\",\n \"metadata\": {\n \"producer\": \"do eu minim dolor\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"ut in f\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -88534847,\n \"network_index\": -54454803\n },\n \"type\": \"aliquip ea dolor\",\n \"related_operations\": [\n {\n \"index\": -52026370,\n \"network_index\": 82893086\n },\n {\n \"index\": 61195362,\n \"network_index\": 40712596\n }\n ],\n \"status\": \"quis \",\n \"account\": {\n \"address\": \"aute nisi\",\n \"sub_account\": {\n \"address\": \"reprehenderit incididunt\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"culpa\",\n \"currency\": {\n \"symbol\": \"eu non fugiat\",\n \"decimals\": 36719254,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"eiusmod adipisicing incididunt labore sed\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 51174406,\n \"network_index\": -12592134\n },\n \"type\": \"id Duis laborum officia\",\n \"related_operations\": [\n {\n \"index\": -5004218,\n \"network_index\": -75199761\n },\n {\n \"index\": 43050558,\n \"network_index\": 61783566\n }\n ],\n \"status\": \"elit exercitation sit\",\n \"account\": {\n \"address\": \"in nostrud pariatur minim\",\n \"sub_account\": {\n \"address\": \"et laborum ex aliquip\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"et laborum sint dolore\",\n \"currency\": {\n \"symbol\": \"est\",\n \"decimals\": -24309922,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"dolore\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"signers\": [\n \"veniam non laboris minim\",\n \"ad\"\n ],\n \"account_identifier_signers\": [\n {\n \"address\": \"dolore mollit commodo esse\",\n \"sub_account\": {\n \"address\": \"ad dolor\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"ut consectetur consequat in ullamco\",\n \"sub_account\": {\n \"address\": \"voluptate mollit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"67cf15b7-c950-484f-8f11-60848239fa01","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"lab\",\n \"network\": \"sint in cupidatat\",\n \"sub_network_identifier\": {\n \"network\": \"reprehenderit in\",\n \"metadata\": {\n \"producer\": \"do eu minim dolor\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"ut in f\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"3458312c-ec05-4a29-8274-dd5b31d6b5db","name":"Create a Request to Fetch Metadata","request":{"name":"Create a Request to Fetch Metadata","description":{"content":"TODO","type":"text/plain"},"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"eiusmod ullamco\",\n \"network\": \"eu aliqua Lorem labore\",\n \"sub_network_identifier\": {\n \"network\": \"laboris voluptate est\",\n \"metadata\": {\n \"producer\": \"laborum in\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -96976674,\n \"network_index\": -56158965\n },\n \"type\": \"dolor pariatur non nulla labore\",\n \"related_operations\": [\n {\n \"index\": -44709390,\n \"network_index\": -3812141\n },\n {\n \"index\": -32166557,\n \"network_index\": -12912134\n }\n ],\n \"status\": \"id anim in Ut aliquip\",\n \"account\": {\n \"address\": \"non minim dolore quis\",\n \"sub_account\": {\n \"address\": \"sit dolore deserunt cupidatat qui\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"reprehenderit laboris exercitation\",\n \"currency\": {\n \"symbol\": \"dolor sint minim sunt\",\n \"decimals\": 43268541,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"qui do ex\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 13443269,\n \"network_index\": -20185314\n },\n \"type\": \"ut \",\n \"related_operations\": [\n {\n \"index\": 17900540,\n \"network_index\": 68503160\n },\n {\n \"index\": 81163143,\n \"network_index\": -79854506\n }\n ],\n \"status\": \"eiusmod proident laborum dolore\",\n \"account\": {\n \"address\": \"cupidatat do aliquip\",\n \"sub_account\": {\n \"address\": \"mollit in tempor\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"aliqua adipisicing\",\n \"currency\": {\n \"symbol\": \"labore\",\n \"decimals\": 36524496,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"dolore dolor sit dolor\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"ad Duis\",\n \"currency\": {\n \"symbol\": \"officia dolor enim\",\n \"decimals\": 41777848,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"commodo\",\n \"currency\": {\n \"symbol\": \"voluptate nisi quis\",\n \"decimals\": -12164206,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -72319558\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4fd119a5-9456-40db-8a36-a0f33fd8e002","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"laborum minim adipisicing\",\n \"network\": \"velit sint labore\",\n \"sub_network_identifier\": {\n \"network\": \"qui tempor Duis\",\n \"metadata\": {\n \"producer\": \"in\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -26230046,\n \"network_index\": 73381779\n },\n \"type\": \"ea sunt in voluptate enim\",\n \"related_operations\": [\n {\n \"index\": -64757511,\n \"network_index\": -97794901\n },\n {\n \"index\": -47806541,\n \"network_index\": 33389902\n }\n ],\n \"status\": \"reprehenderit esse\",\n \"account\": {\n \"address\": \"laboris ex reprehenderit do\",\n \"sub_account\": {\n \"address\": \"do non dolore culpa voluptate\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"pariatur\",\n \"currency\": {\n \"symbol\": \"Ut\",\n \"decimals\": 83422895,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"magna consectetur\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 22008208,\n \"network_index\": 30672276\n },\n \"type\": \"ipsum quis sit\",\n \"related_operations\": [\n {\n \"index\": -3258228,\n \"network_index\": 64269236\n },\n {\n \"index\": -1417167,\n \"network_index\": 19887934\n }\n ],\n \"status\": \"voluptate est\",\n \"account\": {\n \"address\": \"consequat\",\n \"sub_account\": {\n \"address\": \"quis in irure mollit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"sint occaecat\",\n \"currency\": {\n \"symbol\": \"nisi non laborum\",\n \"decimals\": -59364940,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"nisi labore\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"culpa nostrud minim nulla dolore\",\n \"currency\": {\n \"symbol\": \"Lorem commodo ut\",\n \"decimals\": -27863731,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"fugiat dolor culpa dolor\",\n \"currency\": {\n \"symbol\": \"nostrud reprehenderit\",\n \"decimals\": 37556324,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -91105073\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"options\": {\n \"sender_address\": \"aute ad\",\n \"type\": \"eu nulla sed\",\n \"status\": \"aliquip quis consequat\",\n \"token_transfer_recipient_address\": \"cillum Lorem esse laboris do\",\n \"amount\": \"in amet\",\n \"symbol\": \"pariatur\",\n \"decimals\": -19991623,\n \"gas_limit\": 78741808.02750662,\n \"gas_price\": -27760915.012837067,\n \"suggested_fee_multiplier\": 57158800.16003868,\n \"max_fee\": \"laborum occaecat sint anim reprehenderit\",\n \"fee\": \"nisi labore minim qui eiusmod\",\n \"size\": 1221236,\n \"memo\": \"sed aliqua Ut in\",\n \"number_of_cycles\": -31690899,\n \"contract_address\": \"sint id aliqua veniam\",\n \"contract_name\": \"fugi\",\n \"burn_block_height\": 31849254,\n \"delegate_to\": \"incididunt adipisicing aute eu\",\n \"pox_addr\": \"consequat laboris non quis\"\n },\n \"required_public_keys\": [\n {\n \"address\": \"consectetur labore do\",\n \"sub_account\": {\n \"address\": \"occaecat eius\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"dolore amet occaecat consequat\",\n \"sub_account\": {\n \"address\": \"Ut dolore in nostrud\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"299cf2d5-ce3e-45c1-b780-0557f6645ccf","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"laborum minim adipisicing\",\n \"network\": \"velit sint labore\",\n \"sub_network_identifier\": {\n \"network\": \"qui tempor Duis\",\n \"metadata\": {\n \"producer\": \"in\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -26230046,\n \"network_index\": 73381779\n },\n \"type\": \"ea sunt in voluptate enim\",\n \"related_operations\": [\n {\n \"index\": -64757511,\n \"network_index\": -97794901\n },\n {\n \"index\": -47806541,\n \"network_index\": 33389902\n }\n ],\n \"status\": \"reprehenderit esse\",\n \"account\": {\n \"address\": \"laboris ex reprehenderit do\",\n \"sub_account\": {\n \"address\": \"do non dolore culpa voluptate\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"pariatur\",\n \"currency\": {\n \"symbol\": \"Ut\",\n \"decimals\": 83422895,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"magna consectetur\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 22008208,\n \"network_index\": 30672276\n },\n \"type\": \"ipsum quis sit\",\n \"related_operations\": [\n {\n \"index\": -3258228,\n \"network_index\": 64269236\n },\n {\n \"index\": -1417167,\n \"network_index\": 19887934\n }\n ],\n \"status\": \"voluptate est\",\n \"account\": {\n \"address\": \"consequat\",\n \"sub_account\": {\n \"address\": \"quis in irure mollit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"sint occaecat\",\n \"currency\": {\n \"symbol\": \"nisi non laborum\",\n \"decimals\": -59364940,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"nisi labore\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"culpa nostrud minim nulla dolore\",\n \"currency\": {\n \"symbol\": \"Lorem commodo ut\",\n \"decimals\": -27863731,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"fugiat dolor culpa dolor\",\n \"currency\": {\n \"symbol\": \"nostrud reprehenderit\",\n \"decimals\": 37556324,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -91105073\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"69ab4700-2f3c-4818-a5c0-f666b2218a2f","name":"Submit a Signed Transaction","request":{"name":"Submit a Signed Transaction","description":{"content":"Submit a pre-signed transaction to the node. The examples below are illustrative only. You'll need to use your wallet to generate actual values to use them in the request payload.","type":"text/plain"},"url":{"path":["rosetta","v1","construction","submit"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"af571bad-0c0e-441b-af14-c553c80f0a06","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","submit"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction_identifier\": {\n \"hash\": \"cillum exercitation\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cc207dbf-d0b4-494f-9033-e6dba02db406","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","submit"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"71ee09f0-0e89-4f31-ab73-f292a5d26677","name":"Generate an Unsigned Transaction and Signing Payloads","request":{"name":"Generate an Unsigned Transaction and Signing Payloads","description":{"content":"Generate an unsigned transaction from operations and metadata. The examples below are illustrative only. You'll need to use your wallet to generate actual values to use them in the request payload.","type":"text/plain"},"url":{"path":["rosetta","v1","construction","payloads"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 0,\n \"network_index\": 0\n },\n \"related_operations\": [\n {\n \"index\": 0,\n \"network_index\": 0\n }\n ],\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"account\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n }\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"35166312-170c-49fe-834d-4e9a65762315","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","payloads"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 0,\n \"network_index\": 0\n },\n \"related_operations\": [\n {\n \"index\": 0,\n \"network_index\": 0\n }\n ],\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"account\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n }\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"unsigned_transaction\": \"ut\",\n \"payloads\": [\n {\n \"hex_bytes\": \"consectetur ullamco\",\n \"address\": \"velit dolore in\",\n \"account_identifier\": {\n \"address\": \"dolor laborum labore\",\n \"sub_account\": {\n \"address\": \"elit in aliquip exercitation\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"schnorr_poseidon\"\n },\n {\n \"hex_bytes\": \"tempor non Ut\",\n \"address\": \"exercitation occaecat sint\",\n \"account_identifier\": {\n \"address\": \"consectetur deserunt\",\n \"sub_account\": {\n \"address\": \"dolore minim laborum ad\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"schnorr_1\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d20707db-9e1b-4fb2-aee0-21ae7d9ba68b","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","payloads"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 0,\n \"network_index\": 0\n },\n \"related_operations\": [\n {\n \"index\": 0,\n \"network_index\": 0\n }\n ],\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"account\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n }\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"70b3f17a-65ab-4380-8d13-0f4bd29dc398","name":"Create Network Transaction from Signatures","request":{"name":"Create Network Transaction from Signatures","description":{"content":"Take unsigned transaction and signature, combine both and return signed transaction. The examples below are illustrative only. You'll need to use your wallet to generate actual values to use them in the request payload.","type":"text/plain"},"url":{"path":["rosetta","v1","construction","combine"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"unsigned_transaction\": \"00000000010400539886f96611ba3ba6cef9618f8c78118b37c5be0000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003020000000000051ab71a091b4b8b7661a661c620966ab6573bc2dcd3000000000007a12074657374207472616e73616374696f6e000000000000000000000000000000000000\",\n \"signatures\": [\n {\n \"signing_payload\": {\n \"address\": \"string\",\n \"account_identifier\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n },\n \"hex_bytes\": \"string\",\n \"signature_type\": \"ecdsa\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"signature_type\": \"ecdsa\",\n \"hex_bytes\": \"string\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3382df99-c3fb-48e5-a4cd-21d763901e12","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","combine"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"unsigned_transaction\": \"00000000010400539886f96611ba3ba6cef9618f8c78118b37c5be0000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003020000000000051ab71a091b4b8b7661a661c620966ab6573bc2dcd3000000000007a12074657374207472616e73616374696f6e000000000000000000000000000000000000\",\n \"signatures\": [\n {\n \"signing_payload\": {\n \"address\": \"string\",\n \"account_identifier\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n },\n \"hex_bytes\": \"string\",\n \"signature_type\": \"ecdsa\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"signature_type\": \"ecdsa\",\n \"hex_bytes\": \"string\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"signed_transaction\": \"do enim\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff0bd750-246f-4580-9afa-4100652a0238","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","combine"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"unsigned_transaction\": \"00000000010400539886f96611ba3ba6cef9618f8c78118b37c5be0000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003020000000000051ab71a091b4b8b7661a661c620966ab6573bc2dcd3000000000007a12074657374207472616e73616374696f6e000000000000000000000000000000000000\",\n \"signatures\": [\n {\n \"signing_payload\": {\n \"address\": \"string\",\n \"account_identifier\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n },\n \"hex_bytes\": \"string\",\n \"signature_type\": \"ecdsa\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"signature_type\": \"ecdsa\",\n \"hex_bytes\": \"string\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 19935369,\n \"message\": \"nostrud consequat\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"quis\",\n \"error\": \"ipsum reprehenderit consequat\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"677f9420-83d7-4451-a672-93783a21a053","name":"Search","description":{"content":"Read-only endpoints to search for accounts, blocks, smart contracts, and transactions","type":"text/plain"},"item":[{"id":"ea592e4c-9252-4903-923d-81f87124b68c","name":"Search","request":{"name":"Search","description":{"content":"Search blocks, transactions, contracts, or accounts by hash/ID","type":"text/plain"},"url":{"path":["extended","v1","search",":id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"include_metadata","value":"true","description":"This includes the detailed data for purticular hash in the response"}],"variable":[{"disabled":false,"type":"any","value":"0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d","key":"id","description":"(Required) The hex hash string for a block or transaction, account address, or contract address"}]},"method":"GET","auth":null},"response":[{"id":"52a36882-74cc-4898-a077-2e78ae51eb3f","name":"Success","originalRequest":{"url":{"path":["extended","v1","search",":id"],"host":["{{baseUrl}}"],"query":[{"key":"include_metadata","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d","key":"id","description":"(Required) The hex hash string for a block or transaction, account address, or contract address"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"found\": true,\n \"result\": {\n \"entity_id\": \"ST2P7B9G6Y55QWZJ9B93DVSEG5S6Z4PFJHB3XRKHW.hello_world\",\n \"entity_type\": \"contract_address\",\n \"tx_data\": {\n \"canonical\": true,\n \"block_hash\": \"0xb076fd3983e63bbf28ae615daa31c5b6084d23ceeb920c54f1ea666244415457\",\n \"burn_block_time\": 1595229199,\n \"block_height\": 648,\n \"tx_type\": \"smart_contract\"\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"285854dc-b41a-4405-a6ab-328f3b04360a","name":"Not found","originalRequest":{"url":{"path":["extended","v1","search",":id"],"host":["{{baseUrl}}"],"query":[{"key":"include_metadata","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d","key":"id","description":"(Required) The hex hash string for a block or transaction, account address, or contract address"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"found\": false,\n \"result\": {\n \"entity_type\": \"unknown_hash\"\n },\n \"error\": \"No block or transaction found with hash \\\"0xabc123\\\"\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"fbc54bde-b489-4ffe-ada7-35958f5541e6","name":"Smart Contracts","description":{"content":"Read-only endpoints to obtain Clarity smart contract details","type":"text/plain"},"item":[{"id":"d03df4a3-b587-4dd6-bf7a-8c56e417c754","name":"Get contract info","request":{"name":"Get contract info","description":{"content":"Retrieves details of a contract with a given `contract_id`","type":"text/plain"},"url":{"path":["extended","v1","contract",":contract_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","auth":null},"response":[{"id":"8921d34c-26dd-46bf-b9f0-0ebc0d55b51a","name":"Contract found","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"tx_id\": \"0xb8b822f30a063fda8f9d44a23530a562a1ed93867d5977fbb12b1c284736edbb\",\n \"canonical\": true,\n \"contract_id\": \"SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.btc-ft-swap\",\n \"block_height\": 23131,\n \"source_code\": \"(use-trait fungible-token 'SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.sip-010-trait-ft-standard.sip-010-trait) (define-constant expiry u100) (define-map swaps uint {sats: uint, btc-receiver: (buff 40), amount: uint, ft-receiver: (optional principal), ft-sender: principal, when: uint, done: uint, ft: principal}) (define-data-var next-id uint u0) (define-private (find-out (entry {scriptPubKey: (buff 128), value: (buff 8)}) (result {pubscriptkey: (buff 40), out: (optional {scriptPubKey: (buff 128), value: uint})})) (if (is-eq (get scriptPubKey entry) (get pubscriptkey result)) (merge result {out: (some {scriptPubKey: (get scriptPubKey entry), value: (get uint32 (unwrap-panic (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 read-uint32 {txbuff: (get value entry), index: u0})))})}) result)) (define-public (get-out-value (tx { version: (buff 4), ins: (list 8 {outpoint: {hash: (buff 32), index: (buff 4)}, scriptSig: (buff 256), sequence: (buff 4)}), outs: (list 8 {value: (buff 8), scriptPubKey: (buff 128)}), locktime: (buff 4)}) (pubscriptkey (buff 40))) (ok (fold find-out (get outs tx) {pubscriptkey: pubscriptkey, out: none}))) ;; create a swap between btc and fungible token (define-public (create-swap (sats uint) (btc-receiver (buff 40)) (amount uint) (ft-receiver (optional principal)) (ft )) (let ((id (var-get next-id))) (asserts! (map-insert swaps id {sats: sats, btc-receiver: btc-receiver, amount: amount, ft-receiver: ft-receiver, ft-sender: tx-sender, when: block-height, done: u0, ft: (contract-of ft)}) ERR_INVALID_ID) (var-set next-id (+ id u1)) (match (contract-call? ft transfer amount tx-sender (as-contract tx-sender) (some 0x636174616d6172616e2073776170)) success (ok id) error (err (* error u1000))))) (define-public (set-ft-receiver (id uint)) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID))) (if (is-none (get ft-receiver swap)) (begin (asserts! (map-set swaps id (merge swap {ft-receiver: (some tx-sender)})) ERR_NATIVE_FAILURE) (ok true)) ERR_ALREADY_DONE))) ;; any user can cancle the swap after the expiry period (define-public (cancel (id uint) (ft )) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID))) (asserts! (is-eq (contract-of ft) (get ft swap)) ERR_INVALID_FUNGIBLE_TOKEN) (asserts! (< (+ (get when swap) expiry) block-height) ERR_TOO_EARLY) (asserts! (is-eq (get done swap) u0) ERR_ALREADY_DONE) (asserts! (map-set swaps id (merge swap {done: u1})) ERR_NATIVE_FAILURE) (as-contract (contract-call? ft transfer (get amount swap) tx-sender (get ft-sender swap) (some 0x72657665727420636174616d6172616e2073776170))))) ;; any user can submit a tx that contains the swap (define-public (submit-swap (id uint) (block { version: (buff 4), parent: (buff 32), merkle-root: (buff 32), timestamp: (buff 4), nbits: (buff 4), nonce: (buff 4), height: uint }) (tx {version: (buff 4), ins: (list 8 {outpoint: {hash: (buff 32), index: (buff 4)}, scriptSig: (buff 256), sequence: (buff 4)}), outs: (list 8 {value: (buff 8), scriptPubKey: (buff 128)}), locktime: (buff 4)}) (proof { tx-index: uint, hashes: (list 12 (buff 32)), tree-depth: uint }) (ft )) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID)) (tx-buff (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 concat-tx tx))) (match (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 was-tx-mined block tx-buff proof) result (begin (asserts! result ERR_VERIFICATION_FAILED) (asserts! (is-eq (get done swap) u0) ERR_ALREADY_DONE) (match (get out (unwrap! (get-out-value tx (get btc-receiver swap)) ERR_NATIVE_FAILURE)) out (if (>= (get value out) (get sats swap)) (begin (asserts! (is-eq (contract-of ft) (get ft swap)) ERR_INVALID_FUNGIBLE_TOKEN) (asserts! (map-set swaps id (merge swap {done: u1})) ERR_NATIVE_FAILURE) (as-contract (contract-call? ft transfer (get amount swap) tx-sender (unwrap! (get ft-receiver swap) ERR_NO_FT_RECEIVER) (some 0x636174616d6172616e2073776170)))) ERR_TX_VALUE_TOO_SMALL) ERR_TX_NOT_FOR_RECEIVER)) error (err (* error u1000))))) (define-constant ERR_VERIFICATION_FAILED (err u1)) (define-constant ERR_FAILED_TO_PARSE_TX (err u2)) (define-constant ERR_INVALID_ID (err u3)) (define-constant ERR_TOO_EARLY (err u4)) (define-constant ERR_TX_VALUE_TOO_SMALL (err u5)) (define-constant ERR_TX_NOT_FOR_RECEIVER (err u6)) (define-constant ERR_ALREADY_DONE (err u7)) (define-constant ERR_INVALID_FUNGIBLE_TOKEN (err u8)) (define-constant ERR_NO_FT_RECEIVER (err u9)) (define-constant ERR_NATIVE_FAILURE (err u99)) \",\n \"abi\": \"{\\\"maps\\\":[{\\\"key\\\":\\\"uint128\\\",\\\"name\\\":\\\"swaps\\\",\\\"value\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"btc-receiver\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}},{\\\"name\\\":\\\"done\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"principal\\\"},{\\\"name\\\":\\\"ft-receiver\\\",\\\"type\\\":{\\\"optional\\\":\\\"principal\\\"}},{\\\"name\\\":\\\"ft-sender\\\",\\\"type\\\":\\\"principal\\\"},{\\\"name\\\":\\\"sats\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"when\\\",\\\"type\\\":\\\"uint128\\\"}]}}],\\\"functions\\\":[{\\\"args\\\":[{\\\"name\\\":\\\"entry\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]}},{\\\"name\\\":\\\"result\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]}}],\\\"name\\\":\\\"find-out\\\",\\\"access\\\":\\\"private\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"cancel\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"sats\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"btc-receiver\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}},{\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft-receiver\\\",\\\"type\\\":{\\\"optional\\\":\\\"principal\\\"}},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"create-swap\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"uint128\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"tx\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"ins\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"outpoint\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hash\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"index\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"scriptSig\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":256}}},{\\\"name\\\":\\\"sequence\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"locktime\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"outs\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}],\\\"name\\\":\\\"get-out-value\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]},\\\"error\\\":\\\"none\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"}],\\\"name\\\":\\\"set-ft-receiver\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"block\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"height\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"merkle-root\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"nbits\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"nonce\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"parent\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"timestamp\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"tx\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"ins\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"outpoint\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hash\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"index\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"scriptSig\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":256}}},{\\\"name\\\":\\\"sequence\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"locktime\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"outs\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"proof\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hashes\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}},\\\"length\\\":12}}},{\\\"name\\\":\\\"tree-depth\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"tx-index\\\",\\\"type\\\":\\\"uint128\\\"}]}},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"submit-swap\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}}],\\\"variables\\\":[{\\\"name\\\":\\\"ERR_ALREADY_DONE\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_FAILED_TO_PARSE_TX\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_INVALID_FUNGIBLE_TOKEN\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_INVALID_ID\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_NATIVE_FAILURE\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_NO_FT_RECEIVER\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TOO_EARLY\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TX_NOT_FOR_RECEIVER\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TX_VALUE_TOO_SMALL\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_VERIFICATION_FAILED\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"expiry\\\",\\\"type\\\":\\\"uint128\\\",\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"next-id\\\",\\\"type\\\":\\\"uint128\\\",\\\"access\\\":\\\"variable\\\"}],\\\"fungible_tokens\\\":[],\\\"non_fungible_tokens\\\":[]}\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"893b226c-73e1-462e-97d4-fa09fd78c094","name":"Cannot find contract of given ID","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"78d6d649-cbbe-4228-927e-a42a2e44390c","name":"Get contracts by trait","request":{"name":"Get contracts by trait","description":{"content":"Retrieves a list of contracts based on the following traits listed in JSON format - functions, variables, maps, fungible tokens and non-fungible tokens","type":"text/plain"},"url":{"path":["extended","v1","contract","by_trait"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"trait_abi","value":"conse","description":"(Required) JSON abi of the trait."},{"disabled":false,"key":"limit","value":"-9042377","description":"max number of contracts fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first contract event to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"f015781d-662e-4d94-9f92-4a248fb3a6a9","name":"List of contracts implement given trait","originalRequest":{"url":{"path":["extended","v1","contract","by_trait"],"host":["{{baseUrl}}"],"query":[{"key":"trait_abi","value":"conse"},{"key":"limit","value":"-9042377"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"offset\": 0,\n \"limit\": 10,\n \"result\": [\n {\n \"tx_id\": \"0xb8b822f30a063fda8f9d44a23530a562a1ed93867d5977fbb12b1c284736edbb\",\n \"canonical\": true,\n \"contract_id\": \"SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.btc-ft-swap\",\n \"block_height\": 23131,\n \"source_code\": \"(use-trait fungible-token 'SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.sip-010-trait-ft-standard.sip-010-trait) (define-constant expiry u100) (define-map swaps uint {sats: uint, btc-receiver: (buff 40), amount: uint, ft-receiver: (optional principal), ft-sender: principal, when: uint, done: uint, ft: principal}) (define-data-var next-id uint u0) (define-private (find-out (entry {scriptPubKey: (buff 128), value: (buff 8)}) (result {pubscriptkey: (buff 40), out: (optional {scriptPubKey: (buff 128), value: uint})})) (if (is-eq (get scriptPubKey entry) (get pubscriptkey result)) (merge result {out: (some {scriptPubKey: (get scriptPubKey entry), value: (get uint32 (unwrap-panic (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 read-uint32 {txbuff: (get value entry), index: u0})))})}) result)) (define-public (get-out-value (tx { version: (buff 4), ins: (list 8 {outpoint: {hash: (buff 32), index: (buff 4)}, scriptSig: (buff 256), sequence: (buff 4)}), outs: (list 8 {value: (buff 8), scriptPubKey: (buff 128)}), locktime: (buff 4)}) (pubscriptkey (buff 40))) (ok (fold find-out (get outs tx) {pubscriptkey: pubscriptkey, out: none}))) ;; create a swap between btc and fungible token (define-public (create-swap (sats uint) (btc-receiver (buff 40)) (amount uint) (ft-receiver (optional principal)) (ft )) (let ((id (var-get next-id))) (asserts! (map-insert swaps id {sats: sats, btc-receiver: btc-receiver, amount: amount, ft-receiver: ft-receiver, ft-sender: tx-sender, when: block-height, done: u0, ft: (contract-of ft)}) ERR_INVALID_ID) (var-set next-id (+ id u1)) (match (contract-call? ft transfer amount tx-sender (as-contract tx-sender) (some 0x636174616d6172616e2073776170)) success (ok id) error (err (* error u1000))))) (define-public (set-ft-receiver (id uint)) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID))) (if (is-none (get ft-receiver swap)) (begin (asserts! (map-set swaps id (merge swap {ft-receiver: (some tx-sender)})) ERR_NATIVE_FAILURE) (ok true)) ERR_ALREADY_DONE))) ;; any user can cancle the swap after the expiry period (define-public (cancel (id uint) (ft )) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID))) (asserts! (is-eq (contract-of ft) (get ft swap)) ERR_INVALID_FUNGIBLE_TOKEN) (asserts! (< (+ (get when swap) expiry) block-height) ERR_TOO_EARLY) (asserts! (is-eq (get done swap) u0) ERR_ALREADY_DONE) (asserts! (map-set swaps id (merge swap {done: u1})) ERR_NATIVE_FAILURE) (as-contract (contract-call? ft transfer (get amount swap) tx-sender (get ft-sender swap) (some 0x72657665727420636174616d6172616e2073776170))))) ;; any user can submit a tx that contains the swap (define-public (submit-swap (id uint) (block { version: (buff 4), parent: (buff 32), merkle-root: (buff 32), timestamp: (buff 4), nbits: (buff 4), nonce: (buff 4), height: uint }) (tx {version: (buff 4), ins: (list 8 {outpoint: {hash: (buff 32), index: (buff 4)}, scriptSig: (buff 256), sequence: (buff 4)}), outs: (list 8 {value: (buff 8), scriptPubKey: (buff 128)}), locktime: (buff 4)}) (proof { tx-index: uint, hashes: (list 12 (buff 32)), tree-depth: uint }) (ft )) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID)) (tx-buff (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 concat-tx tx))) (match (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 was-tx-mined block tx-buff proof) result (begin (asserts! result ERR_VERIFICATION_FAILED) (asserts! (is-eq (get done swap) u0) ERR_ALREADY_DONE) (match (get out (unwrap! (get-out-value tx (get btc-receiver swap)) ERR_NATIVE_FAILURE)) out (if (>= (get value out) (get sats swap)) (begin (asserts! (is-eq (contract-of ft) (get ft swap)) ERR_INVALID_FUNGIBLE_TOKEN) (asserts! (map-set swaps id (merge swap {done: u1})) ERR_NATIVE_FAILURE) (as-contract (contract-call? ft transfer (get amount swap) tx-sender (unwrap! (get ft-receiver swap) ERR_NO_FT_RECEIVER) (some 0x636174616d6172616e2073776170)))) ERR_TX_VALUE_TOO_SMALL) ERR_TX_NOT_FOR_RECEIVER)) error (err (* error u1000))))) (define-constant ERR_VERIFICATION_FAILED (err u1)) (define-constant ERR_FAILED_TO_PARSE_TX (err u2)) (define-constant ERR_INVALID_ID (err u3)) (define-constant ERR_TOO_EARLY (err u4)) (define-constant ERR_TX_VALUE_TOO_SMALL (err u5)) (define-constant ERR_TX_NOT_FOR_RECEIVER (err u6)) (define-constant ERR_ALREADY_DONE (err u7)) (define-constant ERR_INVALID_FUNGIBLE_TOKEN (err u8)) (define-constant ERR_NO_FT_RECEIVER (err u9)) (define-constant ERR_NATIVE_FAILURE (err u99)) \",\n \"abi\": \"{\\\"maps\\\":[{\\\"key\\\":\\\"uint128\\\",\\\"name\\\":\\\"swaps\\\",\\\"value\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"btc-receiver\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}},{\\\"name\\\":\\\"done\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"principal\\\"},{\\\"name\\\":\\\"ft-receiver\\\",\\\"type\\\":{\\\"optional\\\":\\\"principal\\\"}},{\\\"name\\\":\\\"ft-sender\\\",\\\"type\\\":\\\"principal\\\"},{\\\"name\\\":\\\"sats\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"when\\\",\\\"type\\\":\\\"uint128\\\"}]}}],\\\"functions\\\":[{\\\"args\\\":[{\\\"name\\\":\\\"entry\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]}},{\\\"name\\\":\\\"result\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]}}],\\\"name\\\":\\\"find-out\\\",\\\"access\\\":\\\"private\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"cancel\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"sats\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"btc-receiver\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}},{\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft-receiver\\\",\\\"type\\\":{\\\"optional\\\":\\\"principal\\\"}},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"create-swap\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"uint128\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"tx\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"ins\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"outpoint\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hash\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"index\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"scriptSig\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":256}}},{\\\"name\\\":\\\"sequence\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"locktime\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"outs\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}],\\\"name\\\":\\\"get-out-value\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]},\\\"error\\\":\\\"none\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"}],\\\"name\\\":\\\"set-ft-receiver\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"block\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"height\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"merkle-root\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"nbits\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"nonce\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"parent\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"timestamp\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"tx\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"ins\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"outpoint\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hash\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"index\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"scriptSig\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":256}}},{\\\"name\\\":\\\"sequence\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"locktime\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"outs\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"proof\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hashes\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}},\\\"length\\\":12}}},{\\\"name\\\":\\\"tree-depth\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"tx-index\\\",\\\"type\\\":\\\"uint128\\\"}]}},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"submit-swap\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}}],\\\"variables\\\":[{\\\"name\\\":\\\"ERR_ALREADY_DONE\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_FAILED_TO_PARSE_TX\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_INVALID_FUNGIBLE_TOKEN\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_INVALID_ID\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_NATIVE_FAILURE\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_NO_FT_RECEIVER\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TOO_EARLY\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TX_NOT_FOR_RECEIVER\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TX_VALUE_TOO_SMALL\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_VERIFICATION_FAILED\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"expiry\\\",\\\"type\\\":\\\"uint128\\\",\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"next-id\\\",\\\"type\\\":\\\"uint128\\\",\\\"access\\\":\\\"variable\\\"}],\\\"fungible_tokens\\\":[],\\\"non_fungible_tokens\\\":[]}\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"1653ba6e-b4e3-4a6b-87ae-5a3c3cf5a88c","name":"Get contract events","request":{"name":"Get contract events","description":{"content":"Retrieves a list of events that have been triggered by a given `contract_id`","type":"text/plain"},"url":{"path":["extended","v1","contract",":contract_id","events"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"-9042377","description":"max number of contract events to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first contract event to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","auth":null},"response":[{"id":"225db6a2-3284-489d-adf9-d2045b231ce1","name":"List of events","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id","events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-9042377"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"results\": [\n {\n \"event_index\": 1,\n \"event_type\": \"smart_contract_log\",\n \"contract_log\": {\n \"contract_id\": \"ST2P7B9G6Y55QWZJ9B93DVSEG5S6Z4PFJHB3XRKHW.hello_world\",\n \"topic\": \"print\",\n \"value\": {\n \"hex\": \"0x02000000124576656e74212048656c6c6f20776f726c64\",\n \"repr\": \"\\\"Event! Hello world\\\"\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"2a6ae4ff-9634-4246-9088-e488ab1eee30","name":"Get contract interface","request":{"name":"Get contract interface","description":{"content":"Retrieves a contract interface with a given `contract_address` and `contract name`","type":"text/plain"},"url":{"path":["v2","contracts","interface",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"tip","value":"conse","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"satoshibles","key":"contract_name","description":"(Required) Contract name"}]},"method":"GET","auth":null},"response":[{"id":"afa980be-3502-4687-8a62-79189bd0640b","name":"Contract interface","originalRequest":{"url":{"path":["v2","contracts","interface",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"conse"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"satoshibles","key":"contract_name","description":"(Required) Contract name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"functions\": [\n {\n \"name\": \"get-value\",\n \"access\": \"public\",\n \"args\": [\n {\n \"name\": \"key\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n }\n ],\n \"outputs\": {\n \"type\": {\n \"response\": {\n \"ok\": {\n \"buffer\": {\n \"length\": 32\n }\n },\n \"error\": \"int128\"\n }\n }\n }\n },\n {\n \"name\": \"set-value\",\n \"access\": \"public\",\n \"args\": [\n {\n \"name\": \"key\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n },\n {\n \"name\": \"value\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n }\n ],\n \"outputs\": {\n \"type\": {\n \"response\": {\n \"ok\": \"uint128\",\n \"error\": \"none\"\n }\n }\n }\n },\n {\n \"name\": \"test-emit-event\",\n \"access\": \"public\",\n \"args\": [],\n \"outputs\": {\n \"type\": {\n \"response\": {\n \"ok\": \"uint128\",\n \"error\": \"none\"\n }\n }\n }\n },\n {\n \"name\": \"test-event-types\",\n \"access\": \"public\",\n \"args\": [],\n \"outputs\": {\n \"type\": {\n \"response\": {\n \"ok\": \"uint128\",\n \"error\": \"none\"\n }\n }\n }\n }\n ],\n \"variables\": [\n {\n \"name\": \"recipient\",\n \"type\": \"principal\",\n \"access\": \"constant\"\n },\n {\n \"name\": \"sender\",\n \"type\": \"principal\",\n \"access\": \"constant\"\n }\n ],\n \"maps\": [\n {\n \"name\": \"store\",\n \"key\": [\n {\n \"name\": \"key\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n }\n ],\n \"value\": [\n {\n \"name\": \"value\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n }\n ]\n }\n ],\n \"fungible_tokens\": [\n {\n \"name\": \"novel-token-19\"\n }\n ],\n \"non_fungible_tokens\": [\n {\n \"name\": \"hello-nft\",\n \"type\": \"uint128\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5b119a10-396c-49de-bc01-74acecf6b7ca","name":"Get specific data-map inside a contract","request":{"name":"Get specific data-map inside a contract","description":{"content":"Attempt to fetch data from a contract data map. The contract is identified with Stacks Address `contract_address` and Contract Name `contract_address` in the URL path. The map is identified with [Map Name].\n\nThe key to lookup in the map is supplied via the POST body. This should be supplied as the hex string serialization of the key (which should be a Clarity value). Note, this is a JSON string atom.\n\nIn the response, `data` is the hex serialization of the map response. Note that map responses are Clarity option types, for non-existent values, this is a serialized none, and for all other responses, it is a serialized (some ...) object.\n","type":"text/plain"},"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"proof","value":"-9042377","description":"Returns object without the proof field when set to 0"},{"disabled":false,"key":"tip","value":"conse","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"newyorkcitycoin-core-v2","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"approved-contracts","key":"map_name","description":"(Required) Map name"}]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"\"0x0100000000000000000000000000000095\"","options":{"raw":{"language":"json"}}}},"response":[{"id":"ce5df85e-9b98-4e4e-ae8f-cafb8e95d7cc","name":"Success","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"-9042377"},{"key":"tip","value":"conse"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"newyorkcitycoin-core-v2","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"approved-contracts","key":"map_name","description":"(Required) Map name"}]},"method":"POST","body":{"mode":"raw","raw":"\"0x0100000000000000000000000000000095\"","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"data\": \"0x0a0c000000010a6d6f6e737465722d69640100000000000000000000000000000001\",\n \"proof\": \"0x123...\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"14856c0c-4a5a-4fa7-90f5-2f29804bb6e2","name":"Failed loading data map","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"-9042377"},{"key":"tip","value":"conse"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"newyorkcitycoin-core-v2","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"approved-contracts","key":"map_name","description":"(Required) Map name"}]},"method":"POST","body":{"mode":"raw","raw":"\"0x0100000000000000000000000000000095\"","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"d27cd574-5f62-40c7-b456-c0d79b9e6386","name":"Get contract source","request":{"name":"Get contract source","description":{"content":"Retrieves the Clarity source code of a given contract, along with the block height it was published in, and the MARF proof for the data","type":"text/plain"},"url":{"path":["v2","contracts","source",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"proof","value":"-9042377","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"conse","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"satoshibles","key":"contract_name","description":"(Required) Contract name"}]},"method":"GET","auth":null},"response":[{"id":"34f8a81d-e85d-4dac-8bac-44f7b89fc3a8","name":"Success","originalRequest":{"url":{"path":["v2","contracts","source",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"-9042377"},{"key":"tip","value":"conse"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"satoshibles","key":"contract_name","description":"(Required) Contract name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"source\": \"(define-constant sender 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR)\\n(define-constant recipient 'SM2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQVX8X0G)\\n\\n(define-fungible-token novel-token-19)\\n(begin (ft-mint? novel-token-19 u12 sender))\\n(begin (ft-transfer? novel-token-19 u2 sender recipient))\\n\\n(define-non-fungible-token hello-nft uint)\\n(begin (nft-mint? hello-nft u1 sender))\\n(begin (nft-mint? hello-nft u2 sender))\\n(begin (nft-transfer? hello-nft u1 sender recipient))\\n\\n(define-public (test-emit-event)\\n (begin\\n (print \\\"Event! Hello world\\\")\\n (ok u1)))\\n(begin (test-emit-event))\\n\\n(define-public (test-event-types)\\n (begin\\n (unwrap-panic (ft-mint? novel-token-19 u3 recipient))\\n (unwrap-panic (nft-mint? hello-nft u2 recipient))\\n (unwrap-panic (stx-transfer? u60 tx-sender 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR))\\n (unwrap-panic (stx-burn? u20 tx-sender))\\n (ok u1)))\\n\\n(define-map store ((key (buff 32))) ((value (buff 32))))\\n(define-public (get-value (key (buff 32)))\\n (begin\\n (match (map-get? store ((key key)))\\n entry (ok (get value entry))\\n (err 0))))\\n(define-public (set-value (key (buff 32)) (value (buff 32)))\\n (begin\\n (map-set store ((key key)) ((value value)))\\n (ok u1)))\",\n \"publish_height\": 3196,\n \"proof\": \"0000001104060000001ec4e...\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5eaa2a8a-3fe0-4b70-a459-a0dc6a0b9b0a","name":"Call read-only function","request":{"name":"Call read-only function","description":{"content":"Call a read-only public function on a given smart contract.\n\nThe smart contract and function are specified using the URL path. The arguments and the simulated tx-sender are supplied via the POST body in the following JSON format:\n","type":"text/plain"},"url":{"path":["v2","contracts","call-read",":contract_address",":contract_name",":function_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"tip","value":"conse","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SP187Y7NRSG3T9Z9WTSWNEN3XRV1YSJWS81C7JKV7","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"imaginary-friends-zebras","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"get-token-uri","key":"function_name","description":"(Required) Function name"}]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"sender\": \"STM9EQRAB3QAKF8NKTP15WJT7VHH4EWG3DJB4W29\",\n \"arguments\": [\n \"0x0100000000000000000000000000000095\"\n ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8a43afef-7319-4e4b-bc58-c5ed1a3a3b99","name":"Success","originalRequest":{"url":{"path":["v2","contracts","call-read",":contract_address",":contract_name",":function_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"conse"}],"variable":[{"disabled":false,"type":"any","value":"SP187Y7NRSG3T9Z9WTSWNEN3XRV1YSJWS81C7JKV7","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"imaginary-friends-zebras","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"get-token-uri","key":"function_name","description":"(Required) Function name"}]},"method":"POST","body":{"mode":"raw","raw":"{\n \"sender\": \"STM9EQRAB3QAKF8NKTP15WJT7VHH4EWG3DJB4W29\",\n \"arguments\": [\n \"0x0100000000000000000000000000000095\"\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"okay\": true,\n \"result\": \"0x111...\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"7f4bed9a-464d-4399-bfdb-87b30e0b1ad9","name":"Stacking Rewards","description":{"content":"Read-only endpoints to obtain Stacking reward details","type":"text/plain"},"item":[{"id":"37143de8-9dcd-48b3-857a-b5cf6e8b1840","name":"Get recent reward slot holders","request":{"name":"Get recent reward slot holders","description":{"content":"Retrieves a list of the Bitcoin addresses that would validly receive Proof-of-Transfer commitments.","type":"text/plain"},"url":{"path":["extended","v1","burnchain","reward_slot_holders"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"96","description":"max number of items to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of the first items to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"b526a902-4566-4c97-825f-f39e88f3bf01","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","reward_slot_holders"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"96"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"address\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"slot_index\": 0\n },\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"address\": \"1M3bvWB9CRh5BTumeVxtHDEV6W4S2R9AZw\",\n \"slot_index\": 0\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5cb1b07e-f075-4642-bc63-08593c73e4b3","name":"Get recent reward slot holder entries for the given address","request":{"name":"Get recent reward slot holder entries for the given address","description":{"content":"Retrieves a list of the Bitcoin addresses that would validly receive Proof-of-Transfer commitments for a given reward slot holder recipient address.","type":"text/plain"},"url":{"path":["extended","v1","burnchain","reward_slot_holders",":address"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"-9042377","description":"max number of items to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of the first items to fetch"}],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward slot holder recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","auth":null},"response":[{"id":"d2578747-94fc-4a90-b9ed-4ba58badfbc6","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","reward_slot_holders",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-9042377"},{"key":"offset","value":"42000"}],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward slot holder recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"address\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"slot_index\": 0\n },\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"address\": \"1M3bvWB9CRh5BTumeVxtHDEV6W4S2R9AZw\",\n \"slot_index\": 0\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"157afaba-42af-4f88-bd76-e99c6437a8ef","name":"Get recent burnchain reward recipients","request":{"name":"Get recent burnchain reward recipients","description":{"content":"Retrieves a list of recent burnchain (e.g. Bitcoin) reward recipients with the associated amounts and block info","type":"text/plain"},"url":{"path":["extended","v1","burnchain","rewards"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"96","description":"max number of rewards to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first rewards to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"4af4ab83-d927-4b4c-968a-19f2060fb3f3","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"96"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"results\": [\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"burn_amount\": \"12000\",\n \"reward_recipient\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"reward_amount\": \"5000\",\n \"reward_index\": 0\n },\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 336,\n \"burn_amount\": \"14000\",\n \"reward_recipient\": \"1M3bvWB9CRh5BTumeVxtHDEV6W4S2R9AZw\",\n \"reward_amount\": \"2000\",\n \"reward_index\": 0\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d51584cb-6290-4d60-bfda-4a41d8555b79","name":"Get recent burnchain reward for the given recipient","request":{"name":"Get recent burnchain reward for the given recipient","description":{"content":"Retrieves a list of recent burnchain (e.g. Bitcoin) rewards for the given recipient with the associated amounts and block info","type":"text/plain"},"url":{"path":["extended","v1","burnchain","rewards",":address"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"-9042377","description":"max number of rewards to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first rewards to fetch"}],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","auth":null},"response":[{"id":"0b309a8b-02da-44e1-9cdc-1eb5372ed9f6","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-9042377"},{"key":"offset","value":"42000"}],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"results\": [\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"burn_amount\": \"12000\",\n \"reward_recipient\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"reward_amount\": \"5000\",\n \"reward_index\": 0\n },\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 336,\n \"burn_amount\": \"14000\",\n \"reward_recipient\": \"1M3bvWB9CRh5BTumeVxtHDEV6W4S2R9AZw\",\n \"reward_amount\": \"2000\",\n \"reward_index\": 0\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ea286d99-0a1e-4022-8c54-21863ad1ad61","name":"Get total burnchain rewards for the given recipient","request":{"name":"Get total burnchain rewards for the given recipient","description":{"content":"Retrieves the total burnchain (e.g. Bitcoin) rewards for a given recipient `address`","type":"text/plain"},"url":{"path":["extended","v1","burnchain","rewards",":address","total"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","auth":null},"response":[{"id":"d85c9dde-f9fa-45ce-a86c-f6d732949a86","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards",":address","total"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"reward_recipient\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"reward_amount\": \"18000\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"46b7e920-d573-4a1e-9d63-0aaeac3042f6","name":"Transactions","description":{"content":"Endpoints to obtain transaction details and to broadcast transactions to the network","type":"text/plain"},"item":[{"id":"8b360325-7e3e-4123-bfb2-c0dc24e83106","name":"Get recent transactions","request":{"name":"Get recent transactions","description":{"content":"Retrieves all recently mined transactions\n\nIf using TypeScript, import typings for this response from our types package:\n\n`import type { TransactionResults } from '@stacks/stacks-blockchain-api-types';`\n","type":"text/plain"},"url":{"path":["extended","v1","tx"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"},{"disabled":false,"key":"type","value":"contract_call","description":"Filter by transaction type"},{"disabled":false,"key":"type","value":"coinbase","description":"Filter by transaction type"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"66d0f281-73c8-4061-b8d1-46c495e2165d","name":"List of transactions","originalRequest":{"url":{"path":["extended","v1","tx"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"42000"},{"key":"type","value":"smart_contract"},{"key":"type","value":"poison_microblock"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 10,\n \"offset\": 0,\n \"total\": 101922,\n \"results\": [\n {\n \"tx_id\": \"0x20dedbef812e44d712569224411b27324b68ab4667321a4badd5e81ba76bf0eb\",\n \"nonce\": 269,\n \"fee_rate\": \"0\",\n \"sender_address\": \"SPQXK10DBF5ECAM30XVE3EJA8DNZF3VE0BK4MKV\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"on_chain_only\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x28a9e2749b82bdc058776781a5abd5c9a6efed38f05545a8a51152655b8e1f4b\",\n \"parent_block_hash\": \"0x3789b75ccfe7f2acf85c3f069fd5b8f95f73aba5332fa618243957d1c017a2a3\",\n \"block_height\": 21709,\n \"burn_block_time\": 1626286436,\n \"burn_block_time_iso\": \"2021-07-14T18:13:56.000Z\",\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_status\": \"success\",\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"tx_type\": \"coinbase\",\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"fe62c06c-3db7-454b-846c-f744ee9e83c8","name":"Get mempool transactions","request":{"name":"Get mempool transactions","description":{"content":"Retrieves all transactions that have been recently broadcast to the mempool. These are pending transactions awaiting confirmation.\n\nIf you need to monitor new transactions, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.\n","type":"text/plain"},"url":{"path":["extended","v1","tx","mempool"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"sender_address","value":"SP1GPBP8NBRXDRJBFQBV7KMAZX1Z7W2RFWJEH0V10","description":"Filter to only return transactions with this sender address."},{"disabled":false,"key":"recipient_address","value":"conse","description":"Filter to only return transactions with this recipient address (only applicable for STX transfer tx types)."},{"disabled":false,"key":"address","value":"conse","description":"Filter to only return transactions with this address as the sender or recipient (recipient only applicable for STX transfer tx types)."},{"disabled":false,"key":"limit","value":"20","description":"max number of mempool transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first mempool transaction to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"344b1f27-09fd-457c-ae9e-e524a97e2a52","name":"List of mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool"],"host":["{{baseUrl}}"],"query":[{"key":"sender_address","value":"SP1GPBP8NBRXDRJBFQBV7KMAZX1Z7W2RFWJEH0V10"},{"key":"recipient_address","value":"conse"},{"key":"address","value":"conse"},{"key":"limit","value":"20"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"total\": 5,\n \"results\": [\n {\n \"tx_id\": \"0xb31df5a363dad31723324cb5e0eefa04d491519fd30827a521cbc830114aa50c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598288370,\n \"receipt_time_iso\": \"2020-08-24T16:59:30.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST1GY25DM8RZV4X15X07THRZ2C5NMWPGQWKFGV87F\",\n \"amount\": \"500000\",\n \"memo\": \"0x46617563657400000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x5bed8e3f801cb4e2c74d2815a092f7c1c6a35f2fce4a80c80ca70848d34cb395\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598282326,\n \"receipt_time_iso\": \"2020-08-24T15:18:46.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"ST1PS1KF93VBY5A1JV7TM66KN046KP3E3761DBSAG\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST2H33S8SEY27QKEKQKR6S5PECYPKY45CQYGGQR8X\",\n \"amount\": \"1000\",\n \"memo\": \"0x00000000000000000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x9916036fde08a207e581cdcabc18ff55469861cb81194ab0e3e7c9a02cd5a17c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598258958,\n \"receipt_time_iso\": \"2020-08-24T08:49:18.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8.test-loans-1\",\n \"source_code\": \"(define-data-var stx-loaned int 0)\\n(define-data-var lockup-period int 0)\\n(define-data-var stx-return int 0)\\n(define-public (get-stx-return (stx uint) (months uint))\\n (ok\\n (begin\\n (var-set stx-loaned (to-int(stx))\\n (var-set lockup-period (to-int(months))\\n (calculate-stx-return)\\n (print (var-get stx-return))\\n (transfer-to-server)\\n )\\n )\\n)\\n(define-private (calculate-stx-return)\\n (ok\\n (begin\\n (var-set stx-return (- (+ (* (/ (* (var-get stx-loaned) 5) 100) (var-get lockup-period)) (var-get stx-loaned)) 5))\\n )\\n )\\n)\\n(define-private (transfer-to-server)\\n (begin\\n (unwrap-panic (stx-transfer? (to-uint (var-get stx-loaned)) tx-sender 'ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8))\\n (ok (to-uint (var-get stx-loaned)))\\n )\\n)\"\n }\n },\n {\n \"tx_id\": \"0x871fb186c8d6ac6ede2822c71074d9884b593c0d7f2d0d6e8516e615484d7501\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230365,\n \"receipt_time_iso\": \"2020-08-24T00:52:45.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230358601\",\n \"source_code\": \";; ## CUSTOM FUNCTION TO EXTRACT A SUBSTRING\\n\\n(define-read-only (subs (source (buff 10)) \\n (start int) \\n (end int))\\n (begin\\n (unwrap-panic (if (and (<= 0 start) (<= start 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 0 end) (<= end 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (let ((temp1 (fold subs1 source \\n {start: start, end: end, cursor: 1, data: \\\"\\\"})))\\n (let ((data (get data temp1))) \\n data))))\\n\\n \\n;; Call the function to extract the substring between the bounds:\\n\\n;; (subs \\\"123456789\\\" 2 5)\\n\\n(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int})) \\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp2 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp3 start)\\n (temp4 cursor)\\n (temp5 end))\\n (and (<= temp3 temp4)\\n (<= temp4 temp5)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp2),\\n data: (get data temp2)})))\\n\"\n }\n },\n {\n \"tx_id\": \"0x66df10d99d3a26018f521d60e9f744b083386c73e47ad39c394d570abee55f1f\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230066,\n \"receipt_time_iso\": \"2020-08-24T00:47:46.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230054238\",\n \"source_code\": \"(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int}))\\n (begin\\n (unwrap-panic (if (and (<= 1 (get start acc)) (<= (get start acc) 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 1 (get end acc)) (<= (get end acc) 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (unwrap-panic (if (and (<= 1 (get cursor acc)) (<= (get cursor acc) 10)) (ok 1) (err \\\"Out of bounds: cursor\\\")))\\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp1 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp2 start)\\n (temp3 cursor)\\n (temp4 end))\\n (and (<= temp2 temp3)\\n (<= temp3 temp4)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp1),\\n data: (get data temp1)}))))\\n\"\n }\n },\n {\n \"tx_id\": \"0x7402d8e52204d6c8cba7465e159e79750338c3ee31d4fe6ddef1d4d226304b65\",\n \"nonce\": 1,\n \"fee_rate\": \"227\",\n \"sender_address\": \"SP1HJDP35SSMYP98CG8SHMYHMZDK0A495ZCH6ARYS\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"88884500\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP2J6HSSDYSTM71S0K0KK4YWRKX59JN1AD52M4B59\"\n }\n }\n ],\n \"anchor_mode\": \"any\",\n \"tx_status\": \"pending\",\n \"receipt_time\": 1626286631,\n \"receipt_time_iso\": \"2021-07-14T18:17:11.000Z\",\n \"tx_type\": \"contract_call\",\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000010c00000003046d656d6f020000000e357a62597346716a52336d736b7102746f0516b734e97043840503dc1091661c105d32b7c5c75d047573747801000000000000000000000000054c4514\",\n \"repr\": \"(list (tuple (memo 0x357a62597346716a52336d736b71) (to SP2VK9TBG8E20A0YW228PC70GBMSBFHE7BNVMKB57) (ustx u88884500)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"cc4ef3ba-651e-4c8e-a555-c332ec1860f1","name":"Get dropped mempool transactions","request":{"name":"Get dropped mempool transactions","description":{"content":"Retrieves all recently-broadcast transactions that have been dropped from the mempool.\n\nTransactions are dropped from the mempool if:\n * they were stale and awaiting garbage collection or,\n * were expensive, or\n * were replaced with a new fee\n","type":"text/plain"},"url":{"path":["extended","v1","tx","mempool","dropped"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"96","description":"max number of mempool transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first mempool transaction to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"40e962c0-a2a5-419d-95ef-1bbcc7c620f6","name":"List of dropped mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool","dropped"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"96"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"total\": 5,\n \"results\": [\n {\n \"tx_id\": \"0xb31df5a363dad31723324cb5e0eefa04d491519fd30827a521cbc830114aa50c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598288370,\n \"receipt_time_iso\": \"2020-08-24T16:59:30.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST1GY25DM8RZV4X15X07THRZ2C5NMWPGQWKFGV87F\",\n \"amount\": \"500000\",\n \"memo\": \"0x46617563657400000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x5bed8e3f801cb4e2c74d2815a092f7c1c6a35f2fce4a80c80ca70848d34cb395\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598282326,\n \"receipt_time_iso\": \"2020-08-24T15:18:46.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"ST1PS1KF93VBY5A1JV7TM66KN046KP3E3761DBSAG\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST2H33S8SEY27QKEKQKR6S5PECYPKY45CQYGGQR8X\",\n \"amount\": \"1000\",\n \"memo\": \"0x00000000000000000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x9916036fde08a207e581cdcabc18ff55469861cb81194ab0e3e7c9a02cd5a17c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598258958,\n \"receipt_time_iso\": \"2020-08-24T08:49:18.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8.test-loans-1\",\n \"source_code\": \"(define-data-var stx-loaned int 0)\\n(define-data-var lockup-period int 0)\\n(define-data-var stx-return int 0)\\n(define-public (get-stx-return (stx uint) (months uint))\\n (ok\\n (begin\\n (var-set stx-loaned (to-int(stx))\\n (var-set lockup-period (to-int(months))\\n (calculate-stx-return)\\n (print (var-get stx-return))\\n (transfer-to-server)\\n )\\n )\\n)\\n(define-private (calculate-stx-return)\\n (ok\\n (begin\\n (var-set stx-return (- (+ (* (/ (* (var-get stx-loaned) 5) 100) (var-get lockup-period)) (var-get stx-loaned)) 5))\\n )\\n )\\n)\\n(define-private (transfer-to-server)\\n (begin\\n (unwrap-panic (stx-transfer? (to-uint (var-get stx-loaned)) tx-sender 'ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8))\\n (ok (to-uint (var-get stx-loaned)))\\n )\\n)\"\n }\n },\n {\n \"tx_id\": \"0x871fb186c8d6ac6ede2822c71074d9884b593c0d7f2d0d6e8516e615484d7501\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230365,\n \"receipt_time_iso\": \"2020-08-24T00:52:45.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230358601\",\n \"source_code\": \";; ## CUSTOM FUNCTION TO EXTRACT A SUBSTRING\\n\\n(define-read-only (subs (source (buff 10)) \\n (start int) \\n (end int))\\n (begin\\n (unwrap-panic (if (and (<= 0 start) (<= start 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 0 end) (<= end 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (let ((temp1 (fold subs1 source \\n {start: start, end: end, cursor: 1, data: \\\"\\\"})))\\n (let ((data (get data temp1))) \\n data))))\\n\\n \\n;; Call the function to extract the substring between the bounds:\\n\\n;; (subs \\\"123456789\\\" 2 5)\\n\\n(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int})) \\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp2 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp3 start)\\n (temp4 cursor)\\n (temp5 end))\\n (and (<= temp3 temp4)\\n (<= temp4 temp5)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp2),\\n data: (get data temp2)})))\\n\"\n }\n },\n {\n \"tx_id\": \"0x66df10d99d3a26018f521d60e9f744b083386c73e47ad39c394d570abee55f1f\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230066,\n \"receipt_time_iso\": \"2020-08-24T00:47:46.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230054238\",\n \"source_code\": \"(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int}))\\n (begin\\n (unwrap-panic (if (and (<= 1 (get start acc)) (<= (get start acc) 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 1 (get end acc)) (<= (get end acc) 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (unwrap-panic (if (and (<= 1 (get cursor acc)) (<= (get cursor acc) 10)) (ok 1) (err \\\"Out of bounds: cursor\\\")))\\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp1 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp2 start)\\n (temp3 cursor)\\n (temp4 end))\\n (and (<= temp2 temp3)\\n (<= temp3 temp4)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp1),\\n data: (get data temp1)}))))\\n\"\n }\n },\n {\n \"tx_id\": \"0x7402d8e52204d6c8cba7465e159e79750338c3ee31d4fe6ddef1d4d226304b65\",\n \"nonce\": 1,\n \"fee_rate\": \"227\",\n \"sender_address\": \"SP1HJDP35SSMYP98CG8SHMYHMZDK0A495ZCH6ARYS\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"88884500\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP2J6HSSDYSTM71S0K0KK4YWRKX59JN1AD52M4B59\"\n }\n }\n ],\n \"anchor_mode\": \"any\",\n \"tx_status\": \"pending\",\n \"receipt_time\": 1626286631,\n \"receipt_time_iso\": \"2021-07-14T18:17:11.000Z\",\n \"tx_type\": \"contract_call\",\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000010c00000003046d656d6f020000000e357a62597346716a52336d736b7102746f0516b734e97043840503dc1091661c105d32b7c5c75d047573747801000000000000000000000000054c4514\",\n \"repr\": \"(list (tuple (memo 0x357a62597346716a52336d736b71) (to SP2VK9TBG8E20A0YW228PC70GBMSBFHE7BNVMKB57) (ustx u88884500)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"2412fba5-3484-419e-abad-49f8c5d3cf62","name":"Get statistics for mempool transactions","request":{"name":"Get statistics for mempool transactions","description":{"content":"Queries for transactions counts, age (by block height), fees (simple average), and size.\nAll results broken down by transaction type and percentiles (p25, p50, p75, p95).\n","type":"text/plain"},"url":{"path":["extended","v1","tx","mempool","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"f9eccd48-981a-4b2e-b7b8-eddd2045b13d","name":"Statistics for mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"tx_type_counts\": {\n \"token_transfer\": 130,\n \"smart_contract\": 2,\n \"contract_call\": 310,\n \"poison_microblock\": 0\n },\n \"tx_simple_fee_averages\": {\n \"token_transfer\": {\n \"p25\": 3000,\n \"p50\": 3000,\n \"p75\": 6000,\n \"p95\": 401199.9999999995\n },\n \"smart_contract\": {\n \"p25\": 837500,\n \"p50\": 925000,\n \"p75\": 1012500,\n \"p95\": 1082500\n },\n \"contract_call\": {\n \"p25\": 3000,\n \"p50\": 10368,\n \"p75\": 100000,\n \"p95\": 1000000\n },\n \"poison_microblock\": {\n \"p25\": null,\n \"p50\": null,\n \"p75\": null,\n \"p95\": null\n }\n },\n \"tx_ages\": {\n \"token_transfer\": {\n \"p25\": 167.5,\n \"p50\": 45,\n \"p75\": 1,\n \"p95\": 0\n },\n \"smart_contract\": {\n \"p25\": 185.5,\n \"p50\": 129,\n \"p75\": 72.5,\n \"p95\": 27.30000000000001\n },\n \"contract_call\": {\n \"p25\": 189,\n \"p50\": 127.5,\n \"p75\": 9.5,\n \"p95\": 0\n },\n \"poison_microblock\": {\n \"p25\": null,\n \"p50\": null,\n \"p75\": null,\n \"p95\": null\n }\n },\n \"tx_byte_sizes\": {\n \"token_transfer\": {\n \"p25\": 180,\n \"p50\": 180,\n \"p75\": 180,\n \"p95\": 180\n },\n \"smart_contract\": {\n \"p25\": 706.75,\n \"p50\": 814.5,\n \"p75\": 922.25,\n \"p95\": 1008.45\n },\n \"contract_call\": {\n \"p25\": 291,\n \"p50\": 435,\n \"p75\": 462,\n \"p95\": 597\n },\n \"poison_microblock\": {\n \"p25\": null,\n \"p50\": null,\n \"p75\": null,\n \"p95\": null\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"30ce1de2-2fbc-4cb7-9dde-210238f62dd1","name":"Get list of details for transactions","request":{"name":"Get list of details for transactions","description":{"content":"Retrieves a list of transactions for a given list of transaction IDs\n\nIf using TypeScript, import typings for this response from our types package:\n\n`import type { Transaction } from '@stacks/stacks-blockchain-api-types';`\n","type":"text/plain"},"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"tx_id","value":"aliqua minim anim et","description":"(Required) Array of transaction ids"},{"disabled":false,"key":"tx_id","value":"nostrud laborum ullamco in","description":"(Required) Array of transaction ids"},{"disabled":false,"key":"event_offset","value":"0","description":"The number of events to skip"},{"disabled":false,"key":"event_limit","value":"96","description":"The numbers of events to return"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"9a257a6d-0b37-4fc2-8704-f27ad3b3eea1","name":"Returns list of transactions with their details for corresponding requested tx_ids.","originalRequest":{"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"ut veniam"},{"key":"tx_id","value":"aliquip aliqua"},{"key":"event_offset","value":"0"},{"key":"event_limit","value":"96"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"0x8911000000000000000000000000000000000000000000000000000000000000\": {\n \"found\": true,\n \"result\": {\n \"tx_id\": \"0x8911000000000000000000000000000000000000000000000000000000000000\",\n \"nonce\": 0,\n \"fee_rate\": \"1234\",\n \"sender_address\": \"sender-addr\",\n \"sponsored\": true,\n \"sponsor_address\": \"sponsor-addr\",\n \"post_condition_mode\": \"allow\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x0123\",\n \"parent_block_hash\": \"0x5678\",\n \"block_height\": 0,\n \"burn_block_time\": 39486,\n \"burn_block_time_iso\": \"1970-01-01T10:58:06.000Z\",\n \"parent_burn_block_time\": 1626122935,\n \"parent_burn_block_time_iso\": \"2021-07-12T20:48:55.000Z\",\n \"canonical\": true,\n \"tx_index\": 4,\n \"tx_status\": \"success\",\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"execution_cost_read_count\": 0,\n \"execution_cost_read_length\": 0,\n \"execution_cost_runtime\": 0,\n \"execution_cost_write_count\": 0,\n \"execution_cost_write_length\": 0,\n \"tx_type\": \"coinbase\"\n }\n },\n \"0x8915000000000000000000000000000000000000000000000000000000000000\": {\n \"found\": true,\n \"result\": {\n \"tx_id\": \"0x8915000000000000000000000000000000000000000000000000000000000000\",\n \"nonce\": 1000,\n \"fee_rate\": \"1234\",\n \"sender_address\": \"sender-addr\",\n \"sponsored\": true,\n \"sponsor_address\": \"sponsor-addr\",\n \"post_condition_mode\": \"allow\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x0123\",\n \"parent_block_hash\": \"0x5678\",\n \"block_height\": 0,\n \"burn_block_time\": 39486,\n \"burn_block_time_iso\": \"1970-01-01T10:58:06.000Z\",\n \"parent_burn_block_time\": 1626122935,\n \"parent_burn_block_time_iso\": \"2021-07-12T20:48:55.000Z\",\n \"canonical\": true,\n \"tx_index\": 4,\n \"tx_status\": \"success\",\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"execution_cost_read_count\": 0,\n \"execution_cost_read_length\": 0,\n \"execution_cost_runtime\": 0,\n \"execution_cost_write_count\": 0,\n \"execution_cost_write_length\": 0,\n \"tx_type\": \"coinbase\"\n }\n },\n \"0x8912000000000000000000000000000000000000000000000000000000000000\": {\n \"found\": true,\n \"result\": {\n \"tx_id\": \"0x8912000000000000000000000000000000000000000000000000000000000000\",\n \"nonce\": 0,\n \"fee_rate\": \"1234\",\n \"sender_address\": \"sender-addr\",\n \"sponsored\": false,\n \"post_condition_mode\": \"allow\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"tx_status\": \"pending\",\n \"receipt_time\": 1594307695,\n \"receipt_time_iso\": \"2020-07-09T15:14:55.000Z\",\n \"tx_type\": \"coinbase\"\n }\n },\n \"0x8914000000000000000000000000000000000000000000000000000000000000\": {\n \"found\": false,\n \"result\": {\n \"tx_id\": \"0x8914000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bdf6c284-3c8c-4b15-843e-015deabbf4ce","name":"Could not find any transaction by ID","originalRequest":{"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"ut veniam"},{"key":"tx_id","value":"aliquip aliqua"},{"key":"event_offset","value":"0"},{"key":"event_limit","value":"96"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"d94f30e9-90f7-4fbf-b5a3-b87f0620d709","name":"Get transaction","request":{"name":"Get transaction","description":{"content":"Retrieves transaction details for a given transaction ID\n\n`import type { Transaction } from '@stacks/stacks-blockchain-api-types';`\n","type":"text/plain"},"url":{"path":["extended","v1","tx",":tx_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"event_offset","value":"0","description":"The number of events to skip"},{"disabled":false,"key":"event_limit","value":"96","description":"The numbers of events to return"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","auth":null},"response":[{"id":"bc1f70e1-2fdc-4186-9763-1790f2cc7bb7","name":"Transaction","originalRequest":{"url":{"path":["extended","v1","tx",":tx_id"],"host":["{{baseUrl}}"],"query":[{"key":"event_offset","value":"0"},{"key":"event_limit","value":"96"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"tx_id\": \"0x5e9f3933e358df6a73fec0d47ce3e1062c20812c129f5294e6f37a8d27c051d9\",\n \"tx_status\": \"success\",\n \"tx_type\": \"coinbase\",\n \"fee_rate\": \"0\",\n \"sender_address\": \"ST3WCQ6S0DFT7YHF53M8JPKGDS1N1GSSR91677XF1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"is_unanchored\": false,\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"block_hash\": \"0x58412b50266debd0c35b1a20348ad9c0f17e5525fb155a97033256c83c9e2491\",\n \"block_height\": 3231,\n \"burn_block_time\": 1594230455,\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_result\": {\n \"hex\": \"0x03\",\n \"repr\": \"true\"\n },\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1015d55f-7542-4421-aad6-85c341bda2f6","name":"Cannot find transaction for given ID","originalRequest":{"url":{"path":["extended","v1","tx",":tx_id"],"host":["{{baseUrl}}"],"query":[{"key":"event_offset","value":"0"},{"key":"event_limit","value":"96"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"bbf9fb9a-4f81-4157-9d24-fb51f5f46993","name":"Get Raw Transaction","request":{"name":"Get Raw Transaction","description":{"content":"Retrieves a hex encoded serialized transaction for a given ID\n","type":"text/plain"},"url":{"path":["extended","v1","tx",":tx_id","raw"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","auth":null},"response":[{"id":"18a6a643-87c4-4c6c-be85-a41f52aa06bd","name":"Hex encoded serialized transaction","originalRequest":{"url":{"path":["extended","v1","tx",":tx_id","raw"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"raw_tx\": \"0x1234\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d82fc763-bbcc-4a98-a1fa-115016cd516e","name":"Cannot find transaction for given ID","originalRequest":{"url":{"path":["extended","v1","tx",":tx_id","raw"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"d7e2e9c6-8349-412b-a0e8-0ddbf1640c4e","name":"Broadcast raw transaction","request":{"name":"Broadcast raw transaction","description":{"content":"Broadcasts raw transactions on the network. You can use the [@stacks/transactions](https://github.com/blockstack/stacks.js) project to generate a raw transaction payload.","type":"text/plain"},"url":{"path":["v2","transactions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/octet-stream"}],"method":"POST","auth":null,"body":{"mode":"file"}},"response":[{"id":"c4d51db2-97de-4c38-af25-2fa56f09985c","name":"Transaction id of successful post of a raw tx to the node's mempool","originalRequest":{"url":{"path":["v2","transactions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"file"}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"e161978626f216b2141b156ade10501207ae535fa365a13ef5d7a7c9310a09f2","cookie":[],"_postman_previewlanguage":"text"},{"id":"41484063-004a-4599-9271-b7e6fd1d2224","name":"Rejections result in a 400 error","originalRequest":{"url":{"path":["v2","transactions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"file"}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"transaction rejected\",\n \"reason\": \"BadNonce\",\n \"reason_data\": {\n \"actual\": 4,\n \"expected\": 0,\n \"is_origin\": true,\n \"principal\": \"ST2ZRX0K27GW0SP3GJCEMHD95TQGJMKB7G9Y0X1MH\"\n },\n \"txid\": \"caf6fd60ae05b0c2d19ef14ab6a7670b1095d117fa7c80224c74e76214d0a791\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"a68b714b-8bfe-4e42-ab24-32eed3324c8a","name":"Transactions by block hash","request":{"name":"Transactions by block hash","description":{"content":"Retrieves a list of all transactions within a block for a given block hash.","type":"text/plain"},"url":{"path":["extended","v1","tx","block",":block_hash"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"10","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"}],"variable":[{"disabled":false,"type":"any","value":"0x0a83d82a65460a9e711f85a44616350280040b75317dbe486a923c1131b5ff99","key":"block_hash","description":"(Required) Hash of block"}]},"method":"GET","auth":null},"response":[{"id":"dcc436a9-3881-405f-8cc2-39fc08d927d8","name":"List of Transactions","originalRequest":{"url":{"path":["extended","v1","tx","block",":block_hash"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"42000"}],"variable":[{"disabled":false,"type":"any","value":"0x0a83d82a65460a9e711f85a44616350280040b75317dbe486a923c1131b5ff99","key":"block_hash","description":"(Required) Hash of block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 10,\n \"offset\": 0,\n \"total\": 101922,\n \"results\": [\n {\n \"tx_id\": \"0x20dedbef812e44d712569224411b27324b68ab4667321a4badd5e81ba76bf0eb\",\n \"nonce\": 269,\n \"fee_rate\": \"0\",\n \"sender_address\": \"SPQXK10DBF5ECAM30XVE3EJA8DNZF3VE0BK4MKV\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"on_chain_only\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x28a9e2749b82bdc058776781a5abd5c9a6efed38f05545a8a51152655b8e1f4b\",\n \"parent_block_hash\": \"0x3789b75ccfe7f2acf85c3f069fd5b8f95f73aba5332fa618243957d1c017a2a3\",\n \"block_height\": 21709,\n \"burn_block_time\": 1626286436,\n \"burn_block_time_iso\": \"2021-07-14T18:13:56.000Z\",\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_status\": \"success\",\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"tx_type\": \"coinbase\",\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"09ce988a-052a-415f-a974-e6499758f403","name":"Transactions by block height","request":{"name":"Transactions by block height","description":{"content":"Retrieves all transactions within a block at a given height","type":"text/plain"},"url":{"path":["extended","v1","tx","block_height",":height"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"10","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"66119","key":"height","description":"(Required) Height of block"}]},"method":"GET","auth":null},"response":[{"id":"bd2d14cf-be1c-4336-b2fb-e19eac3e2ab5","name":"List of Transactions","originalRequest":{"url":{"path":["extended","v1","tx","block_height",":height"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"66119","key":"height","description":"(Required) Height of block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 10,\n \"offset\": 0,\n \"total\": 101922,\n \"results\": [\n {\n \"tx_id\": \"0x20dedbef812e44d712569224411b27324b68ab4667321a4badd5e81ba76bf0eb\",\n \"nonce\": 269,\n \"fee_rate\": \"0\",\n \"sender_address\": \"SPQXK10DBF5ECAM30XVE3EJA8DNZF3VE0BK4MKV\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"on_chain_only\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x28a9e2749b82bdc058776781a5abd5c9a6efed38f05545a8a51152655b8e1f4b\",\n \"parent_block_hash\": \"0x3789b75ccfe7f2acf85c3f069fd5b8f95f73aba5332fa618243957d1c017a2a3\",\n \"block_height\": 21709,\n \"burn_block_time\": 1626286436,\n \"burn_block_time_iso\": \"2021-07-14T18:13:56.000Z\",\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_status\": \"success\",\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"tx_type\": \"coinbase\",\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"3b9d708e-9746-47ec-8526-9b60eb4f7736","name":"Transactions for address","request":{"name":"Transactions for address","description":{"content":"Retrieves all transactions for a given address that are currently in mempool","type":"text/plain"},"url":{"path":["extended","v1","address",":address","mempool"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"90","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"SP197DVH8KTJGX4STM61QN0WJV8Y9QJWXV83ZGNR9","key":"address","description":"(Required) Transactions for the address"}]},"method":"GET","auth":null},"response":[{"id":"f53b713a-14ca-4081-988b-be45d5410b4a","name":"List of Transactions","originalRequest":{"url":{"path":["extended","v1","address",":address","mempool"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"90"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"SP197DVH8KTJGX4STM61QN0WJV8Y9QJWXV83ZGNR9","key":"address","description":"(Required) Transactions for the address"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"total\": 5,\n \"results\": [\n {\n \"tx_id\": \"0xb31df5a363dad31723324cb5e0eefa04d491519fd30827a521cbc830114aa50c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598288370,\n \"receipt_time_iso\": \"2020-08-24T16:59:30.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST1GY25DM8RZV4X15X07THRZ2C5NMWPGQWKFGV87F\",\n \"amount\": \"500000\",\n \"memo\": \"0x46617563657400000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x5bed8e3f801cb4e2c74d2815a092f7c1c6a35f2fce4a80c80ca70848d34cb395\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598282326,\n \"receipt_time_iso\": \"2020-08-24T15:18:46.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"ST1PS1KF93VBY5A1JV7TM66KN046KP3E3761DBSAG\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST2H33S8SEY27QKEKQKR6S5PECYPKY45CQYGGQR8X\",\n \"amount\": \"1000\",\n \"memo\": \"0x00000000000000000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x9916036fde08a207e581cdcabc18ff55469861cb81194ab0e3e7c9a02cd5a17c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598258958,\n \"receipt_time_iso\": \"2020-08-24T08:49:18.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8.test-loans-1\",\n \"source_code\": \"(define-data-var stx-loaned int 0)\\n(define-data-var lockup-period int 0)\\n(define-data-var stx-return int 0)\\n(define-public (get-stx-return (stx uint) (months uint))\\n (ok\\n (begin\\n (var-set stx-loaned (to-int(stx))\\n (var-set lockup-period (to-int(months))\\n (calculate-stx-return)\\n (print (var-get stx-return))\\n (transfer-to-server)\\n )\\n )\\n)\\n(define-private (calculate-stx-return)\\n (ok\\n (begin\\n (var-set stx-return (- (+ (* (/ (* (var-get stx-loaned) 5) 100) (var-get lockup-period)) (var-get stx-loaned)) 5))\\n )\\n )\\n)\\n(define-private (transfer-to-server)\\n (begin\\n (unwrap-panic (stx-transfer? (to-uint (var-get stx-loaned)) tx-sender 'ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8))\\n (ok (to-uint (var-get stx-loaned)))\\n )\\n)\"\n }\n },\n {\n \"tx_id\": \"0x871fb186c8d6ac6ede2822c71074d9884b593c0d7f2d0d6e8516e615484d7501\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230365,\n \"receipt_time_iso\": \"2020-08-24T00:52:45.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230358601\",\n \"source_code\": \";; ## CUSTOM FUNCTION TO EXTRACT A SUBSTRING\\n\\n(define-read-only (subs (source (buff 10)) \\n (start int) \\n (end int))\\n (begin\\n (unwrap-panic (if (and (<= 0 start) (<= start 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 0 end) (<= end 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (let ((temp1 (fold subs1 source \\n {start: start, end: end, cursor: 1, data: \\\"\\\"})))\\n (let ((data (get data temp1))) \\n data))))\\n\\n \\n;; Call the function to extract the substring between the bounds:\\n\\n;; (subs \\\"123456789\\\" 2 5)\\n\\n(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int})) \\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp2 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp3 start)\\n (temp4 cursor)\\n (temp5 end))\\n (and (<= temp3 temp4)\\n (<= temp4 temp5)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp2),\\n data: (get data temp2)})))\\n\"\n }\n },\n {\n \"tx_id\": \"0x66df10d99d3a26018f521d60e9f744b083386c73e47ad39c394d570abee55f1f\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230066,\n \"receipt_time_iso\": \"2020-08-24T00:47:46.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230054238\",\n \"source_code\": \"(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int}))\\n (begin\\n (unwrap-panic (if (and (<= 1 (get start acc)) (<= (get start acc) 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 1 (get end acc)) (<= (get end acc) 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (unwrap-panic (if (and (<= 1 (get cursor acc)) (<= (get cursor acc) 10)) (ok 1) (err \\\"Out of bounds: cursor\\\")))\\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp1 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp2 start)\\n (temp3 cursor)\\n (temp4 end))\\n (and (<= temp2 temp3)\\n (<= temp3 temp4)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp1),\\n data: (get data temp1)}))))\\n\"\n }\n },\n {\n \"tx_id\": \"0x7402d8e52204d6c8cba7465e159e79750338c3ee31d4fe6ddef1d4d226304b65\",\n \"nonce\": 1,\n \"fee_rate\": \"227\",\n \"sender_address\": \"SP1HJDP35SSMYP98CG8SHMYHMZDK0A495ZCH6ARYS\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"88884500\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP2J6HSSDYSTM71S0K0KK4YWRKX59JN1AD52M4B59\"\n }\n }\n ],\n \"anchor_mode\": \"any\",\n \"tx_status\": \"pending\",\n \"receipt_time\": 1626286631,\n \"receipt_time_iso\": \"2021-07-14T18:17:11.000Z\",\n \"tx_type\": \"contract_call\",\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000010c00000003046d656d6f020000000e357a62597346716a52336d736b7102746f0516b734e97043840503dc1091661c105d32b7c5c75d047573747801000000000000000000000000054c4514\",\n \"repr\": \"(list (tuple (memo 0x357a62597346716a52336d736b71) (to SP2VK9TBG8E20A0YW228PC70GBMSBFHE7BNVMKB57) (ustx u88884500)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"6cab13c8-45f9-4554-a16a-e4211f331436","name":"Transaction Events","request":{"name":"Transaction Events","description":{"content":"Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is ('smart_contract_log', 'stx_lock', 'stx_asset', 'fungible_token_asset', 'non_fungible_token_asset').","type":"text/plain"},"url":{"path":["extended","v1","tx","events"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"tx_id","value":"0x29e25515652dad41ef675bd0670964e3d537b80ec19cf6ca6f1dd65d5bc642c5","description":"Hash of transaction"},{"disabled":false,"key":"address","value":"ST1HB64MAJ1MBV4CQ80GF01DZS4T1DSMX20ADCRA4","description":"Stacks address or a Contract identifier"},{"disabled":false,"key":"limit","value":"100","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"type","value":"fungible_token_asset","description":"Filter the events on event type"},{"disabled":false,"key":"type","value":"non_fungible_token_asset","description":"Filter the events on event type"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"ba824b35-4b88-4b61-bf6f-e230a65e7024","name":"Success","originalRequest":{"url":{"path":["extended","v1","tx","events"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"0x29e25515652dad41ef675bd0670964e3d537b80ec19cf6ca6f1dd65d5bc642c5"},{"key":"address","value":"ST1HB64MAJ1MBV4CQ80GF01DZS4T1DSMX20ADCRA4"},{"key":"limit","value":"100"},{"key":"offset","value":"42000"},{"key":"type","value":"stx_asset"},{"key":"type","value":"stx_asset"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"events\": [\n {\n \"event_index\": 0,\n \"event_type\": \"non_fungible_token_asset\",\n \"tx_id\": \"0x05ccc123db703a2808afaaf88b6b3240f14391d14fde701bd20d7206c9133af6\",\n \"asset\": {\n \"asset_event_type\": \"transfer\",\n \"asset_id\": \"ST000000000000000000002AMW42H.bns::names\",\n \"sender\": \"STKVDRCTN8C81T22QHR9PG9GPD3V3WPQYBYFHPT4\",\n \"recipient\": \"STRWN68C36Z7WTDD1TJERTAZ4SXDRMMDB29M4VNQ\",\n \"value\": {\n \"hex\": \"0x0c00000002046e616d65020000000a62696c616c7465737435096e616d6573706163650200000003627463\",\n \"repr\": \"(tuple (name 0x62696c616c7465737435) (namespace 0x627463))\"\n }\n }\n },\n {\n \"event_index\": 1,\n \"event_type\": \"smart_contract_log\",\n \"tx_id\": \"0x05ccc123db703a2808afaaf88b6b3240f14391d14fde701bd20d7206c9133af6\",\n \"contract_log\": {\n \"contract_id\": \"ST000000000000000000002AMW42H.bns\",\n \"topic\": \"print\",\n \"value\": {\n \"hex\": \"0x0c000000010a6174746163686d656e740c00000003106174746163686d656e742d696e646578010000000000000000000000000000028304686173680200000014b472a266d0bd89c13706a4132ccfb16f7c3b9fcb086d657461646174610c00000004046e616d65020000000a62696c616c7465737435096e616d6573706163650200000003627463026f700d0000000d6e616d652d7472616e736665720974782d73656e646572051a27b6e19aaa1880e842bc709b4130b347b1f2d7f2\",\n \"repr\": \"(tuple (attachment (tuple (attachment-index u643) (hash 0xb472a266d0bd89c13706a4132ccfb16f7c3b9fcb) (metadata (tuple (name 0x62696c616c7465737435) (namespace 0x627463) (op \\\"name-transfer\\\") (tx-sender STKVDRCTN8C81T22QHR9PG9GPD3V3WPQYBYFHPT4))))))\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"c9aac3bc-81b6-45ca-b913-ad867be0d384","name":"Stacking","description":{"content":"","type":"text/plain"},"item":[{"id":"060ba1ba-6dcf-4d3b-8ac8-a74b581d62e1","name":"Stacking pool members","request":{"name":"Stacking pool members","description":{"content":"Retrieves the list of stacking pool members for a given delegator principal.","type":"text/plain"},"url":{"path":["extended","beta","stacking",":pool_principal","delegations"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"after_block","value":"-9042377","description":"If specified, only delegation events after the given block will be included"},{"disabled":false,"key":"unanchored","value":"true","description":"whether or not to include Stackers from unconfirmed transactions"},{"disabled":false,"key":"limit","value":"100","description":"number of items to return"},{"disabled":false,"key":"offset","value":"300","description":"number of items to skip"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"pool_principal","description":"(Required) Address principal of the stacking pool delegator"}]},"method":"GET","auth":null},"response":[{"id":"fca50c7c-ae92-44ae-8b0b-276221160820","name":"Success","originalRequest":{"url":{"path":["extended","beta","stacking",":pool_principal","delegations"],"host":["{{baseUrl}}"],"query":[{"key":"after_block","value":"-9042377"},{"key":"unanchored","value":"true"},{"key":"limit","value":"100"},{"key":"offset","value":"300"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"pool_principal","description":"(Required) Address principal of the stacking pool delegator"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 200,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"stacker\": \"SPDGWQ60E1QXTC6E4VHKK0NG34EAX554WDFFFHMF\",\n \"pox_addr\": \"bc1qxhmdufsvnuaaaer4ynz88fspdsxq2h9e9cetdj\",\n \"amount_ustx\": \"2062697998\",\n \"burn_block_unlock_height\": 781984,\n \"block_height\": 65917,\n \"tx_id\": \"0x3c81cd26ed172a7e552ed245b8b290abefa4f82dfc610a0091ac91c2eed7f9e6\"\n },\n {\n \"stacker\": \"SP7RNXF7YBSS43TECXTHF7W1MAB221WWW8RKPGSN\",\n \"pox_addr\": \"1Di1YoMov6Ua3gPedfQz7TkP6iTLqbPUzi\",\n \"amount_ustx\": \"4815793194\",\n \"block_height\": 65910,\n \"tx_id\": \"0x1692cd26ed172a7e552ed245b8b290abefa4f82dfc610a0091ac91c2eed7f9e6\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]}],"event":[],"variable":[{"type":"string","value":"https://api.mainnet.hiro.so/","key":"baseUrl"}],"info":{"_postman_id":"a6e11f1c-413d-4e0d-a3d3-496d05b75c74","name":"Stacks Blockchain API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"Welcome to the API reference overview for the Stacks Blockchain API.\n\nDownload Postman collection\n","type":"text/plain"}}} \ No newline at end of file +{"item":[{"id":"70ecc2a6-596a-4a24-ba99-64f7e5008883","name":"Accounts","description":{"content":"Read-only endpoints to obtain Stacks account details","type":"text/plain"},"item":[{"id":"58d4bd6a-e076-42ab-9c55-666016e14927","name":"Get account balances","request":{"name":"Get account balances","description":{"content":"Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","balances"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"aliquip ad pariatur aute","description":"returned data representing the state up until that point in time, rather than the current block."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"ebb7f532-fc9b-4646-97ca-6d15b224bb4f","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","balances"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"aliquip ad pariatur aute"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"stx\": {\n \"balance\": \"1000000\",\n \"total_sent\": \"0\",\n \"total_received\": \"1000000\",\n \"lock_tx_id\": \"0xec94e7d20af8979b44d17a0520c126bf742b999a0fc7ddbcbe0ab21b228ecc8c\",\n \"locked\": \"50000\",\n \"lock_height\": 100,\n \"burnchain_lock_height\": 100,\n \"burnchain_unlock_height\": 200\n },\n \"fungible_tokens\": {},\n \"non_fungible_tokens\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"43c47f70-a5ee-4d0b-b09a-4d2091cf61b9","name":"Get account STX balance","request":{"name":"Get account STX balance","description":{"content":"Retrieves STX token balance for a given Address or Contract Identifier.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","stx"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks."},{"disabled":false,"key":"until_block","value":"aliquip ad pariatur aute","description":"returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier."}]},"method":"GET","auth":null},"response":[{"id":"329074e0-00d9-4370-9fb7-c3ff5236b2a5","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"aliquip ad pariatur aute"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier."}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"balance\": \"1000000\",\n \"total_sent\": \"0\",\n \"total_received\": \"1000000\",\n \"lock_tx_id\": \"0xec94e7d20af8979b44d17a0520c126bf742b999a0fc7ddbcbe0ab21b228ecc8c\",\n \"locked\": \"50000\",\n \"lock_height\": 100,\n \"burnchain_lock_height\": 100,\n \"burnchain_unlock_height\": 200\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9b70e6ec-9ec3-4f77-b544-ced5b7fb6b80","name":"Get account transactions","request":{"name":"Get account transactions","description":{"content":"Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).\n\nIf you need to actively monitor new transactions for an address or contract id, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.\n","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","transactions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"42000","description":"max number of account transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first account transaction to fetch"},{"disabled":false,"key":"height","value":"42000","description":"Filter for transactions only at this given block height"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"aliquip ad pariatur aute","description":"returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"481572bb-376f-4f41-998b-ea9f5d5eae4e","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","transactions"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"42000"},{"key":"offset","value":"42000"},{"key":"height","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"aliquip ad pariatur aute"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 4989,\n \"results\": [\n {\n \"tx_id\": \"0xb16077b94222bc1466396d30df13db460864e85ce929a20aae0a2ac80b31e4e2\",\n \"tx_status\": \"success\",\n \"tx_type\": \"coinbase\",\n \"fee_rate\": \"0\",\n \"sender_address\": \"ST2TJRHDHMYBQ417HFB0BDX430TQA5PXRX6495G1V\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"block_hash\": \"0x83f84f814c1b00ddb672d93b97d06c8326f76746d90a979c12b69e54beb73f69\",\n \"block_height\": 5603,\n \"burn_block_time\": 1594335838,\n \"canonical\": true,\n \"is_unanchored\": false,\n \"microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"microblock_sequence\": 5,\n \"microblock_canonical\": true,\n \"tx_index\": 0,\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"1e0edc2d-2712-4f54-b018-64de4dc5d3ab","name":"Get account transaction information for specific transaction","request":{"name":"Get account transaction information for specific transaction","description":{"content":"Retrieves transaction details for a given Transaction Id `tx_id`, for a given account or contract Identifier.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal",":tx_id","with_transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE","key":"principal","description":"(Required) Stacks address or a contract identifier"},{"disabled":false,"type":"any","value":"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448","key":"tx_id","description":"(Required) Transaction id"}]},"method":"GET","auth":null},"response":[{"id":"056702c3-cee0-4335-b405-6c6e9bebee17","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal",":tx_id","with_transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE","key":"principal","description":"(Required) Stacks address or a contract identifier"},{"disabled":false,"type":"any","value":"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448","key":"tx_id","description":"(Required) Transaction id"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"tx_id\": \"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448\",\n \"tx_type\": \"contract_call\",\n \"nonce\": 11,\n \"fee_rate\": \"346\",\n \"sender_address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"tx_status\": \"success\",\n \"block_hash\": \"0x13d1b4ad35c95bca209397420fb8af104d2929d91993ba056d7a1ca5470095f9\",\n \"block_height\": 3246,\n \"burn_block_time\": 1613009951,\n \"burn_block_time_iso\": \"2021-02-11T02:19:11.000Z\",\n \"canonical\": true,\n \"is_unanchored\": false,\n \"microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"microblock_sequence\": 5,\n \"microblock_canonical\": true,\n \"tx_index\": 1,\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"350\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\"\n }\n }\n ],\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000020c00000003046d656d6f020000000966697273746d656d6f02746f05168c031b2db5895ece0cdfbf76e0b0e8af67226a6f047573747801000000000000000000000000000000960c00000003046d656d6f020000000a7365636f6e646d656d6f02746f05168974da696d74a16d0955bc8e55720dfd39e789cf047573747801000000000000000000000000000000c8\",\n \"repr\": \"(list (tuple (memo 0x66697273746d656d6f) (to SP26066SDPP4NXKGCVYZQDR5GX2QPE8KADZ0YK2J7) (ustx u150)) (tuple (memo 0x7365636f6e646d656d6f) (to SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP) (ustx u200)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n },\n \"events\": [],\n \"event_count\": 4\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0cf25289-d06c-42cd-b43c-7789d1af94d8","name":"Not found","originalRequest":{"url":{"path":["extended","v1","address",":principal",":tx_id","with_transfers"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE","key":"principal","description":"(Required) Stacks address or a contract identifier"},{"disabled":false,"type":"any","value":"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448","key":"tx_id","description":"(Required) Transaction id"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No matching transaction found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d2690484-a836-4a20-9e07-34bf508eac15","name":"Get account transactions including STX transfers for each transaction.","request":{"name":"Get account transactions including STX transfers for each transaction.","description":{"content":"Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","transactions_with_transfers"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"20","description":"max number of account transactions to fetch"},{"disabled":false,"key":"offset","value":"10","description":"index of first account transaction to fetch"},{"disabled":false,"key":"height","value":"66119","description":"Filter for transactions only at this given block height"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"aliquip ad pariatur aute","description":"returned data representing the state up until that point in time, rather than the current block."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"83d20b57-d08b-4dfc-b832-43a07617cb2d","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","transactions_with_transfers"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"20"},{"key":"offset","value":"10"},{"key":"height","value":"66119"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"aliquip ad pariatur aute"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"tx\": {\n \"tx_id\": \"0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448\",\n \"tx_type\": \"contract_call\",\n \"nonce\": 11,\n \"fee_rate\": \"346\",\n \"sender_address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"tx_status\": \"success\",\n \"block_hash\": \"0x13d1b4ad35c95bca209397420fb8af104d2929d91993ba056d7a1ca5470095f9\",\n \"block_height\": 3246,\n \"burn_block_time\": 1613009951,\n \"burn_block_time_iso\": \"2021-02-11T02:19:11.000Z\",\n \"canonical\": true,\n \"is_unanchored\": false,\n \"microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"microblock_sequence\": 5,\n \"microblock_canonical\": true,\n \"tx_index\": 1,\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"350\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\"\n }\n }\n ],\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000020c00000003046d656d6f020000000966697273746d656d6f02746f05168c031b2db5895ece0cdfbf76e0b0e8af67226a6f047573747801000000000000000000000000000000960c00000003046d656d6f020000000a7365636f6e646d656d6f02746f05168974da696d74a16d0955bc8e55720dfd39e789cf047573747801000000000000000000000000000000c8\",\n \"repr\": \"(list (tuple (memo 0x66697273746d656d6f) (to SP26066SDPP4NXKGCVYZQDR5GX2QPE8KADZ0YK2J7) (ustx u150)) (tuple (memo 0x7365636f6e646d656d6f) (to SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP) (ustx u200)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n },\n \"events\": [],\n \"event_count\": 4\n },\n \"stx_sent\": \"696\",\n \"stx_received\": \"0\",\n \"stx_transfers\": [\n {\n \"amount\": \"200\",\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP\"\n },\n {\n \"amount\": \"150\",\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SP26066SDPP4NXKGCVYZQDR5GX2QPE8KADZ0YK2J7\"\n }\n ],\n \"ft_transfers\": [\n {\n \"amount\": \"103\",\n \"asset_identifier\": \"SP466FNC0P7JWTNM2R9T199QRZN1MYEDTAR0KP27.miamicoin-token::miamicoin\",\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP\"\n }\n ],\n \"nft_transfers\": [\n {\n \"asset_identifier\": \"SP497E7RX3233ATBS2AB9G4WTHB63X5PBSP5VGAQ.boom-nfts::boom\",\n \"value\": {\n \"hex\": \"0x00\",\n \"repr\": \"0\"\n },\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP\"\n }\n ]\n },\n {\n \"tx\": {\n \"tx_id\": \"0x628045bff13658396277d618e9a3e4d468a4b3876eff4941d2f13ed88cd7abb7\",\n \"tx_type\": \"token_transfer\",\n \"nonce\": 8,\n \"fee_rate\": \"180\",\n \"sender_address\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"tx_status\": \"success\",\n \"block_hash\": \"0x2b8599696f64e2456c67b1ab5e63078f99d87bd1d903c37fdcfd73b1890a7551\",\n \"block_height\": 1761,\n \"burn_block_time\": 1611968237,\n \"burn_block_time_iso\": \"2021-01-30T00:57:17.000Z\",\n \"canonical\": true,\n \"is_unanchored\": false,\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"tx_index\": 2,\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"token_transfer\": {\n \"recipient_address\": \"SPRSM0R2JZWBCZ39NQBARWTMX9TE99K3JK8D5KMX\",\n \"amount\": \"100000\",\n \"memo\": \"0x57656c636f6d6520746f20426f6f6d2e000000000000000000000000000000000000\"\n },\n \"events\": [],\n \"event_count\": 1\n },\n \"stx_sent\": \"100180\",\n \"stx_received\": \"0\",\n \"stx_transfers\": [\n {\n \"amount\": \"100000\",\n \"sender\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE\",\n \"recipient\": \"SPRSM0R2JZWBCZ39NQBARWTMX9TE99K3JK8D5KMX\"\n }\n ],\n \"ft_transfers\": [],\n \"nft_transfers\": []\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"cc3f7335-e647-473b-8466-5f7d2766795d","name":"Get the latest nonce used by an account","request":{"name":"Get the latest nonce used by an account","description":{"content":"Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","nonces"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"block_height","value":"66119","description":"Optionally get the nonce at a given block height."},{"disabled":false,"key":"block_hash","value":"0x72d53f3cba39e149dcd42708e535bdae03d73e60d2fe853aaf61c0b392f521e9","description":"Optionally get the nonce at a given block hash. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address"}]},"method":"GET","auth":null},"response":[{"id":"eb62be01-c8d0-41d0-973a-f08cf9a7067d","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","nonces"],"host":["{{baseUrl}}"],"query":[{"key":"block_height","value":"66119"},{"key":"block_hash","value":"0x72d53f3cba39e149dcd42708e535bdae03d73e60d2fe853aaf61c0b392f521e9"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"last_mempool_tx_nonce\": 5,\n \"last_executed_tx_nonce\": 2,\n \"possible_next_nonce\": 6,\n \"detected_missing_nonces\": [\n 3,\n 4\n ],\n \"detected_mempool_nonces\": []\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f9ef8473-29a3-4ff0-b8b9-f6ab39850a85","name":"Get account assets","request":{"name":"Get account assets","description":{"content":"Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","assets"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"20","description":"max number of account assets to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first account assets to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"aliquip ad pariatur aute","description":"returned data representing the state at that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"61024a18-70ff-4999-a128-fb028da25ff7","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","assets"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"20"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"aliquip ad pariatur aute"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 0,\n \"results\": [\n {\n \"event_index\": 0,\n \"event_type\": \"stx_asset\",\n \"tx_id\": \"0xb31df5a363dad31723324cb5e0eefa04d491519fd30827a521cbc830114aa50c\",\n \"asset\": {\n \"asset_event_type\": \"transfer\",\n \"sender\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"recipient\": \"ST2TJRHDHMYBQ417HFB0BDX430TQA5PXRX6495G1V\",\n \"amount\": \"500000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"24c9e9bd-611b-419a-8e6d-2e8770baf759","name":"Get inbound STX transfers","request":{"name":"Get inbound STX transfers","description":{"content":"Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type,\nand transfers from contract-call transactions a the `send-many-memo` bulk sending contract.\n","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","stx_inbound"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"76744710","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"height","value":"4326453.790175393","description":"Filter for transfers only at this given block height"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"aliquip ad pariatur aute","description":"returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"6b267917-2b24-4a87-8efd-36b0cb0c1220","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx_inbound"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76744710"},{"key":"offset","value":"42000"},{"key":"height","value":"4326453.790175393"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"aliquip ad pariatur aute"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 0,\n \"results\": [\n {\n \"sender\": \"ST1RZG804V6Y0N4XHQD3ZE2GE3XSCV3VHRKMA3GB0\",\n \"amount\": \"123456789\",\n \"memo\": \"0x00000000000000000000000000000000000000000000000000000000000000000000\",\n \"block_height\": 12345,\n \"tx_id\": \"0x29e25515652dad41ef675bd0670964e3d537b80ec19cf6ca6f1dd65d5bc642c5\",\n \"transfer_type\": \"bulk-send\",\n \"tx_index\": 3\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ff0310b5-235b-4cae-91c7-e76761a2462a","name":"Get nft events","request":{"name":"Get nft events","description":{"content":"**NOTE:** This endpoint is deprecated in favor of [Non-Fungible Token holdings](#operation/get_nft_holdings).\n\nRetrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft.\n","type":"text/plain"},"url":{"path":["extended","v1","address",":principal","nft_events"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"76744710","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"},{"disabled":false,"key":"until_block","value":"aliquip ad pariatur aute","description":"returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time."}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"d23df7e6-70dd-4c35-b577-e5cc88782b41","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","nft_events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76744710"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"aliquip ad pariatur aute"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 1,\n \"nft_events\": [\n {\n \"sender\": \"none\",\n \"recipient\": \"ST1HB64MAJ1MBV4CQ80GF01DZS4T1DSMX20ADCRA4\",\n \"asset_identifier\": \"some-asset\",\n \"value\": {\n \"hex\": \"0x00\",\n \"repr\": \"0\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c7088b74-6405-4e37-9168-f77ca3fc026f","name":"Get account info","request":{"name":"Get account info","description":{"content":"Retrieves the account data for a given Account or a Contract Identifier\n\nWhere balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings.\n\nFor non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.\n","type":"text/plain"},"url":{"path":["v2","accounts",":principal"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"proof","value":"76744710","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"laboris amet sit","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","auth":null},"response":[{"id":"8c1448be-6013-4ed0-b333-9957ef85f727","name":"Success","originalRequest":{"url":{"path":["v2","accounts",":principal"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"76744710"},{"key":"tip","value":"laboris amet sit"}],"variable":[{"disabled":false,"type":"any","value":"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0","key":"principal","description":"(Required) Stacks address or a Contract identifier"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"balance\": \"0x0000000000000000000000000007a120\",\n \"locked\": \"0x0000000000000000000000000007a120\",\n \"unlock_height\": 126,\n \"nonce\": 2867,\n \"balance_proof\": \"0xabce\",\n \"nonce_proof\": \"0xabcd\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"2bb90103-9da3-408c-9b22-2ac4b4f797d1","name":"Blocks","description":{"content":"Read-only endpoints to obtain Stacks block details","type":"text/plain"},"item":[{"id":"8015d04f-7fe1-440e-8fa4-3c48cde1247b","name":"Get recent blocks","request":{"name":"Get recent blocks","description":{"content":"Retrieves a list of recently mined blocks\n\nIf you need to actively monitor new blocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.\n","type":"text/plain"},"url":{"path":["extended","v1","block"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"20","description":"max number of blocks to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first block to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"2fb27c0b-989d-469d-96e7-13acb8ee39cb","name":"List of blocks","originalRequest":{"url":{"path":["extended","v1","block"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"20"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 1,\n \"offset\": 0,\n \"total\": 21707,\n \"results\": [\n {\n \"canonical\": true,\n \"height\": 21698,\n \"hash\": \"0x9be3e38eab9c7d094fd51792383c66706838d6392e95bc05cc730b8f7520e352\",\n \"parent_block_hash\": \"0x76ee36d1d6c88e56b5c0e80f0d7bc7d3492141faf1b900efb19fcd00457d4654\",\n \"burn_block_time\": 1626281749,\n \"burn_block_time_iso\": \"2021-07-14T16:55:49.000Z\",\n \"burn_block_hash\": \"0x0000000000000000000ea16f8e906e85ee1cb4dff1e5424e93843b3cec8b0bcb\",\n \"burn_block_height\": 691014,\n \"miner_txid\": \"0x118f7122a69441d13e6a3dfd4c3b0f9950be25195bb8126aae7fadea1aa9185d\",\n \"parent_microblock_hash\": \"0x54647c277eefe60519b407f2c897749005fdb7f831034135063b2ee43fdacb04\",\n \"parent_microblock_sequence\": 3,\n \"txs\": [\n \"0x76f58b2eaff65a07a5971b241c4e71fee92ee0f9396809f911f90839f9004cac\",\n \"0x32972d9052b068f218f6e13451f7aff937099b74bbf95fac7d9402295b1b3941\",\n \"0x8cd30724c02a9cc1d8879a34dc136ebfdb2008420badcfb5947b92f85ebce79b\",\n \"0xf5c1577f42d3753a508101e045dd2dc60491eb0aa552e0ecd0ad37cc697143f4\",\n \"0x35e4c20e2838f999e0cf0b40c5fabce154c2df1912a1074150d26784c53f7a20\",\n \"0x501eb42b82e5b7a7350b47fa143cd4e90bb46d43e4a7d22830b2bf2aa70b7922\"\n ],\n \"microblocks_accepted\": [\n \"0x54647c277eefe60519b407f2c897749005fdb7f831034135063b2ee43fdacb04\",\n \"0xdaf61d2b355f35c94cf019af99aeb73d8e7db7301c7cd693a464ebd1cfc2228c\",\n \"0xb9e9b308cf9621ecbf66ca7b4689fe384b9b67c4588ec827d8163ab602fb935e\",\n \"0x754562cba6ec243f90485e97778ab472f462fd123ef5b83cc79d8759ca8875f5\"\n ],\n \"microblocks_streamed\": [\n \"0x54647c277eefe60519b407f2c897749005fdb7f831034135063b2ee43fdacb04\",\n \"0xdaf61d2b355f35c94cf019af99aeb73d8e7db7301c7cd693a464ebd1cfc2228c\",\n \"0xb9e9b308cf9621ecbf66ca7b4689fe384b9b67c4588ec827d8163ab602fb935e\",\n \"0x754562cba6ec243f90485e97778ab472f462fd123ef5b83cc79d8759ca8875f5\"\n ]\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"4ffa1454-c123-40c9-9ee2-6725d168f993","name":"Get block by hash","request":{"name":"Get block by hash","description":{"content":"Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block ('get_block_list' API) to get your block details.","type":"text/plain"},"url":{"path":["extended","v1","block",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79","key":"hash","description":"(Required) Hash of the block"}]},"method":"GET","auth":null},"response":[{"id":"b257a3d4-3595-4bda-a10c-8bf081573fec","name":"Block","originalRequest":{"url":{"path":["extended","v1","block",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79","key":"hash","description":"(Required) Hash of the block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": true,\n \"height\": 3275,\n \"hash\": \"0xe77ba8cf6bb7c0e4f64adc83356289ed467d31a22354907b4bb814590058430f\",\n \"index_block_hash\": \"0x918697ef63f9d8bdf844c3312b299e72a231cde542f3173f7755bb8c1cdaf3a7\",\n \"parent_block_hash\": \"0x75ab21ef25cbff2caa14c27d830ed7886a4d1522e1b6f9e5dc3b59ccf73ed49f\",\n \"burn_block_time\": 1594233639,\n \"burn_block_time_iso\": \"2020-08-27T16:41:26.000Z\",\n \"burn_block_hash\": \"0xb154c008df2101023a6d0d54986b3964cee58119eed14f5bed98e15678e18fe2\",\n \"burn_block_height\": 654439,\n \"miner_txid\": \"0xd7d56070277ccd87b42acf0c91f915dd181f9db4cf878a4e95518bc397c240cc\",\n \"parent_microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"parent_microblock_sequence\": 2,\n \"txs\": [\n \"0x4262db117659d1ca9406970c8f44ffd3d8f11f8e18c591d2e3960f4070107754\",\n \"0x383632cd3b5464dffb684082750fcfaddd1f52625bbb9f884ed8f45d2b1f0547\",\n \"0xc99fe597e44b8bd15a50eec660c6e679a7144a5a8553d214b9d5f1406d278c22\"\n ],\n \"microblocks_accepted\": [\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\",\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\",\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\"\n ],\n \"microblocks_streamed\": [\n \"0xb5650ef855f7d90fc146942e85cf9fac3a8c47ec408aca02f3cf9ed7c82f6cc6\",\n \"0xeeb9aa5741d84aa0bc5de4f2fbdeae57ae29694479475d45a67ae7bd7e2c98f3\",\n \"0x4f4c368d5f06fdf6065c5bafd9cb37391fddc9c279cfc57be35e4bf8ee932cbd\",\n \"0xde2fc8d99872c827f144c752c002d29f9315dfc09472a09572ac7447ae623dea\"\n ],\n \"execution_cost_read_count\": 2477,\n \"execution_cost_read_length\": 1659409,\n \"execution_cost_runtime\": 2520952000,\n \"execution_cost_write_count\": 608,\n \"execution_cost_write_length\": 80170,\n \"microblock_tx_count\": {\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\": 5,\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\": 6,\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\": 9\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5796d60c-90e5-4f2d-82c3-682f56160436","name":"Cannot find block with given ID","originalRequest":{"url":{"path":["extended","v1","block",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79","key":"hash","description":"(Required) Hash of the block"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find block by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"15ffeb00-15a6-46bc-a427-22edb29cbaa3","name":"Get block by height","request":{"name":"Get block by height","description":{"content":"Retrieves block details of a specific block at a given block height","type":"text/plain"},"url":{"path":["extended","v1","block","by_height",":height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"10000","key":"height","description":"(Required) Height of the block"}]},"method":"GET","auth":null},"response":[{"id":"4719eb2c-d0aa-439e-919f-85efb185eeda","name":"Block","originalRequest":{"url":{"path":["extended","v1","block","by_height",":height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"10000","key":"height","description":"(Required) Height of the block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": true,\n \"height\": 3275,\n \"hash\": \"0xe77ba8cf6bb7c0e4f64adc83356289ed467d31a22354907b4bb814590058430f\",\n \"index_block_hash\": \"0x918697ef63f9d8bdf844c3312b299e72a231cde542f3173f7755bb8c1cdaf3a7\",\n \"parent_block_hash\": \"0x75ab21ef25cbff2caa14c27d830ed7886a4d1522e1b6f9e5dc3b59ccf73ed49f\",\n \"burn_block_time\": 1594233639,\n \"burn_block_time_iso\": \"2020-08-27T16:41:26.000Z\",\n \"burn_block_hash\": \"0xb154c008df2101023a6d0d54986b3964cee58119eed14f5bed98e15678e18fe2\",\n \"burn_block_height\": 654439,\n \"miner_txid\": \"0xd7d56070277ccd87b42acf0c91f915dd181f9db4cf878a4e95518bc397c240cc\",\n \"parent_microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"parent_microblock_sequence\": 2,\n \"txs\": [\n \"0x4262db117659d1ca9406970c8f44ffd3d8f11f8e18c591d2e3960f4070107754\",\n \"0x383632cd3b5464dffb684082750fcfaddd1f52625bbb9f884ed8f45d2b1f0547\",\n \"0xc99fe597e44b8bd15a50eec660c6e679a7144a5a8553d214b9d5f1406d278c22\"\n ],\n \"microblocks_accepted\": [\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\",\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\",\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\"\n ],\n \"microblocks_streamed\": [\n \"0xb5650ef855f7d90fc146942e85cf9fac3a8c47ec408aca02f3cf9ed7c82f6cc6\",\n \"0xeeb9aa5741d84aa0bc5de4f2fbdeae57ae29694479475d45a67ae7bd7e2c98f3\",\n \"0x4f4c368d5f06fdf6065c5bafd9cb37391fddc9c279cfc57be35e4bf8ee932cbd\",\n \"0xde2fc8d99872c827f144c752c002d29f9315dfc09472a09572ac7447ae623dea\"\n ],\n \"execution_cost_read_count\": 2477,\n \"execution_cost_read_length\": 1659409,\n \"execution_cost_runtime\": 2520952000,\n \"execution_cost_write_count\": 608,\n \"execution_cost_write_length\": 80170,\n \"microblock_tx_count\": {\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\": 5,\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\": 6,\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\": 9\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"53ed9043-1563-45fa-8f43-27ffa789bdd3","name":"Cannot find block with given height","originalRequest":{"url":{"path":["extended","v1","block","by_height",":height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"10000","key":"height","description":"(Required) Height of the block"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find block by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5e204f35-f29f-4018-945c-56223fde014b","name":"Get block by burnchain block hash","request":{"name":"Get block by burnchain block hash","description":{"content":"Retrieves block details of a specific block for a given burnchain block hash","type":"text/plain"},"url":{"path":["extended","v1","block","by_burn_block_hash",":burn_block_hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x00000000000000000002bba732926cf68b6eda3e2cdbc2a85af79f10efeeeb10","key":"burn_block_hash","description":"(Required) Hash of the burnchain block"}]},"method":"GET","auth":null},"response":[{"id":"cbd88e5e-243d-4980-abaf-e4f72831da83","name":"Block","originalRequest":{"url":{"path":["extended","v1","block","by_burn_block_hash",":burn_block_hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x00000000000000000002bba732926cf68b6eda3e2cdbc2a85af79f10efeeeb10","key":"burn_block_hash","description":"(Required) Hash of the burnchain block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": true,\n \"height\": 3275,\n \"hash\": \"0xe77ba8cf6bb7c0e4f64adc83356289ed467d31a22354907b4bb814590058430f\",\n \"index_block_hash\": \"0x918697ef63f9d8bdf844c3312b299e72a231cde542f3173f7755bb8c1cdaf3a7\",\n \"parent_block_hash\": \"0x75ab21ef25cbff2caa14c27d830ed7886a4d1522e1b6f9e5dc3b59ccf73ed49f\",\n \"burn_block_time\": 1594233639,\n \"burn_block_time_iso\": \"2020-08-27T16:41:26.000Z\",\n \"burn_block_hash\": \"0xb154c008df2101023a6d0d54986b3964cee58119eed14f5bed98e15678e18fe2\",\n \"burn_block_height\": 654439,\n \"miner_txid\": \"0xd7d56070277ccd87b42acf0c91f915dd181f9db4cf878a4e95518bc397c240cc\",\n \"parent_microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"parent_microblock_sequence\": 2,\n \"txs\": [\n \"0x4262db117659d1ca9406970c8f44ffd3d8f11f8e18c591d2e3960f4070107754\",\n \"0x383632cd3b5464dffb684082750fcfaddd1f52625bbb9f884ed8f45d2b1f0547\",\n \"0xc99fe597e44b8bd15a50eec660c6e679a7144a5a8553d214b9d5f1406d278c22\"\n ],\n \"microblocks_accepted\": [\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\",\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\",\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\"\n ],\n \"microblocks_streamed\": [\n \"0xb5650ef855f7d90fc146942e85cf9fac3a8c47ec408aca02f3cf9ed7c82f6cc6\",\n \"0xeeb9aa5741d84aa0bc5de4f2fbdeae57ae29694479475d45a67ae7bd7e2c98f3\",\n \"0x4f4c368d5f06fdf6065c5bafd9cb37391fddc9c279cfc57be35e4bf8ee932cbd\",\n \"0xde2fc8d99872c827f144c752c002d29f9315dfc09472a09572ac7447ae623dea\"\n ],\n \"execution_cost_read_count\": 2477,\n \"execution_cost_read_length\": 1659409,\n \"execution_cost_runtime\": 2520952000,\n \"execution_cost_write_count\": 608,\n \"execution_cost_write_length\": 80170,\n \"microblock_tx_count\": {\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\": 5,\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\": 6,\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\": 9\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c37c757-016c-4ad0-bd17-c431265602e4","name":"Cannot find block with given height","originalRequest":{"url":{"path":["extended","v1","block","by_burn_block_hash",":burn_block_hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x00000000000000000002bba732926cf68b6eda3e2cdbc2a85af79f10efeeeb10","key":"burn_block_hash","description":"(Required) Hash of the burnchain block"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find block by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"80090f1b-3525-47cc-b303-b8e74fcf1172","name":"Get block by burnchain height","request":{"name":"Get block by burnchain height","description":{"content":"Retrieves block details of a specific block for a given burn chain height","type":"text/plain"},"url":{"path":["extended","v1","block","by_burn_block_height",":burn_block_height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"744603","key":"burn_block_height","description":"(Required) Height of the burn chain block"}]},"method":"GET","auth":null},"response":[{"id":"b8b6552d-d81a-4a6a-8d84-327160407845","name":"Block","originalRequest":{"url":{"path":["extended","v1","block","by_burn_block_height",":burn_block_height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"744603","key":"burn_block_height","description":"(Required) Height of the burn chain block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": true,\n \"height\": 3275,\n \"hash\": \"0xe77ba8cf6bb7c0e4f64adc83356289ed467d31a22354907b4bb814590058430f\",\n \"index_block_hash\": \"0x918697ef63f9d8bdf844c3312b299e72a231cde542f3173f7755bb8c1cdaf3a7\",\n \"parent_block_hash\": \"0x75ab21ef25cbff2caa14c27d830ed7886a4d1522e1b6f9e5dc3b59ccf73ed49f\",\n \"burn_block_time\": 1594233639,\n \"burn_block_time_iso\": \"2020-08-27T16:41:26.000Z\",\n \"burn_block_hash\": \"0xb154c008df2101023a6d0d54986b3964cee58119eed14f5bed98e15678e18fe2\",\n \"burn_block_height\": 654439,\n \"miner_txid\": \"0xd7d56070277ccd87b42acf0c91f915dd181f9db4cf878a4e95518bc397c240cc\",\n \"parent_microblock_hash\": \"0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df\",\n \"parent_microblock_sequence\": 2,\n \"txs\": [\n \"0x4262db117659d1ca9406970c8f44ffd3d8f11f8e18c591d2e3960f4070107754\",\n \"0x383632cd3b5464dffb684082750fcfaddd1f52625bbb9f884ed8f45d2b1f0547\",\n \"0xc99fe597e44b8bd15a50eec660c6e679a7144a5a8553d214b9d5f1406d278c22\"\n ],\n \"microblocks_accepted\": [\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\",\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\",\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\"\n ],\n \"microblocks_streamed\": [\n \"0xb5650ef855f7d90fc146942e85cf9fac3a8c47ec408aca02f3cf9ed7c82f6cc6\",\n \"0xeeb9aa5741d84aa0bc5de4f2fbdeae57ae29694479475d45a67ae7bd7e2c98f3\",\n \"0x4f4c368d5f06fdf6065c5bafd9cb37391fddc9c279cfc57be35e4bf8ee932cbd\",\n \"0xde2fc8d99872c827f144c752c002d29f9315dfc09472a09572ac7447ae623dea\"\n ],\n \"execution_cost_read_count\": 2477,\n \"execution_cost_read_length\": 1659409,\n \"execution_cost_runtime\": 2520952000,\n \"execution_cost_write_count\": 608,\n \"execution_cost_write_length\": 80170,\n \"microblock_tx_count\": {\n \"0xce0b1a4099d3fc7d5885cc7a3baa952b6d999f9709d0683b98b843597208231c\": 5,\n \"0x4c0529b6448a5885991c5021bd869cc97f1692c128a98b382729dc962203c326\": 6,\n \"0x64968846291dfea1015228a9d4bbd60aac81378cd6774b810b08e59e6b0e7494\": 9\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6e30748f-d2f7-4a6b-a19e-fd9712017602","name":"Cannot find block with given height","originalRequest":{"url":{"path":["extended","v1","block","by_burn_block_height",":burn_block_height"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"744603","key":"burn_block_height","description":"(Required) Height of the burn chain block"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find block by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"f4469797-dea0-4f29-8a2e-433c44fb8cb3","name":"Faucets","description":{"content":"Endpoints to request STX or BTC tokens (not possible on Mainnet)","type":"text/plain"},"item":[{"id":"8fbba879-86cf-4c4e-9fbb-e2bad5b5e918","name":"Get STX testnet tokens","request":{"name":"Get STX testnet tokens","description":{"content":"Add 500 STX tokens to the specified testnet address. Testnet STX addresses begin with `ST`. If the `stacking`\nparameter is set to `true`, the faucet will add the required number of tokens for individual stacking to the\nspecified testnet address.\n\nThe endpoint returns the transaction ID, which you can use to view the transaction in the\n[Stacks Explorer](https://explorer.hiro.so/?chain=testnet). The tokens are delivered once the transaction has\nbeen included in an anchor block.\n\nA common reason for failed faucet transactions is that the faucet has run out of tokens. If you are experiencing\nfailed faucet transactions to a testnet address, you can get help in [Discord](https://stacks.chat).\n\n**Note:** This is a testnet only endpoint. This endpoint will not work on the mainnet.\n","type":"text/plain"},"url":{"path":["extended","v1","faucets","stx"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"address","value":"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ","description":"(Required) A valid testnet STX address"},{"disabled":false,"key":"stacking","value":"false","description":"Request the amount of STX tokens needed for individual address stacking"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"address\": \"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ\",\n \"stacking\": false\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ecade3ad-84e0-4aff-9e83-8a7c43189c00","name":"Success","originalRequest":{"url":{"path":["extended","v1","faucets","stx"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ"},{"key":"stacking","value":"false"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ\",\n \"stacking\": false\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"success\": true,\n \"txId\": \"0xf2f0402f9f4c4d43b382690c4f7b97e24d5ff5dd5c619e3615daa64dca7ef4bc\",\n \"txRaw\": \"80800000000400164247d6f2b425ac5771423ae6c80c754f7172b0000000000000003200000000000000b400008537046ff1008368baaa3ff2235122c556b89dad4f9df0639b924cf32a44b866497e49846b24191e711b21faaae96ca0542e4a140168484740b94211cececb3303020000000000051ab52c45b1a7977204f17ac0b6f48306aea2dbb8e9000000000007a12046617563657400000000000000000000000000000000000000000000000000000000\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"95bb6bd0-5405-4315-b48f-20ba004ad9a1","name":"Faucet call failed","originalRequest":{"url":{"path":["extended","v1","faucets","stx"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ"},{"key":"stacking","value":"false"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ\",\n \"stacking\": false\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"16d3ebba-4806-4e45-9890-31aa8aee45f1","name":"Add testnet BTC tokens to address","request":{"name":"Add testnet BTC tokens to address","description":{"content":"Add 1 BTC token to the specified testnet BTC address.\n\nThe endpoint returns the transaction ID, which you can use to view the transaction in a testnet Bitcoin block\nexplorer. The tokens are delivered once the transaction has been included in a block.\n\n**Note:** This is a testnet only endpoint. This endpoint will not work on the mainnet.\n","type":"text/plain"},"url":{"path":["extended","v1","faucets","btc"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"address","value":"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts","description":"(Required) A valid testnet BTC address"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"address\": \"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c2389eec-6b77-470a-9d68-01cfec029512","name":"Success","originalRequest":{"url":{"path":["extended","v1","faucets","btc"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"success\": true,\n \"txId\": \"0xf2f0402f9f4c4d43b382690c4f7b97e24d5ff5dd5c619e3615daa64dca7ef4bc\",\n \"txRaw\": \"80800000000400164247d6f2b425ac5771423ae6c80c754f7172b0000000000000003200000000000000b400008537046ff1008368baaa3ff2235122c556b89dad4f9df0639b924cf32a44b866497e49846b24191e711b21faaae96ca0542e4a140168484740b94211cececb3303020000000000051ab52c45b1a7977204f17ac0b6f48306aea2dbb8e9000000000007a12046617563657400000000000000000000000000000000000000000000000000000000\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"faa363e0-d0a6-439b-8dfe-5ad3d1df7180","name":"BTC Faucet not fully configured","originalRequest":{"url":{"path":["extended","v1","faucets","btc"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"BTC Faucet not fully configured\",\n \"success\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"85331c10-74bb-4691-bb25-eae865bf1be0","name":"Faucet call failed","originalRequest":{"url":{"path":["extended","v1","faucets","btc"],"host":["{{baseUrl}}"],"query":[{"key":"address","value":"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts"}],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"address\": \"2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]}],"event":[]},{"id":"81f9f091-82cf-4b4d-822b-525c8ecf8229","name":"Fees","description":{"content":"Read-only endpoints to obtain fee details","type":"text/plain"},"item":[{"id":"7abc9ffe-cb00-4323-86f3-56bbc746af9a","name":"Get estimated fee","request":{"name":"Get estimated fee","description":{"content":"Retrieves an estimated fee rate for STX transfer transactions. This a a fee rate / byte, and is returned as a JSON integer","type":"text/plain"},"url":{"path":["v2","fees","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"dcfd2980-93bf-4192-97ff-e3886cc43422","name":"Success","originalRequest":{"url":{"path":["v2","fees","transfer"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"1","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"e5098fd2-14ec-4b41-8a18-b0ecf99a89da","name":"Fetch fee rate","request":{"name":"Fetch fee rate","description":{"content":"**NOTE:** This endpoint is deprecated in favor of [Get approximate fees for a given transaction](#operation/post_fee_transaction).\n\nRetrieves estimated fee rate.\n","type":"text/plain"},"url":{"path":["extended","v1","fee_rate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"transaction\": \"0x5e9f3933e358df6a73fec0d47ce3e1062c20812c129f5294e6f37a8d27c051d9\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2f382e46-4db8-405a-b606-78e9d19abad3","name":"Transaction fee rate","originalRequest":{"url":{"path":["extended","v1","fee_rate"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"transaction\": \"0x5e9f3933e358df6a73fec0d47ce3e1062c20812c129f5294e6f37a8d27c051d9\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"fee_rate\": 360\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"8a364bba-e85c-42f4-a4e4-537241ccadfa","name":"Get approximate fees for a given transaction","request":{"name":"Get approximate fees for a given transaction","description":{"content":"Get an estimated fee for the supplied transaction. This\nestimates the execution cost of the transaction, the current\nfee rate of the network, and returns estimates for fee\namounts.\n* `transaction_payload` is a hex-encoded serialization of\n the TransactionPayload for the transaction.\n* `estimated_len` is an optional argument that provides the\n endpoint with an estimation of the final length (in bytes)\n of the transaction, including any post-conditions and\n signatures\nIf the node cannot provide an estimate for the transaction\n(e.g., if the node has never seen a contract-call for the\ngiven contract and function) or if estimation is not\nconfigured on this node, a 400 response is returned.\nThe 400 response will be a JSON error containing a `reason`\nfield which can be one of the following:\n* `DatabaseError` - this Stacks node has had an internal\n database error while trying to estimate the costs of the\n supplied transaction.\n* `NoEstimateAvailable` - this Stacks node has not seen this\n kind of contract-call before, and it cannot provide an\n estimate yet.\n* `CostEstimationDisabled` - this Stacks node does not perform\n fee or cost estimation, and it cannot respond on this\n endpoint.\nThe 200 response contains the following data:\n* `estimated_cost` - the estimated multi-dimensional cost of\n executing the Clarity VM on the provided transaction.\n* `estimated_cost_scalar` - a unitless integer that the Stacks\n node uses to compare how much of the block limit is consumed\n by different transactions. This value incorporates the\n estimated length of the transaction and the estimated\n execution cost of the transaction. The range of this integer\n may vary between different Stacks nodes. In order to compute\n an estimate of total fee amount for the transaction, this\n value is multiplied by the same Stacks node's estimated fee\n rate.\n* `cost_scalar_change_by_byte` - a float value that indicates how\n much the `estimated_cost_scalar` value would increase for every\n additional byte in the final transaction.\n* `estimations` - an array of estimated fee rates and total fees to\n pay in microSTX for the transaction. This array provides a range of\n estimates (default: 3) that may be used. Each element of the array\n contains the following fields:\n * `fee_rate` - the estimated value for the current fee\n rates in the network\n * `fee` - the estimated value for the total fee in\n microSTX that the given transaction should pay. These\n values are the result of computing:\n `fee_rate` x `estimated_cost_scalar`.\n If the estimated fees are less than the minimum relay\n fee `(1 ustx x estimated_len)`, then that minimum relay\n fee will be returned here instead.\nNote: If the final transaction's byte size is larger than\nsupplied to `estimated_len`, then applications should increase\nthis fee amount by:\n `fee_rate` x `cost_scalar_change_by_byte` x (`final_size` - `estimated_size`)\n","type":"text/plain"},"url":{"path":["v2","fees","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"estimated_len\": 350,\n \"transaction_payload\": \"021af942874ce525e87f21bbe8c121b12fac831d02f4086765742d696e666f0b7570646174652d696e666f00000000\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a8a23500-d069-46a5-93ca-fbc6d619b288","name":"Estimated fees for the transaction","originalRequest":{"url":{"path":["v2","fees","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"estimated_len\": 350,\n \"transaction_payload\": \"021af942874ce525e87f21bbe8c121b12fac831d02f4086765742d696e666f0b7570646174652d696e666f00000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"cost_scalar_change_by_byte\": 0.00476837158203125,\n \"estimated_cost\": {\n \"read_count\": 19,\n \"read_length\": 4814,\n \"runtime\": 7175000,\n \"write_count\": 2,\n \"write_length\": 1020\n },\n \"estimated_cost_scalar\": 14,\n \"estimations\": [\n {\n \"fee\": 17,\n \"fee_rate\": 1.2410714285714286\n },\n {\n \"fee\": 125,\n \"fee_rate\": 8.958333333333332\n },\n {\n \"fee\": 140,\n \"fee_rate\": 10\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"4f1d74eb-9762-4c79-92e1-3acea593b99b","name":"Fungible Tokens","description":{"content":"Read-only endpoints to obtain fungible token details","type":"text/plain"},"item":[{"id":"8ec2bc49-f228-46e3-a0f9-0c750488d93b","name":"Fungible tokens metadata list","request":{"name":"Fungible tokens metadata list","description":{"content":"**NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service).\n\nRetrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","ft","metadata"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"max number of tokens to fetch."},{"disabled":false,"key":"offset","value":"42000","description":"index of first tokens to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"bed7921a-9de1-4d18-b12e-de6a95c6657e","name":"List of fungible tokens metadata","originalRequest":{"url":{"path":["extended","v1","tokens","ft","metadata"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 1,\n \"offset\": 0,\n \"total\": 500,\n \"results\": [\n {\n \"token_uri\": \"https://heystack.xyz/token-metadata.json\",\n \"name\": \"Heystack\",\n \"description\": \"Heystack is a SIP-010-compliant fungible token on the Stacks Blockchain, used on the Heystack app\",\n \"image_uri\": \"https://heystack.xyz/assets/Stacks128w.png\",\n \"image_canonical_uri\": \"https://heystack.xyz/assets/Stacks128w.png\",\n \"tx_id\": \"0xef2ac1126e16f46843228b1dk4830e19eb7599129e4jf392cab9e65ae83a45c0\",\n \"sender_address\": \"ST399W7Z9WS0GMSNQGJGME5JAENKN56D65VGMGKGA\",\n \"symbol\": \"HEY\",\n \"decimals\": 5\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"32c5d2e7-ca1f-4782-8291-d97ae3e38e25","name":"Fungible tokens metadata for contract id","request":{"name":"Fungible tokens metadata for contract id","description":{"content":"**NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service).\n\nRetrieves the metadata for fungible tokens for a given contract id\n","type":"text/plain"},"url":{"path":["extended","v1","tokens",":contractId","ft","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11.newyorkcitycoin-token-v2","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","auth":null},"response":[{"id":"4df87c81-b998-4f03-b927-abd5145ddd2a","name":"Fungible tokens metadata for contract id","originalRequest":{"url":{"path":["extended","v1","tokens",":contractId","ft","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11.newyorkcitycoin-token-v2","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"token_uri\": \"https://heystack.xyz/token-metadata.json\",\n \"name\": \"Heystack\",\n \"description\": \"Heystack is a SIP-010-compliant fungible token on the Stacks Blockchain, used on the Heystack app\",\n \"image_uri\": \"https://heystack.xyz/assets/Stacks128w.png\",\n \"image_canonical_uri\": \"https://heystack.xyz/assets/Stacks128w.png\",\n \"tx_id\": \"0xef2ac1126e16f46843228b1dk4830e19eb7599129e4jf392cab9e65ae83a45c0\",\n \"sender_address\": \"ST399W7Z9WS0GMSNQGJGME5JAENKN56D65VGMGKGA\",\n \"symbol\": \"HEY\",\n \"decimals\": 5\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"423b7d94-53a1-4fc0-b2c5-ff264655f164","name":"Info","description":{"content":"Read-only endpoints to obtain network, Proof-of-Transfer, Stacking, STX token, and node information","type":"text/plain"},"item":[{"id":"64a97221-c382-4d9e-84e1-249d27bd2e18","name":"Get Core API info","request":{"name":"Get Core API info","description":{"content":"Retrieves information about the Core API including the server version","type":"text/plain"},"url":{"path":["v2","info"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"c368bc34-95cd-439a-937d-ef8cdf4b3cd5","name":"Success","originalRequest":{"url":{"path":["v2","info"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"peer_version\": 385875968,\n \"pox_consensus\": \"17f76e597bab45646956f38dd39573085d72cbc0\",\n \"burn_block_height\": 16,\n \"stable_pox_consensus\": \"8e0561978fc5506b68a589c402dad97e862edb59\",\n \"stable_burn_block_height\": 15,\n \"server_version\": \"blockstack-core 0.0.1 => 23.0.0.0 (, release build, linux [x86_64])\",\n \"network_id\": 2147483648,\n \"parent_network_id\": 3669344250,\n \"stacks_tip_height\": 15,\n \"stacks_tip\": \"b1807a2d3f7f8c7922f7c1d60d7c34145ade05d789640dc7dc9ec1021e07bb54\",\n \"stacks_tip_consensus_hash\": \"17f76e597bab45646956f38dd39573085d72cbc0\",\n \"unanchored_tip\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n \"exit_at_block_height\": null\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"55964d85-5deb-424b-9434-976c990521dd","name":"API status","request":{"name":"API status","description":{"content":"Retrieves the running status of the Stacks Blockchain API, including the server version and current chain tip information.","type":"text/plain"},"url":{"path":["extended","v1","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"237f17a6-6c88-428c-a820-ee38dc2d1130","name":"Success","originalRequest":{"url":{"path":["extended","v1","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"server_version\": \"stacks-blockchain-api v1.0.7 (master:77b25878)\",\n \"status\": \"ready\",\n \"chain_tip\": {\n \"block_height\": 48902,\n \"block_hash\": \"0xa5a2923c405f8356925213bb8c479beb06d3b68ca66dd2b7397b54f8c08c5eac\",\n \"index_block_hash\": \"0xf46401bf3cb6a6b6181536b7de414a1fd9e004a6ece99a05de72a781b17f9819\",\n \"microblock_hash\": \"0xec89a572d3583b959e490bc45e0f521b775ed51d7ed13087b6df8eb82cbe75d3\",\n \"microblock_sequence\": 0\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"4f5bb352-f0f9-4b41-9cc9-b84bab05d021","name":"Get the network target block time","request":{"name":"Get the network target block time","description":{"content":"Retrieves the target block times for mainnet and testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.","type":"text/plain"},"url":{"path":["extended","v1","info","network_block_times"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"641db535-e452-4540-b7b6-41b30cd1dc95","name":"Success","originalRequest":{"url":{"path":["extended","v1","info","network_block_times"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"testnet\": {\n \"target_block_time\": 120\n },\n \"mainnet\": {\n \"target_block_time\": 600\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f88118f7-4c0a-4b34-bca1-d3e0c8c7f2a7","name":"Get a given network's target block time","request":{"name":"Get a given network's target block time","description":{"content":"Retrieves the target block time for a given network. The network can be mainnet or testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.","type":"text/plain"},"url":{"path":["extended","v1","info","network_block_time",":network"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"mainnet","key":"network","description":"(Required) the target block time for a given network (testnet, mainnet)."}]},"method":"GET","auth":null},"response":[{"id":"975f6508-94a0-47b1-8e1e-6997fe16d7d3","name":"Success","originalRequest":{"url":{"path":["extended","v1","info","network_block_time",":network"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"mainnet","key":"network","description":"(Required) the target block time for a given network (testnet, mainnet)."}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"target_block_time\": 600\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"3b9a2800-e8ca-43ee-ab3d-fc9108e60ec5","name":"Get total and unlocked STX supply","request":{"name":"Get total and unlocked STX supply","description":{"content":"Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).\n**Note:** This uses the estimated future total supply for the year 2050.\n","type":"text/plain"},"url":{"path":["extended","v1","stx_supply"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"height","value":"200","description":"Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value. Note that the `block height` is referred to the stacks blockchain."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"33e2c43b-ee54-4a98-9e16-1602ea4838a8","name":"Success","originalRequest":{"url":{"path":["extended","v1","stx_supply"],"host":["{{baseUrl}}"],"query":[{"key":"height","value":"200"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"unlocked_percent\": \"71.99\",\n \"total_stx\": \"1352464600.000000\",\n \"unlocked_stx\": \"973705260.219817\",\n \"block_height\": 3210\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"702ef2b0-e759-4733-b782-ca28330ed973","name":"Get total STX supply in plain text format","request":{"name":"Get total STX supply in plain text format","description":{"content":"Retrieves the total supply for STX tokens as plain text.\n**Note:** this uses the estimated future total supply for the year 2050.\n","type":"text/plain"},"url":{"path":["extended","v1","stx_supply","total","plain"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"5dffad0f-4d47-4b7b-be00-7698f9a22b2e","name":"success","originalRequest":{"url":{"path":["extended","v1","stx_supply","total","plain"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"123.456789","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"8fa188dd-e9ac-4ba7-a6ac-5395567a35f0","name":"Get circulating STX supply in plain text format","request":{"name":"Get circulating STX supply in plain text format","description":{"content":"Retrieves the STX tokens currently in circulation that have been unlocked as plain text.","type":"text/plain"},"url":{"path":["extended","v1","stx_supply","circulating","plain"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"98c011a0-5162-4f09-820d-679ab37d182c","name":"success","originalRequest":{"url":{"path":["extended","v1","stx_supply","circulating","plain"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"123.456789","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"5d0675cf-a1e5-4f77-b397-c9c2d121e1d9","name":"Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)","request":{"name":"Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)","description":{"content":"Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.\n**Note:** this uses the estimated future total supply for the year 2050.\n","type":"text/plain"},"url":{"path":["extended","v1","stx_supply","legacy_format"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"height","value":"200","description":"Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"1ccbbe59-563a-43a1-a74b-d9dd71ce164b","name":"Success","originalRequest":{"url":{"path":["extended","v1","stx_supply","legacy_format"],"host":["{{baseUrl}}"],"query":[{"key":"height","value":"200"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"unlockedPercent\": \"71.99\",\n \"totalStacks\": \"1352464600.000000\",\n \"totalStacksFormatted\": \"1,352,464,600.000000\",\n \"unlockedSupply\": \"973705260.219817\",\n \"unlockedSupplyFormatted\": \"973,705,260.219817\",\n \"blockHeight\": \"665746\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"dbacbc93-3d35-4fa1-b4d1-89fe34975662","name":"Get Proof-of-Transfer details","request":{"name":"Get Proof-of-Transfer details","description":{"content":"Retrieves Proof-of-Transfer (PoX) information. Can be used for Stacking.","type":"text/plain"},"url":{"path":["v2","pox"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"2c335625-f11a-468b-afdb-49c0044c1423","name":"Success","originalRequest":{"url":{"path":["v2","pox"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"contract_id\": \"SP000000000000000000002Q6VF78.pox\",\n \"pox_activation_threshold_ustx\": 67694186237302,\n \"first_burnchain_block_height\": 666050,\n \"prepare_phase_block_length\": 100,\n \"reward_phase_block_length\": 2000,\n \"reward_slots\": 4000,\n \"rejection_fraction\": 25,\n \"total_liquid_supply_ustx\": 1353883724746042,\n \"current_cycle\": {\n \"id\": 50,\n \"min_threshold_ustx\": 100000000000,\n \"stacked_ustx\": 391056240478955,\n \"is_pox_active\": true\n },\n \"next_cycle\": {\n \"id\": 51,\n \"min_threshold_ustx\": 90000000000,\n \"min_increment_ustx\": 67694186237,\n \"stacked_ustx\": 350473977597161,\n \"prepare_phase_start_block_height\": 773050,\n \"blocks_until_prepare_phase\": 227,\n \"reward_phase_start_block_height\": 773150,\n \"blocks_until_reward_phase\": 327,\n \"ustx_until_pox_rejection\": 338470931186500\n },\n \"min_amount_ustx\": 90000000000,\n \"prepare_cycle_length\": 100,\n \"reward_cycle_id\": 50,\n \"reward_cycle_length\": 2100,\n \"rejection_votes_left_required\": 338470931186500,\n \"next_reward_cycle_in\": 327\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"dfa11c69-4e88-439b-9473-bf21484faa6d","name":"Microblocks","description":{"content":"Read-only endpoints to obtain microblocks details","type":"text/plain"},"item":[{"id":"6ecfc453-da1b-4224-a460-c02da992229c","name":"Get recent microblocks","request":{"name":"Get recent microblocks","description":{"content":"Retrieves a list of microblocks.\n\nIf you need to actively monitor new microblocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.\n","type":"text/plain"},"url":{"path":["extended","v1","microblock"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"Max number of microblocks to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"Index of the first microblock to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"a3125b7b-6c66-4811-af85-c36e1a2b6c2f","name":"List of microblocks","originalRequest":{"url":{"path":["extended","v1","microblock"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"results\": [\n {\n \"canonical\": false,\n \"microblock_canonical\": true,\n \"microblock_hash\": \"mollit ipsum magna occaecat\",\n \"microblock_sequence\": -52018191,\n \"microblock_parent_hash\": \"culpa Ut adipisicing ve\",\n \"block_height\": -21912986,\n \"parent_block_height\": -40723724,\n \"parent_block_hash\": \"labore est in\",\n \"block_hash\": \"commodo\",\n \"txs\": [\n \"occaecat amet nisi aute\",\n \"ut Ut\"\n ],\n \"parent_burn_block_time\": -31588821,\n \"parent_burn_block_time_iso\": \"Ut esse nisi\",\n \"parent_burn_block_hash\": \"dolor velit Ut\",\n \"parent_burn_block_height\": -16582765\n },\n {\n \"canonical\": true,\n \"microblock_canonical\": false,\n \"microblock_hash\": \"ut officia\",\n \"microblock_sequence\": -10630291,\n \"microblock_parent_hash\": \"minim commodo incididunt Ut\",\n \"block_height\": 19015421,\n \"parent_block_height\": 49556014,\n \"parent_block_hash\": \"et elit irure ipsum veniam\",\n \"block_hash\": \"consequat\",\n \"txs\": [\n \"et do\",\n \"nulla\"\n ],\n \"parent_burn_block_time\": -92782400,\n \"parent_burn_block_time_iso\": \"sed in\",\n \"parent_burn_block_hash\": \"Ut fugiat ut\",\n \"parent_burn_block_height\": -58689200\n }\n ],\n \"limit\": -44391724,\n \"offset\": 0,\n \"total\": -82802817\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"da1c9004-2aed-430d-a4fd-e264bbccb0de","name":"Get microblock","request":{"name":"Get microblock","description":{"content":"Retrieves a specific microblock by `hash`","type":"text/plain"},"url":{"path":["extended","v1","microblock",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x3bfcdf84b3012adb544cf0f6df4835f93418c2269a3881885e27b3d58eb82d47","key":"hash","description":"(Required) Hash of the microblock"}]},"method":"GET","auth":null},"response":[{"id":"fac50cb7-5bea-4402-ac1d-d1a722b15acb","name":"Microblock","originalRequest":{"url":{"path":["extended","v1","microblock",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x3bfcdf84b3012adb544cf0f6df4835f93418c2269a3881885e27b3d58eb82d47","key":"hash","description":"(Required) Hash of the microblock"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"canonical\": false,\n \"microblock_canonical\": false,\n \"microblock_hash\": \"et irure elit ex magna\",\n \"microblock_sequence\": 1598196,\n \"microblock_parent_hash\": \"commodo aute\",\n \"block_height\": 24896074,\n \"parent_block_height\": 86599740,\n \"parent_block_hash\": \"proident veniam\",\n \"block_hash\": \"officia culpa dolor\",\n \"txs\": [\n \"ut fugia\",\n \"ea ut officia \"\n ],\n \"parent_burn_block_time\": -90306968,\n \"parent_burn_block_time_iso\": \"Ut nostrud in incididunt\",\n \"parent_burn_block_hash\": \"dolor non ex\",\n \"parent_burn_block_height\": -71989099\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78209fab-f063-4a51-9b88-0be9e8cd073e","name":"Cannot find microblock with given hash","originalRequest":{"url":{"path":["extended","v1","microblock",":hash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x3bfcdf84b3012adb544cf0f6df4835f93418c2269a3881885e27b3d58eb82d47","key":"hash","description":"(Required) Hash of the microblock"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"cannot find microblock by hash 0xabc123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"710ae9a7-12c5-4b88-8d95-eca0c43027d6","name":"Get the list of current transactions that belong to unanchored microblocks","request":{"name":"Get the list of current transactions that belong to unanchored microblocks","description":{"content":"Retrieves transactions that have been streamed in microblocks but not yet accepted or rejected in an anchor block","type":"text/plain"},"url":{"path":["extended","v1","microblock","unanchored","txs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"ec677caa-7f80-45a1-add6-1214adf98674","name":"Transactions","originalRequest":{"url":{"path":["extended","v1","microblock","unanchored","txs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"results\": [],\n \"total\": -86587338\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"2760595f-0459-41f3-89dd-011f849c7580","name":"Names","description":{"content":"Read-only endpoints realted to the Blockchain Naming System on Stacks","type":"text/plain"},"item":[{"id":"88d76a24-99a4-4a08-a915-d7d3972bf7b9","name":"Get Namespace Price","request":{"name":"Get Namespace Price","description":{"content":"Retrieves the price of a namespace. The `amount` given will be in the smallest possible units of the currency.","type":"text/plain"},"url":{"path":["v2","prices","namespaces",":tld"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch price for"}]},"method":"GET","auth":null},"response":[{"id":"2d208bdb-c9eb-42be-b820-9af44c841fd7","name":"Success","originalRequest":{"url":{"path":["v2","prices","namespaces",":tld"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch price for"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"units\": \"in veniam occaecat adipisicing\",\n \"amount\": \"893298257\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"3e53af79-66e0-4803-93cc-0a18deff8f37","name":"Get Name Price","request":{"name":"Get Name Price","description":{"content":"Retrieves the price of a name. The `amount` given will be in the smallest possible units of the currency.","type":"text/plain"},"url":{"path":["v2","prices","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) the name to query price information for"}]},"method":"GET","auth":null},"response":[{"id":"2e5a5c9c-f6cd-4a77-985f-cdd6afe26adb","name":"Success","originalRequest":{"url":{"path":["v2","prices","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) the name to query price information for"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"units\": \"dolor id mollit incididunt\",\n \"amount\": \"4864695065\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ad511a9c-82df-4fcb-86fe-5f2f7479ed08","name":"Get All Namespaces","request":{"name":"Get All Namespaces","description":{"content":"Retrieves a list of all namespaces known to the node.","type":"text/plain"},"url":{"path":["v1","namespaces"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"67be03ca-63d6-4c17-bba5-e4ec668dc1b7","name":"Success","originalRequest":{"url":{"path":["v1","namespaces"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"namespaces\": [\n \"id\",\n \"helloworld\",\n \"podcast\",\n \"graphite\",\n \"blockstack\"\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"19c42f53-5c81-4921-bc1c-41bc6227185a","name":"Get Namespace Names","request":{"name":"Get Namespace Names","description":{"content":"Retrieves a list of names within a given namespace.","type":"text/plain"},"url":{"path":["v1","namespaces",":tld","names"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"22","description":"namespace values are defaulted to page 1 with 100 results. You can query specific page results by using the 'page' query parameter."}],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch names from."}]},"method":"GET","auth":null},"response":[{"id":"1621a9f0-570e-4ac7-9fee-470c72cb9933","name":"Success","originalRequest":{"url":{"path":["v1","namespaces",":tld","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch names from."}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n \"aldenquimby.id\",\n \"aldeoryn.id\",\n \"alderete.id\",\n \"aldert.id\",\n \"aldi.id\",\n \"aldighieri.id\"\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"f6a93a25-bae1-460d-8c0a-9d138a69bfe0","name":"Error","originalRequest":{"url":{"path":["v1","namespaces",":tld","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch names from."}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid page\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"93fdbcaa-0648-414a-ab59-4d8195165788","name":"Error","originalRequest":{"url":{"path":["v1","namespaces",":tld","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[{"disabled":false,"type":"any","value":"id","key":"tld","description":"(Required) the namespace to fetch names from."}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No such namespace\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"a54e565b-062b-4689-85d7-ef24b33b8163","name":"Get All Names","request":{"name":"Get All Names","description":{"content":"Retrieves a list of all names known to the node.","type":"text/plain"},"url":{"path":["v1","names"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"22","description":"names are defaulted to page 1 with 100 results. You can query specific page results by using the 'page' query parameter."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"d1edfb7c-ec6f-488a-8fe3-fdaf9850d512","name":"Success","originalRequest":{"url":{"path":["v1","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n \"aldenquimby.id\",\n \"aldeoryn.id\",\n \"alderete.id\",\n \"aldert.id\",\n \"aldi.id\",\n \"aldighieri.id\"\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"91ddba5e-80d9-46ea-801f-45aae4becdc0","name":"Error","originalRequest":{"url":{"path":["v1","names"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"22"}],"variable":[]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid page\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"280c5507-ee42-4bc1-853a-af6e0222907b","name":"Get Name Details","request":{"name":"Get Name Details","description":{"content":"Retrieves details of a given name including the `address`, `status` and last transaction id - `last_txid`.","type":"text/plain"},"url":{"path":["v1","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","auth":null},"response":[{"id":"dc9f789d-ef43-426e-adfa-7e7456ce2bcc","name":"Success","originalRequest":{"url":{"path":["v1","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"address\": \"1J3PUxY5uDShUnHRrMyU6yKtoHEUPhKULs\",\n \"blockchain\": \"bitcoin\",\n \"expire_block\": 599266,\n \"grace_period\": false,\n \"last_txid\": \"1edfa419f7b83f33e00830bc9409210da6c6d1db60f99eda10c835aa339cad6b\",\n \"renewal_deadline\": 604266,\n \"resolver\": null,\n \"status\": \"registered\",\n \"zonefile\": \"$ORIGIN muneeb.id\\n$TTL 3600\\n_http._tcp IN URI 10 1 \\\"https://gaia.blockstack.org/hub/1J3PUxY5uDShUnHRrMyU6yKtoHEUPhKULs/0/profile.json\\\"\\n\",\n \"zonefile_hash\": \"37aecf837c6ae9bdc9dbd98a268f263dacd00361\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8de2c50b-b380-4a6f-a766-ce8cfc15abbe","name":"Error","originalRequest":{"url":{"path":["v1","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid name or subdomain\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e86ee6f8-6a8b-45b9-aa33-87dc181f5f09","name":"Error","originalRequest":{"url":{"path":["v1","names",":name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No such name\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"39a099e3-3241-4da7-8dd9-6989350fc6b7","name":"Get Name Subdomains","request":{"name":"Get Name Subdomains","description":{"content":"Retrieves the list of subdomains for a specific name","type":"text/plain"},"url":{"path":["v1","names",":name","subdomains"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"id.blockstack","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","auth":null},"response":[{"id":"462b81df-1329-4dab-ae4b-77d9d51c0542","name":"Success","originalRequest":{"url":{"path":["v1","names",":name","subdomains"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"id.blockstack","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n \"address_test.id.blockstack\",\n \"previous_subdomain.id.blockstack\",\n \"subdomain.id.blockstack\",\n \"zonefile_test.id.blockstack\",\n \"zone_test.id.blockstack\"\n]","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"88b6c613-a7a3-4200-ab63-eeb04921c68e","name":"Get Zone File","request":{"name":"Get Zone File","description":{"content":"Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.","type":"text/plain"},"url":{"path":["v1","names",":name","zonefile"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bar.test","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","auth":null},"response":[{"id":"75b9584d-3426-4309-9cd4-636ba392fa8d","name":"Success","originalRequest":{"url":{"path":["v1","names",":name","zonefile"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bar.test","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"zonefile\": \"$ORIGIN bar.test\\n$TTL 3600\\n_https._tcp URI 10 1 \\\"https://gaia.blockstack.org/hub/17Zijx61Sp7SbVfRTdETo7PhizJHYEUxbY/profile.json\\\"\\n\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8eaaf28e-0851-4bf1-96ef-b5cbf785a929","name":"Error","originalRequest":{"url":{"path":["v1","names",":name","zonefile"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bar.test","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid name or subdomain\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8b59ae18-e95a-4985-b292-5bf1190cecc8","name":"Error","originalRequest":{"url":{"path":["v1","names",":name","zonefile"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bar.test","key":"name","description":"(Required) fully-qualified name"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No zone file for name\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f9fbcd28-1247-416e-a714-96342774e215","name":"Get Historical Zone File","request":{"name":"Get Historical Zone File","description":{"content":"Retrieves the historical zonefile specified by the username and zone hash.","type":"text/plain"},"url":{"path":["v1","names",":name","zonefile",":zoneFileHash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"},{"disabled":false,"type":"any","value":"b100a68235244b012854a95f9114695679002af9","key":"zoneFileHash","description":"(Required) zone file hash"}]},"method":"GET","auth":null},"response":[{"id":"9acce0ca-e6dd-4ae4-b30f-47734540b311","name":"Success","originalRequest":{"url":{"path":["v1","names",":name","zonefile",":zoneFileHash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"},{"disabled":false,"type":"any","value":"b100a68235244b012854a95f9114695679002af9","key":"zoneFileHash","description":"(Required) zone file hash"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"title\": \"BnsFetchHistoricalZoneFileResponse\",\n \"description\": \"Fetches the historical zonefile specified by the username and zone hash.\",\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"zonefile\": {\n \"type\": \"string\"\n }\n }\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"error\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fef13d50-38fa-4bd6-99b6-fe7c920413b2","name":"Error","originalRequest":{"url":{"path":["v1","names",":name","zonefile",":zoneFileHash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"},{"disabled":false,"type":"any","value":"b100a68235244b012854a95f9114695679002af9","key":"zoneFileHash","description":"(Required) zone file hash"}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Invalid name or subdomain\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40465b2d-596f-49d8-83bf-7949eed01175","name":"Error","originalRequest":{"url":{"path":["v1","names",":name","zonefile",":zoneFileHash"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"muneeb.id","key":"name","description":"(Required) fully-qualified name"},{"disabled":false,"type":"any","value":"b100a68235244b012854a95f9114695679002af9","key":"zoneFileHash","description":"(Required) zone file hash"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"No zone file for name\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ea01e72e-159d-4761-b6e7-3e1a0aefc66d","name":"Get Names Owned by Address","request":{"name":"Get Names Owned by Address","description":{"content":"Retrieves a list of names owned by the address provided.","type":"text/plain"},"url":{"path":["v1","addresses",":blockchain",":address"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bitcoin","key":"blockchain","description":"(Required) the layer-1 blockchain for the address"},{"disabled":false,"type":"any","value":"1QJQxDas5JhdiXhEbNS14iNjr8auFT96GP","key":"address","description":"(Required) the address to lookup"}]},"method":"GET","auth":null},"response":[{"id":"4ef0843c-ca20-42fe-8c7c-94cc6cabeaa3","name":"Success","originalRequest":{"url":{"path":["v1","addresses",":blockchain",":address"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bitcoin","key":"blockchain","description":"(Required) the layer-1 blockchain for the address"},{"disabled":false,"type":"any","value":"1QJQxDas5JhdiXhEbNS14iNjr8auFT96GP","key":"address","description":"(Required) the address to lookup"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"names\": [\n \"muneeb.id\"\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"95660f53-3a48-48ff-8a31-be821fdcf8d5","name":"Error","originalRequest":{"url":{"path":["v1","addresses",":blockchain",":address"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"bitcoin","key":"blockchain","description":"(Required) the layer-1 blockchain for the address"},{"disabled":false,"type":"any","value":"1QJQxDas5JhdiXhEbNS14iNjr8auFT96GP","key":"address","description":"(Required) the address to lookup"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"Unsupported blockchain\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"d18344c2-bf7d-4ae9-9c0b-386680c0db96","name":"Non-Fungible Tokens","description":{"content":"Read-only endpoints to obtain non-fungible token details","type":"text/plain"},"item":[{"id":"d0076ec2-f286-4031-8e45-94f6fb6b09d4","name":"Non-Fungible Token holdings","request":{"name":"Non-Fungible Token holdings","description":{"content":"Retrieves the list of Non-Fungible Tokens owned by the given principal (STX address or Smart Contract ID).\nResults can be filtered by one or more asset identifiers and can include metadata about the transaction that made the principal own each token.\n\nMore information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","nft","holdings"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"principal","value":"SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S.marketplace-v3","description":"(Required) token owner's STX address or Smart Contract ID"},{"disabled":false,"key":"asset_identifiers","value":"ex pariatur esse laborum","description":"identifiers of the token asset classes to filter for"},{"disabled":false,"key":"asset_identifiers","value":"sed nostrud ipsum in","description":"identifiers of the token asset classes to filter for"},{"disabled":false,"key":"limit","value":"50","description":"max number of tokens to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first tokens to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"whether or not to include tokens from unconfirmed transactions"},{"disabled":false,"key":"tx_metadata","value":"false","description":"whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"bc20eeea-4a3d-4ed7-acc3-227bf16bee23","name":"List of Non-Fungible Token holdings","originalRequest":{"url":{"path":["extended","v1","tokens","nft","holdings"],"host":["{{baseUrl}}"],"query":[{"key":"principal","value":"SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S.marketplace-v3"},{"key":"asset_identifiers","value":"nostrud exercitation"},{"key":"asset_identifiers","value":"commodo officia esse est dolore"},{"key":"limit","value":"50"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"tx_metadata","value":"false"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 50,\n \"offset\": 0,\n \"total\": 3,\n \"results\": [\n {\n \"asset_identifier\": \"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild\",\n \"value\": {\n \"hex\": \"0x0100000000000000000000000000000803\",\n \"repr\": \"u2051\"\n },\n \"block_height\": 36442,\n \"tx_id\": \"0x12e6f88724d0e630de26c376f172cf1781e25435e2b4ee54d36a949b244e429c\"\n },\n {\n \"asset_identifier\": \"SP2BE8TZATXEVPGZ8HAFZYE5GKZ02X0YDKAN7ZTGW.arties::arties\",\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000004f3\",\n \"repr\": \"u1267\"\n },\n \"block_height\": 37477,\n \"tx_id\": \"0xddc464c5e20a78dc5ac351913e0d9b9cce76fc955cc4599e0cccad960998f130\"\n },\n {\n \"asset_identifier\": \"SP000000000000000000002Q6VF78.bns::names\",\n \"value\": {\n \"hex\": \"0x0c00000002046e616d65020000000672616661656c096e616d6573706163650200000003627463\",\n \"repr\": \"(tuple (name 0x72616661656c) (namespace 0x627463))\"\n },\n \"block_height\": 17250,\n \"tx_id\": \"0x0153a41ed24a0e1d32f66ea98338df09f942571ca66359e28bdca79ccd0305cf\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"bd0808f8-137a-4dc5-bf36-c7f3bb62ab96","name":"Non-Fungible Token history","request":{"name":"Non-Fungible Token history","description":{"content":"Retrieves all events relevant to a Non-Fungible Token. Useful to determine the ownership history of a particular asset.\n\nMore information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","nft","history"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"asset_identifier","value":"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild","description":"(Required) token asset class identifier"},{"disabled":false,"key":"value","value":"0x0100000000000000000000000000000803","description":"(Required) hex representation of the token's unique value"},{"disabled":false,"key":"limit","value":"50","description":"max number of events to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first event to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"whether or not to include events from unconfirmed transactions"},{"disabled":false,"key":"tx_metadata","value":"false","description":"whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"fbd8a807-00cc-4efa-8de6-a1c6f9381e90","name":"Non-Fungible Token event history","originalRequest":{"url":{"path":["extended","v1","tokens","nft","history"],"host":["{{baseUrl}}"],"query":[{"key":"asset_identifier","value":"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild"},{"key":"value","value":"0x0100000000000000000000000000000803"},{"key":"limit","value":"50"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"tx_metadata","value":"false"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 50,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"sender\": \"SPZGN4KG2AKNNPEWVXXB6EWN1W9WV1JWMGBVVNK3\",\n \"recipient\": \"SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S.marketplace-v4\",\n \"event_index\": 0,\n \"asset_event_type\": \"transfer\",\n \"tx_id\": \"0x4510e6cff6414747f402126b92e35d90165f9f5e1f2750f50ed2b8e052b25108\"\n },\n {\n \"sender\": null,\n \"recipient\": \"SPZGN4KG2AKNNPEWVXXB6EWN1W9WV1JWMGBVVNK3\",\n \"event_index\": 1,\n \"asset_event_type\": \"mint\",\n \"tx_id\": \"0x3ab1ac33ba0a4fb473ee5a2e9d73208a7aceef2d40fea283e3126bda61524ad0\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"aef3abf4-1657-4f2d-9726-77fae6e6b25b","name":"Non-Fungible Token mints","request":{"name":"Non-Fungible Token mints","description":{"content":"Retrieves all mint events for a Non-Fungible Token asset class. Useful to determine which NFTs of a particular collection have been claimed.\n\nMore information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","nft","mints"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"asset_identifier","value":"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild","description":"(Required) token asset class identifier"},{"disabled":false,"key":"limit","value":"50","description":"max number of events to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first event to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"whether or not to include events from unconfirmed transactions"},{"disabled":false,"key":"tx_metadata","value":"false","description":"whether or not to include the complete transaction metadata instead of just `tx_id`. Enabling this option can affect performance and response times."}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"878523ff-1928-4674-b3a4-24bb07d34363","name":"Non-Fungible Token mints","originalRequest":{"url":{"path":["extended","v1","tokens","nft","mints"],"host":["{{baseUrl}}"],"query":[{"key":"asset_identifier","value":"SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild::The-Explorer-Guild"},{"key":"limit","value":"50"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"tx_metadata","value":"false"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 5,\n \"offset\": 0,\n \"total\": 2503,\n \"results\": [\n {\n \"recipient\": \"SP25KJH4N4YNKTVXSWSHDPVCWDFAN2BA4H2VQVN0G\",\n \"event_index\": 1,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009c7\",\n \"repr\": \"u2503\"\n },\n \"tx_id\": \"0xd5c199447bc5f08d1821350455f4c103ad769976c7a6b745182782d53b5c7922\"\n },\n {\n \"recipient\": \"SPZGN4KG2AKNNPEWVXXB6EWN1W9WV1JWMGBVVNK3\",\n \"event_index\": 1,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009c5\",\n \"repr\": \"u2501\"\n },\n \"tx_id\": \"0x3ab1ac33ba0a4fb473ee5a2e9d73208a7aceef2d40fea283e3126bda61524ad0\"\n },\n {\n \"recipient\": \"SPYZ2K1ZTG8NGKNY8VCX8NDKCGCCE9WZT85AGQR\",\n \"event_index\": 1,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009c6\",\n \"repr\": \"u2502\"\n },\n \"tx_id\": \"0xaaff669db77380600b069fbd3ba481e5764e3672246f952bdd976cd3528019e8\"\n },\n {\n \"recipient\": \"SP2EV985DXEHEB2FKW3Z642R0QWQGXTRDYXNRVCYY\",\n \"event_index\": 1,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009b6\",\n \"repr\": \"u2486\"\n },\n \"tx_id\": \"0xc416218ed09e2252888a620d89a5e8fdff43188c1c4ef46b6bbc4e1901609ef6\"\n },\n {\n \"recipient\": \"SPP1VDQKF2H90QZVRBN0K6Z90EKES9NSMYKXHVGH\",\n \"event_index\": 9,\n \"value\": {\n \"hex\": \"0x01000000000000000000000000000009bb\",\n \"repr\": \"u2491\"\n },\n \"tx_id\": \"0xbd272748e0d632f8122126f8b000fa0f84c96f464e6fb91b03bb8b9c5c12ed12\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"180ad0a4-cee8-458c-aa85-6c0d5a87748c","name":"Non fungible tokens metadata list","request":{"name":"Non fungible tokens metadata list","description":{"content":"**NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service).\n\nRetrieves a list of non fungible tokens with their metadata. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens","nft","metadata"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"1","description":"max number of tokens to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first tokens to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"ec3d2d36-184e-4028-a7d4-023aa1af37c6","name":"List of non fungible tokens metadata","originalRequest":{"url":{"path":["extended","v1","tokens","nft","metadata"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"1"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 1,\n \"offset\": 0,\n \"total\": 500,\n \"results\": [\n {\n \"token_uri\": \"https://pool.friedger.de/nft.json\",\n \"name\": \"Friedger Pool\",\n \"description\": \"Enjoying the stacking pool.\",\n \"image_uri\": \"https://pool.friedger.de/nft.webp\",\n \"image_canonical_uri\": \"https://pool.friedger.de/nft.webp\",\n \"tx_id\": \"0xef2ac1126e16f46843228b1dk4830e19eb7599129e4jf392cab9e65ae83a45c0\",\n \"sender_address\": \"ST399W7Z9WS0GMSNQGJGME5JAENKN56D65VGMGKGA\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"384e07d1-0e1a-4a5b-a282-f8275e3c011d","name":"Non fungible tokens metadata for contract ID","request":{"name":"Non fungible tokens metadata for contract ID","description":{"content":"**NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service).\n\nRetrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).\n","type":"text/plain"},"url":{"path":["extended","v1","tokens",":contractId","nft","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"laboris amet sit","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","auth":null},"response":[{"id":"c301b58b-2d82-41d9-9f19-e52b6a4a579b","name":"Non fungible tokens metadata for contract id","originalRequest":{"url":{"path":["extended","v1","tokens",":contractId","nft","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"laboris amet sit","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"token_uri\": \"https://pool.friedger.de/nft.json\",\n \"name\": \"Friedger Pool\",\n \"description\": \"Enjoying the stacking pool.\",\n \"image_uri\": \"https://pool.friedger.de/nft.webp\",\n \"image_canonical_uri\": \"https://pool.friedger.de/nft.webp\",\n \"tx_id\": \"0xef2ac1126e16f46843228b1dk4830e19eb7599129e4jf392cab9e65ae83a45c0\",\n \"sender_address\": \"ST399W7Z9WS0GMSNQGJGME5JAENKN56D65VGMGKGA\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"fcb56009-3422-400e-b673-e7ce02e9ef44","name":"Rosetta","description":{"content":"Endpoints to support the Rosetta API open blockchain standard","type":"text/plain"},"item":[{"id":"2c344495-1cab-412e-8839-5104cfcb8cb2","name":"Get List of Available Networks","request":{"name":"Get List of Available Networks","description":{"content":"Retrieves a list of NetworkIdentifiers that the Rosetta server supports.","type":"text/plain"},"url":{"path":["rosetta","v1","network","list"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","auth":null},"response":[{"id":"afa2acfd-fd5c-4cd8-91b9-601f4bf57edd","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","network","list"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"network_identifiers\": [\n {\n \"blockchain\": \"ut eiusmod adipisicing\",\n \"network\": \"ex voluptate Duis irure\",\n \"sub_network_identifier\": {\n \"network\": \"Excepteur cupidatat non do\",\n \"metadata\": {\n \"producer\": \"est in vel\"\n }\n }\n },\n {\n \"blockchain\": \"culpa sunt\",\n \"network\": \"consectetur occaecat ad\",\n \"sub_network_identifier\": {\n \"network\": \"in in id et\",\n \"metadata\": {\n \"producer\": \"i\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b9fee188-0aac-4203-b611-de4f8c855a76","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","network","list"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"439926df-3438-4365-ad27-fe2c5b0e44ee","name":"Get Network Options","request":{"name":"Get Network Options","description":{"content":"Retrieves the version information and allowed network-specific types for a NetworkIdentifier.\nAny NetworkIdentifier returned by /network/list should be accessible here.\nBecause options are retrievable in the context of a NetworkIdentifier, it is possible to define unique options for each network.\n","type":"text/plain"},"url":{"path":["rosetta","v1","network","options"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"48ec8522-ceb3-4669-8a88-62ddc3b2d6c2","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","network","options"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"version\": {\n \"rosetta_version\": \"nostrud aute ad\",\n \"node_version\": \"in Lorem\",\n \"middleware_version\": \"cillum esse et\",\n \"metadata\": {}\n },\n \"allow\": {\n \"operation_statuses\": [\n {\n \"status\": \"voluptate mollit\",\n \"successful\": true\n },\n {\n \"status\": \"magna aliqua ullamco\",\n \"successful\": true\n }\n ],\n \"operation_types\": [\n \"amet\",\n \"anim est irure\"\n ],\n \"errors\": [\n {\n \"code\": -74043078,\n \"message\": \"ea\",\n \"retriable\": false\n },\n {\n \"code\": 8802412,\n \"message\": \"cillum\",\n \"retriable\": true\n }\n ],\n \"historical_balance_lookup\": false\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c3ad52a-7c5e-41e2-977e-7e94f6e21635","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","network","options"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"fd78e0a0-791a-4860-b05d-5b11b0b4da29","name":"Get Network Status","request":{"name":"Get Network Status","description":{"content":"Retrieves the current status of the network requested.\nAny NetworkIdentifier returned by /network/list should be accessible here.\n","type":"text/plain"},"url":{"path":["rosetta","v1","network","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"732c5229-9c7f-4927-b134-62adb7aaa481","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","network","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"current_block_identifier\": {},\n \"current_block_timestamp\": 18589838,\n \"genesis_block_identifier\": {\n \"index\": -52938434,\n \"hash\": \"Duis reprehenderit quis\"\n },\n \"peers\": [\n {\n \"peer_id\": \"labore\",\n \"metadata\": {}\n },\n {\n \"peer_id\": \"velit laborum Duis fugiat in\",\n \"metadata\": {}\n }\n ],\n \"oldest_block_identifier\": {\n \"index\": -6785974,\n \"hash\": \"aute in reprehenderit dolor qui\"\n },\n \"sync_status\": {\n \"current_index\": 69343448,\n \"target_index\": -35365965,\n \"stage\": \"irure ad\",\n \"synced\": true\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"df3f5673-06b1-4b24-887f-fff534361c72","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","network","status"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"abd71e58-0fab-4472-8b63-b47f78dab7f4","name":"Get an Account Balance","request":{"name":"Get an Account Balance","description":{"content":"An AccountBalanceRequest is utilized to make a balance request on the /account/balance endpoint.\nIf the block_identifier is populated, a historical balance query should be performed.\n","type":"text/plain"},"url":{"path":["rosetta","v1","account","balance"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"account_identifier\": {\n \"address\": \"SP2W6477BT5CRWVC5D5RFNPNAR8R2NW63SMMCAWMC\",\n \"metadata\": {}\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4f74eead-2c02-4026-9af1-6c716a0c7318","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","account","balance"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"account_identifier\": {\n \"address\": \"SP2W6477BT5CRWVC5D5RFNPNAR8R2NW63SMMCAWMC\",\n \"metadata\": {}\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"block_identifier\": {},\n \"balances\": [\n {\n \"value\": \"in quis\",\n \"currency\": {\n \"symbol\": \"dolore elit in aute\",\n \"decimals\": -45029702,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"ipsum dolor aliqua\",\n \"currency\": {\n \"symbol\": \"fugiat\",\n \"decimals\": 79838034,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"coins\": [\n {\n \"coin_identifier\": {\n \"identifier\": \"culpa ullamco ea ipsum\"\n },\n \"amount\": {\n \"value\": \"elit\",\n \"currency\": {\n \"symbol\": \"eiusmod esse\",\n \"decimals\": 72611354,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n },\n {\n \"coin_identifier\": {\n \"identifier\": \"eu consectetur\"\n },\n \"amount\": {\n \"value\": \"laboris commodo ipsum ex\",\n \"currency\": {\n \"symbol\": \"aliquip elit proident ex dol\",\n \"decimals\": 23534848,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n }\n ],\n \"metadata\": {\n \"sequence_number\": -34890854\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"730ab18f-318a-4f82-b2d2-4945c96aaeab","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","account","balance"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"account_identifier\": {\n \"address\": \"SP2W6477BT5CRWVC5D5RFNPNAR8R2NW63SMMCAWMC\",\n \"metadata\": {}\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ee464586-a17f-4cb0-9ab2-04cc31311683","name":"Get a Block","request":{"name":"Get a Block","description":{"content":"Retrieves the Block information for a given block identifier including a list of all transactions in the block.","type":"text/plain"},"url":{"path":["rosetta","v1","block"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"index\": 71107,\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3f3a9610-a2c4-4664-9bdb-e776afaf927d","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","block"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"index\": 71107,\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"block\": {\n \"block_identifier\": {},\n \"parent_block_identifier\": {\n \"index\": -77761481,\n \"hash\": \"cupidata\"\n },\n \"timestamp\": -46261820,\n \"transactions\": [\n {\n \"transaction_identifier\": {\n \"hash\": \"eiusmod aliqua a\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -57177372,\n \"network_index\": 39272799\n },\n \"type\": \"est id si\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"labore\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"dolore proident dolor\",\n \"currency\": {\n \"symbol\": \"commodo labore voluptate magna laboris\",\n \"decimals\": -76305549,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": {\n \"value\": \"\"\n }\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -5621766,\n \"network_index\": 43863762\n },\n \"type\": \"ex Excepteur dolor\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"culpa\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"dolore\",\n \"currency\": {\n \"symbol\": \"ut aute\",\n \"decimals\": 12675047,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": {\n \"value\": \"\"\n }\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"velit mollit et\",\n \"size\": -26779467,\n \"lockTime\": -17451256\n }\n },\n {\n \"transaction_identifier\": {\n \"hash\": \"in laboris sit\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -33161338,\n \"network_index\": 7453884\n },\n \"type\": \"id ad\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"ut in consequat\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"aute labore ut\",\n \"currency\": {\n \"symbol\": \"laboris labore\",\n \"decimals\": -68037496,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": {\n \"value\": \"\"\n }\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -37862763,\n \"network_index\": 49656822\n },\n \"type\": \"exercitation\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"ma\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"eiusmod labore\",\n \"currency\": {\n \"symbol\": \"ad sunt eu ullamco officia\",\n \"decimals\": -71250621,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": {\n \"value\": \"\"\n }\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"culpa sit ullamco incididunt dolore\",\n \"size\": -13995050,\n \"lockTime\": -71972412\n }\n }\n ],\n \"metadata\": {\n \"transactions_root\": \"consectetur sed labore qui\",\n \"difficulty\": \"Duis aliqua\"\n }\n },\n \"other_transactions\": [\n {\n \"hash\": \"magna \"\n },\n {\n \"hash\": \"dolor ad dolore minim\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b14bc5af-906c-4b7b-bf3a-95cac82b4535","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","block"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"index\": 71107,\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c592a278-0032-46eb-9249-4149b603fe84","name":"Get a Block Transaction","request":{"name":"Get a Block Transaction","description":{"content":"Retrieves a Transaction included in a block that is not returned in a BlockResponse.","type":"text/plain"},"url":{"path":["rosetta","v1","block","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n },\n \"transaction_identifier\": {\n \"hash\": \"0x49354cc7b18dc5296c945a8e89f7d758dac14f1ab38d4c33dfe45ec1765ab339\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d83653d5-999e-4940-99a2-4d5869fa6ba3","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","block","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n },\n \"transaction_identifier\": {\n \"hash\": \"0x49354cc7b18dc5296c945a8e89f7d758dac14f1ab38d4c33dfe45ec1765ab339\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction\": {\n \"transaction_identifier\": {\n \"hash\": \"et\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 32306734,\n \"network_index\": 57070899\n },\n \"type\": \"qui sit\",\n \"related_operations\": [\n {\n \"index\": -11559762,\n \"network_index\": 55345264\n },\n {\n \"index\": -91351896,\n \"network_index\": -36013919\n }\n ],\n \"status\": \"ut sunt dolor\",\n \"account\": {\n \"address\": \"labore adipisicing\",\n \"sub_account\": {\n \"address\": \"in ullamco Excepteur consequat officia\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"eiusmod aliquip id\",\n \"currency\": {\n \"symbol\": \"qui deserunt et commodo\",\n \"decimals\": 26315280,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"occaecat esse ut\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 36381029,\n \"network_index\": -18262896\n },\n \"type\": \"amet\",\n \"related_operations\": [\n {\n \"index\": -82863413,\n \"network_index\": 86175649\n },\n {\n \"index\": 16540995,\n \"network_index\": -84364125\n }\n ],\n \"status\": \"do incididunt sint ut\",\n \"account\": {\n \"address\": \"dolor minim tempor laborum\",\n \"sub_account\": {\n \"address\": \"sed reprehende\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"incididunt sit\",\n \"currency\": {\n \"symbol\": \"nisi in Ut Excepteur\",\n \"decimals\": -35042565,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"officia esse ut sit\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"ad sunt do\",\n \"size\": -87709067,\n \"lockTime\": -79278917\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8c4eb49f-a6a1-40f1-906c-43cbeecd8ee6","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","block","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"block_identifier\": {\n \"hash\": \"0xce7e16561150f3a379845f4e96c3dd8f8396e397495821c9eec6b429391c529c\"\n },\n \"transaction_identifier\": {\n \"hash\": \"0x49354cc7b18dc5296c945a8e89f7d758dac14f1ab38d4c33dfe45ec1765ab339\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d3e30bbb-aacf-4c27-bb2c-0a15745da322","name":"Get All Mempool Transactions","request":{"name":"Get All Mempool Transactions","description":{"content":"Retrieves a list of transactions currently in the mempool for a given network.","type":"text/plain"},"url":{"path":["rosetta","v1","mempool"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"response":[{"id":"0a9e4e69-fe2a-458f-becb-abeeca908c97","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","mempool"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction_identifiers\": [\n {\n \"hash\": \"voluptate cupidatat officia\"\n },\n {\n \"hash\": \"occaecat veniam est ex ea\"\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2c8cb8d5-a2c4-43b3-ba8f-e3104379afa0","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","mempool"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"[\n {\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"metadata\": {}\n }\n]","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d1e27599-23b8-4db4-b405-e7e43af8992c","name":"Get a Mempool Transaction","request":{"name":"Get a Mempool Transaction","description":{"content":"Retrieves transaction details from the mempool for a given transaction id from a given network.","type":"text/plain"},"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"veniam eiusmod ut\",\n \"network\": \"elit sit o\",\n \"sub_network_identifier\": {\n \"network\": \"culpa ad magna pariatur\",\n \"metadata\": {\n \"producer\": \"sint eu ut in\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"esse Excepteur sint venia\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"77d51055-bc17-4cca-8068-d47bbc786878","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"veniam eiusmod ut\",\n \"network\": \"elit sit o\",\n \"sub_network_identifier\": {\n \"network\": \"culpa ad magna pariatur\",\n \"metadata\": {\n \"producer\": \"sint eu ut in\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"esse Excepteur sint venia\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction\": {\n \"transaction_identifier\": {\n \"hash\": \"do nostrud\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -83854484,\n \"network_index\": -65472529\n },\n \"type\": \"mollit do in officia\",\n \"related_operations\": [\n {\n \"index\": 7607983,\n \"network_index\": -93575448\n },\n {\n \"index\": 53557326,\n \"network_index\": 52263492\n }\n ],\n \"status\": \"l\",\n \"account\": {\n \"address\": \"incididunt\",\n \"sub_account\": {\n \"address\": \"commodo in occaecat aute\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"nisi sit\",\n \"currency\": {\n \"symbol\": \"anim Lorem\",\n \"decimals\": 17816741,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"proident mollit exercitation\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -13852581,\n \"network_index\": 92501170\n },\n \"type\": \"ut sit enim\",\n \"related_operations\": [\n {\n \"index\": 60227538,\n \"network_index\": -86819982\n },\n {\n \"index\": 69748241,\n \"network_index\": -37796664\n }\n ],\n \"status\": \"pariatur Lorem\",\n \"account\": {\n \"address\": \"in\",\n \"sub_account\": {\n \"address\": \"sit sint cupidatat\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"amet pariatur\",\n \"currency\": {\n \"symbol\": \"et adi\",\n \"decimals\": 6699682,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"ad elit cillum ipsum\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"ea\",\n \"size\": 20133643,\n \"lockTime\": -33915685\n }\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0889b446-8666-4223-b8f9-ee8817ed7db1","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"veniam eiusmod ut\",\n \"network\": \"elit sit o\",\n \"sub_network_identifier\": {\n \"network\": \"culpa ad magna pariatur\",\n \"metadata\": {\n \"producer\": \"sint eu ut in\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"esse Excepteur sint venia\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"4cb0cb1c-f2a5-489b-a640-299314215f96","name":"Derive an AccountIdentifier from a PublicKey","request":{"name":"Derive an AccountIdentifier from a PublicKey","description":{"content":"Retrieves the Account Identifier information based on a Public Key for a given network","type":"text/plain"},"url":{"path":["rosetta","v1","construction","derive"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"metadata\": {}\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8fd4939c-2af1-4cba-8172-b7a414887f4e","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","derive"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"metadata\": {}\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"address\": \"commodo occaecat exercitation officia\",\n \"account_identifier\": {\n \"address\": \"velit nostrud\",\n \"sub_account\": {\n \"address\": \"dolore cillum\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad52ba4b-d075-4f7f-8586-4f3eff24b75f","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","derive"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"metadata\": {}\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"4cca06e5-0f78-4012-a65d-26b86f3d169b","name":"Get the Hash of a Signed Transaction","request":{"name":"Get the Hash of a Signed Transaction","description":{"content":"Retrieves the network-specific transaction hash for a signed transaction.","type":"text/plain"},"url":{"path":["rosetta","v1","construction","hash"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"cfaab220-389e-4a07-a284-dab0c49ae664","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","hash"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction_identifier\": {\n \"hash\": \"cupidatat\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6eafa757-a061-4bb1-80f5-d811dee50e0a","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","hash"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9f27b3dd-6dce-4ced-b7bd-11be911d2238","name":"Get Metadata for Transaction Construction","request":{"name":"Get Metadata for Transaction Construction","description":{"content":"To Do","type":"text/plain"},"url":{"path":["rosetta","v1","construction","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"options\": {\n \"sender_address\": \"SP3Y0BBCCCBFAMYCYN3F35CX9MH1J2GATP53JX3FA\",\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"token_transfer_recipient_address\": \"string\",\n \"amount\": \"500000\",\n \"symbol\": \"STX\",\n \"decimals\": 6,\n \"gas_limit\": 0,\n \"gas_price\": 0,\n \"suggested_fee_multiplier\": 0,\n \"max_fee\": \"12380898\",\n \"fee\": \"fee\",\n \"size\": 260,\n \"memo\": \"test.memo\",\n \"number_of_cycles\": 0,\n \"contract_address\": \"SP112T7BYCNEDCZ9TCYXCXFNJG9WXX5Q5SG6DSBAM\",\n \"contract_name\": \"STX transfer\",\n \"burn_block_height\": 0,\n \"delegate_to\": \"cb3df38053d132895220b9ce471f6b676db5b9bf0b4adefb55f2118ece2478df01.STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"pox_addr\": \"1Xik14zRm29UsyS6DjhYg4iZeZqsDa8D3\"\n },\n \"public_keys\": [\n {\n \"hex_bytes\": \"publicKey\",\n \"curve_type\": \"secp256k1\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"fad84938-4b09-475e-94aa-5812500b2ebc","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"options\": {\n \"sender_address\": \"SP3Y0BBCCCBFAMYCYN3F35CX9MH1J2GATP53JX3FA\",\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"token_transfer_recipient_address\": \"string\",\n \"amount\": \"500000\",\n \"symbol\": \"STX\",\n \"decimals\": 6,\n \"gas_limit\": 0,\n \"gas_price\": 0,\n \"suggested_fee_multiplier\": 0,\n \"max_fee\": \"12380898\",\n \"fee\": \"fee\",\n \"size\": 260,\n \"memo\": \"test.memo\",\n \"number_of_cycles\": 0,\n \"contract_address\": \"SP112T7BYCNEDCZ9TCYXCXFNJG9WXX5Q5SG6DSBAM\",\n \"contract_name\": \"STX transfer\",\n \"burn_block_height\": 0,\n \"delegate_to\": \"cb3df38053d132895220b9ce471f6b676db5b9bf0b4adefb55f2118ece2478df01.STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"pox_addr\": \"1Xik14zRm29UsyS6DjhYg4iZeZqsDa8D3\"\n },\n \"public_keys\": [\n {\n \"hex_bytes\": \"publicKey\",\n \"curve_type\": \"secp256k1\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"metadata\": {\n \"account_sequence\": 55414571,\n \"recent_block_hash\": \"deserunt cillum nostrud fugiat laborum\"\n },\n \"suggested_fee\": [\n {\n \"value\": \"ad in tempor sit\",\n \"currency\": {\n \"symbol\": \"ullamco officia\",\n \"decimals\": 13011123,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"sit aliquip\",\n \"currency\": {\n \"symbol\": \"laborum occaecat ips\",\n \"decimals\": -2648278,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a0e2650-1920-4f83-8384-2ce44b8a8db1","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","metadata"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"options\": {\n \"sender_address\": \"SP3Y0BBCCCBFAMYCYN3F35CX9MH1J2GATP53JX3FA\",\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"token_transfer_recipient_address\": \"string\",\n \"amount\": \"500000\",\n \"symbol\": \"STX\",\n \"decimals\": 6,\n \"gas_limit\": 0,\n \"gas_price\": 0,\n \"suggested_fee_multiplier\": 0,\n \"max_fee\": \"12380898\",\n \"fee\": \"fee\",\n \"size\": 260,\n \"memo\": \"test.memo\",\n \"number_of_cycles\": 0,\n \"contract_address\": \"SP112T7BYCNEDCZ9TCYXCXFNJG9WXX5Q5SG6DSBAM\",\n \"contract_name\": \"STX transfer\",\n \"burn_block_height\": 0,\n \"delegate_to\": \"cb3df38053d132895220b9ce471f6b676db5b9bf0b4adefb55f2118ece2478df01.STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"pox_addr\": \"1Xik14zRm29UsyS6DjhYg4iZeZqsDa8D3\"\n },\n \"public_keys\": [\n {\n \"hex_bytes\": \"publicKey\",\n \"curve_type\": \"secp256k1\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"947297b8-031a-4f22-8079-aa78bb991141","name":"Parse a Transaction","request":{"name":"Parse a Transaction","description":{"content":"TODO","type":"text/plain"},"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"ipsum quis cupidatat occaecat laborum\",\n \"network\": \"ea in qui ipsum ex\",\n \"sub_network_identifier\": {\n \"network\": \"proident qui id\",\n \"metadata\": {\n \"producer\": \"cillum amet\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"commodo labore\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c9d7448e-25f5-4ecb-a104-ee4509ad4f7b","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"ipsum quis cupidatat occaecat laborum\",\n \"network\": \"ea in qui ipsum ex\",\n \"sub_network_identifier\": {\n \"network\": \"proident qui id\",\n \"metadata\": {\n \"producer\": \"cillum amet\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"commodo labore\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -44330160,\n \"network_index\": 75181772\n },\n \"type\": \"nisi irure dolor\",\n \"related_operations\": [\n {\n \"index\": 89057797,\n \"network_index\": 80765898\n },\n {\n \"index\": 49512709,\n \"network_index\": -63433965\n }\n ],\n \"status\": \"Duis\",\n \"account\": {\n \"address\": \"eu voluptate\",\n \"sub_account\": {\n \"address\": \"dolor sed\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"ut commodo\",\n \"currency\": {\n \"symbol\": \"consequat occaecat dolore esse\",\n \"decimals\": 5635024,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"eu magna\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 36429526,\n \"network_index\": 19963619\n },\n \"type\": \"non nostrud\",\n \"related_operations\": [\n {\n \"index\": -40814551,\n \"network_index\": 29019727\n },\n {\n \"index\": -8044229,\n \"network_index\": 30454004\n }\n ],\n \"status\": \"dolor Lorem minim\",\n \"account\": {\n \"address\": \"dolor ut sed velit sunt\",\n \"sub_account\": {\n \"address\": \"ut irure\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"veniam voluptate ad\",\n \"currency\": {\n \"symbol\": \"commodo dolore deserunt\",\n \"decimals\": 1528524,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"sint qui dolor aliquip\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"signers\": [\n \"ut amet veniam pariatur\",\n \"Duis elit reprehenderit qu\"\n ],\n \"account_identifier_signers\": [\n {\n \"address\": \"dolore cupidatat \",\n \"sub_account\": {\n \"address\": \"dolore esse\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"incididunt\",\n \"sub_account\": {\n \"address\": \"nostrud minim\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c51de6e2-46bf-45a5-8eb3-c1af81f4ab66","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"ipsum quis cupidatat occaecat laborum\",\n \"network\": \"ea in qui ipsum ex\",\n \"sub_network_identifier\": {\n \"network\": \"proident qui id\",\n \"metadata\": {\n \"producer\": \"cillum amet\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"commodo labore\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"039c517d-0231-40ee-b8e5-dc9bca233d5e","name":"Create a Request to Fetch Metadata","request":{"name":"Create a Request to Fetch Metadata","description":{"content":"TODO","type":"text/plain"},"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"eu ut non minim\",\n \"network\": \"mollit Ut Duis incid\",\n \"sub_network_identifier\": {\n \"network\": \"labore amet eiusmod\",\n \"metadata\": {\n \"producer\": \"do non ullamco\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 20774063,\n \"network_index\": -43652275\n },\n \"type\": \"tempor\",\n \"related_operations\": [\n {\n \"index\": 1762952,\n \"network_index\": 35899177\n },\n {\n \"index\": 64646676,\n \"network_index\": -2473932\n }\n ],\n \"status\": \"labore\",\n \"account\": {\n \"address\": \"quis ipsum\",\n \"sub_account\": {\n \"address\": \"consequat ea\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"dolore aliqua ad ut\",\n \"currency\": {\n \"symbol\": \"amet ex Lorem\",\n \"decimals\": -56702141,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"sed irure\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -31229903,\n \"network_index\": -63413214\n },\n \"type\": \"aute\",\n \"related_operations\": [\n {\n \"index\": 72090133,\n \"network_index\": 46961638\n },\n {\n \"index\": 8587264,\n \"network_index\": 90966425\n }\n ],\n \"status\": \"Excepteur aute\",\n \"account\": {\n \"address\": \"esse\",\n \"sub_account\": {\n \"address\": \"enim do\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"est ut\",\n \"currency\": {\n \"symbol\": \"aliqua exercitation reprehenderit dolore\",\n \"decimals\": -6058470,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"dolor eiusmod\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"minim dolor dolore\",\n \"currency\": {\n \"symbol\": \"Lorem et sint\",\n \"decimals\": -70344495,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"in cillum eu\",\n \"currency\": {\n \"symbol\": \"fugiat adipisicing\",\n \"decimals\": 42965134,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -83243658\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"650a2304-ad28-4ed6-a920-197de9260f8d","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"non dolor\",\n \"network\": \"nostrud ex\",\n \"sub_network_identifier\": {\n \"network\": \"deserunt velit sint amet\",\n \"metadata\": {\n \"producer\": \"anim quis nisi officia\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -99441692,\n \"network_index\": -77321002\n },\n \"type\": \"sint Duis\",\n \"related_operations\": [\n {\n \"index\": 9681907,\n \"network_index\": 32836201\n },\n {\n \"index\": 66214036,\n \"network_index\": 51606282\n }\n ],\n \"status\": \"consectetur labore anim sunt\",\n \"account\": {\n \"address\": \"et veniam ex sed\",\n \"sub_account\": {\n \"address\": \"Duis\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"ea nulla officia laborum\",\n \"currency\": {\n \"symbol\": \"et deserunt minim nostrud labore\",\n \"decimals\": 35576512,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"do culpa ut Duis\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 27562702,\n \"network_index\": 48437656\n },\n \"type\": \"occaecat quis dolore\",\n \"related_operations\": [\n {\n \"index\": -33982047,\n \"network_index\": 8392662\n },\n {\n \"index\": -19382681,\n \"network_index\": 18521987\n }\n ],\n \"status\": \"minim velit\",\n \"account\": {\n \"address\": \"incididunt\",\n \"sub_account\": {\n \"address\": \"in cillum ut\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"in elit exercitation\",\n \"currency\": {\n \"symbol\": \"dolore\",\n \"decimals\": 53744275,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"sint cillum esse\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"aute\",\n \"currency\": {\n \"symbol\": \"consectetur commodo nostrud mollit\",\n \"decimals\": -98234752,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"non commodo consequat quis\",\n \"currency\": {\n \"symbol\": \"in proident sint in\",\n \"decimals\": 42462364,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -71782973\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"options\": {\n \"sender_address\": \"minim\",\n \"type\": \"Excepteur eiusmod incididunt\",\n \"status\": \"laborum\",\n \"token_transfer_recipient_address\": \"voluptate sunt\",\n \"amount\": \"id exercitation nulla consequ\",\n \"symbol\": \"proident et ex fugiat\",\n \"decimals\": 56242387,\n \"gas_limit\": -94661153.66240814,\n \"gas_price\": -8947210.70316495,\n \"suggested_fee_multiplier\": 75464947.96800008,\n \"max_fee\": \"ut\",\n \"fee\": \"quis laboris\",\n \"size\": 92937064,\n \"memo\": \"eu aliquip ea\",\n \"number_of_cycles\": 75697672,\n \"contract_address\": \"non proident ex consectetur\",\n \"contract_name\": \"sit quis voluptate\",\n \"burn_block_height\": -89566296,\n \"delegate_to\": \"cupidatat ex ad dolore\",\n \"pox_addr\": \"i\"\n },\n \"required_public_keys\": [\n {\n \"address\": \"quis consectetur in ea\",\n \"sub_account\": {\n \"address\": \"non Duis \",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"sint id enim\",\n \"sub_account\": {\n \"address\": \"elit qui\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b220126f-be07-4db6-abd2-cb9f12a01928","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"non dolor\",\n \"network\": \"nostrud ex\",\n \"sub_network_identifier\": {\n \"network\": \"deserunt velit sint amet\",\n \"metadata\": {\n \"producer\": \"anim quis nisi officia\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -99441692,\n \"network_index\": -77321002\n },\n \"type\": \"sint Duis\",\n \"related_operations\": [\n {\n \"index\": 9681907,\n \"network_index\": 32836201\n },\n {\n \"index\": 66214036,\n \"network_index\": 51606282\n }\n ],\n \"status\": \"consectetur labore anim sunt\",\n \"account\": {\n \"address\": \"et veniam ex sed\",\n \"sub_account\": {\n \"address\": \"Duis\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"ea nulla officia laborum\",\n \"currency\": {\n \"symbol\": \"et deserunt minim nostrud labore\",\n \"decimals\": 35576512,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"do culpa ut Duis\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 27562702,\n \"network_index\": 48437656\n },\n \"type\": \"occaecat quis dolore\",\n \"related_operations\": [\n {\n \"index\": -33982047,\n \"network_index\": 8392662\n },\n {\n \"index\": -19382681,\n \"network_index\": 18521987\n }\n ],\n \"status\": \"minim velit\",\n \"account\": {\n \"address\": \"incididunt\",\n \"sub_account\": {\n \"address\": \"in cillum ut\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"in elit exercitation\",\n \"currency\": {\n \"symbol\": \"dolore\",\n \"decimals\": 53744275,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"sint cillum esse\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"aute\",\n \"currency\": {\n \"symbol\": \"consectetur commodo nostrud mollit\",\n \"decimals\": -98234752,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"non commodo consequat quis\",\n \"currency\": {\n \"symbol\": \"in proident sint in\",\n \"decimals\": 42462364,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -71782973\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"3e1e45bd-af36-4704-94c8-b9ce60178d2b","name":"Submit a Signed Transaction","request":{"name":"Submit a Signed Transaction","description":{"content":"Submit a pre-signed transaction to the node. The examples below are illustrative only. You'll need to use your wallet to generate actual values to use them in the request payload.","type":"text/plain"},"url":{"path":["rosetta","v1","construction","submit"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6d635b11-246a-4fb0-bda5-fd9c1e02e44b","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","submit"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction_identifier\": {\n \"hash\": \"pariatur adipisicing\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1df05df1-bd42-42ed-b146-1e4ecbd96453","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","submit"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"signed_transaction\": \"0x80800000000400539886f96611ba3ba6cef9618f8c78118b37c5be000000000000000000000000000000b400017a33a91515ef48608a99c6adecd2eb258e11534a1acf66348f5678c8e2c8f83d243555ed67a0019d3500df98563ca31321c1a675b43ef79f146e322fe08df75103020000000000051a1ae3f911d8f1d46d7416bfbe4b593fd41eac19cb000000000007a12000000000000000000000000000000000000000000000000000000000000000000000\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b5d3e243-d188-4bc1-b03e-b8ef2ac82d4e","name":"Generate an Unsigned Transaction and Signing Payloads","request":{"name":"Generate an Unsigned Transaction and Signing Payloads","description":{"content":"Generate an unsigned transaction from operations and metadata. The examples below are illustrative only. You'll need to use your wallet to generate actual values to use them in the request payload.","type":"text/plain"},"url":{"path":["rosetta","v1","construction","payloads"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 0,\n \"network_index\": 0\n },\n \"related_operations\": [\n {\n \"index\": 0,\n \"network_index\": 0\n }\n ],\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"account\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n }\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2a161311-d443-4ae4-9284-b95a3b51d948","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","payloads"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 0,\n \"network_index\": 0\n },\n \"related_operations\": [\n {\n \"index\": 0,\n \"network_index\": 0\n }\n ],\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"account\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n }\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"unsigned_transaction\": \"com\",\n \"payloads\": [\n {\n \"hex_bytes\": \"amet labore reprehenderit\",\n \"address\": \"culpa\",\n \"account_identifier\": {\n \"address\": \"Ut irure\",\n \"sub_account\": {\n \"address\": \"laboris aute in adipisicing\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"ecdsa_recovery\"\n },\n {\n \"hex_bytes\": \"fugiat dolore e\",\n \"address\": \"consequat dolore\",\n \"account_identifier\": {\n \"address\": \"sint anim Ut in\",\n \"sub_account\": {\n \"address\": \"sed cillum ut nisi\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"schnorr_poseidon\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6c3f1f38-658a-4e42-8add-7c2d5221ec93","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","payloads"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 0,\n \"network_index\": 0\n },\n \"related_operations\": [\n {\n \"index\": 0,\n \"network_index\": 0\n }\n ],\n \"type\": \"stack_stx\",\n \"status\": \"success\",\n \"account\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n }\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f4040223-695f-4b03-976e-71f48f990a99","name":"Create Network Transaction from Signatures","request":{"name":"Create Network Transaction from Signatures","description":{"content":"Take unsigned transaction and signature, combine both and return signed transaction. The examples below are illustrative only. You'll need to use your wallet to generate actual values to use them in the request payload.","type":"text/plain"},"url":{"path":["rosetta","v1","construction","combine"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"unsigned_transaction\": \"00000000010400539886f96611ba3ba6cef9618f8c78118b37c5be0000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003020000000000051ab71a091b4b8b7661a661c620966ab6573bc2dcd3000000000007a12074657374207472616e73616374696f6e000000000000000000000000000000000000\",\n \"signatures\": [\n {\n \"signing_payload\": {\n \"address\": \"string\",\n \"account_identifier\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n },\n \"hex_bytes\": \"string\",\n \"signature_type\": \"ecdsa\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"signature_type\": \"ecdsa\",\n \"hex_bytes\": \"string\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"880a8ebd-8e85-4e8c-809a-6efae37e874b","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","combine"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"unsigned_transaction\": \"00000000010400539886f96611ba3ba6cef9618f8c78118b37c5be0000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003020000000000051ab71a091b4b8b7661a661c620966ab6573bc2dcd3000000000007a12074657374207472616e73616374696f6e000000000000000000000000000000000000\",\n \"signatures\": [\n {\n \"signing_payload\": {\n \"address\": \"string\",\n \"account_identifier\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n },\n \"hex_bytes\": \"string\",\n \"signature_type\": \"ecdsa\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"signature_type\": \"ecdsa\",\n \"hex_bytes\": \"string\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"signed_transaction\": \"sed amet dolore aliquip deserunt\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eb41cda2-1298-49a5-ae06-dfe303ab433e","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","combine"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"unsigned_transaction\": \"00000000010400539886f96611ba3ba6cef9618f8c78118b37c5be0000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003020000000000051ab71a091b4b8b7661a661c620966ab6573bc2dcd3000000000007a12074657374207472616e73616374696f6e000000000000000000000000000000000000\",\n \"signatures\": [\n {\n \"signing_payload\": {\n \"address\": \"string\",\n \"account_identifier\": {\n \"address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"metadata\": {}\n },\n \"hex_bytes\": \"string\",\n \"signature_type\": \"ecdsa\"\n },\n \"public_key\": {\n \"hex_bytes\": \"025c13b2fc2261956d8a4ad07d481b1a3b2cbf93a24f992249a61c3a1c4de79c51\",\n \"curve_type\": \"secp256k1\"\n },\n \"signature_type\": \"ecdsa\",\n \"hex_bytes\": \"string\"\n }\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -39466373,\n \"message\": \"ullamco est\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"cillum ut aute\",\n \"error\": \"aute esse quis anim\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"24a2efbe-0380-40cf-9749-878bb15061d3","name":"Search","description":{"content":"Read-only endpoints to search for accounts, blocks, smart contracts, and transactions","type":"text/plain"},"item":[{"id":"aede56b7-9b9d-4f98-9b00-6a3407c41ddc","name":"Search","request":{"name":"Search","description":{"content":"Search blocks, transactions, contracts, or accounts by hash/ID","type":"text/plain"},"url":{"path":["extended","v1","search",":id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"include_metadata","value":"true","description":"This includes the detailed data for purticular hash in the response"}],"variable":[{"disabled":false,"type":"any","value":"0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d","key":"id","description":"(Required) The hex hash string for a block or transaction, account address, or contract address"}]},"method":"GET","auth":null},"response":[{"id":"64744560-2dd6-4c99-8e78-6b432575de1f","name":"Success","originalRequest":{"url":{"path":["extended","v1","search",":id"],"host":["{{baseUrl}}"],"query":[{"key":"include_metadata","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d","key":"id","description":"(Required) The hex hash string for a block or transaction, account address, or contract address"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"found\": true,\n \"result\": {\n \"entity_id\": \"ST2P7B9G6Y55QWZJ9B93DVSEG5S6Z4PFJHB3XRKHW.hello_world\",\n \"entity_type\": \"contract_address\",\n \"tx_data\": {\n \"canonical\": true,\n \"block_hash\": \"0xb076fd3983e63bbf28ae615daa31c5b6084d23ceeb920c54f1ea666244415457\",\n \"burn_block_time\": 1595229199,\n \"block_height\": 648,\n \"tx_type\": \"smart_contract\"\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"28680dc7-2233-4ae8-b4eb-69898d1a208b","name":"Not found","originalRequest":{"url":{"path":["extended","v1","search",":id"],"host":["{{baseUrl}}"],"query":[{"key":"include_metadata","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d","key":"id","description":"(Required) The hex hash string for a block or transaction, account address, or contract address"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"found\": false,\n \"result\": {\n \"entity_type\": \"unknown_hash\"\n },\n \"error\": \"No block or transaction found with hash \\\"0xabc123\\\"\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"832e457a-8e50-41b5-b7ba-bc0f84878a25","name":"Smart Contracts","description":{"content":"Read-only endpoints to obtain Clarity smart contract details","type":"text/plain"},"item":[{"id":"5ec24273-a309-4e85-b386-6e843dfe74e1","name":"Get contract info","request":{"name":"Get contract info","description":{"content":"Retrieves details of a contract with a given `contract_id`","type":"text/plain"},"url":{"path":["extended","v1","contract",":contract_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","auth":null},"response":[{"id":"d7bea1c9-266d-4097-9e26-2a23475e3f90","name":"Contract found","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"tx_id\": \"0xb8b822f30a063fda8f9d44a23530a562a1ed93867d5977fbb12b1c284736edbb\",\n \"canonical\": true,\n \"contract_id\": \"SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.btc-ft-swap\",\n \"block_height\": 23131,\n \"source_code\": \"(use-trait fungible-token 'SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.sip-010-trait-ft-standard.sip-010-trait) (define-constant expiry u100) (define-map swaps uint {sats: uint, btc-receiver: (buff 40), amount: uint, ft-receiver: (optional principal), ft-sender: principal, when: uint, done: uint, ft: principal}) (define-data-var next-id uint u0) (define-private (find-out (entry {scriptPubKey: (buff 128), value: (buff 8)}) (result {pubscriptkey: (buff 40), out: (optional {scriptPubKey: (buff 128), value: uint})})) (if (is-eq (get scriptPubKey entry) (get pubscriptkey result)) (merge result {out: (some {scriptPubKey: (get scriptPubKey entry), value: (get uint32 (unwrap-panic (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 read-uint32 {txbuff: (get value entry), index: u0})))})}) result)) (define-public (get-out-value (tx { version: (buff 4), ins: (list 8 {outpoint: {hash: (buff 32), index: (buff 4)}, scriptSig: (buff 256), sequence: (buff 4)}), outs: (list 8 {value: (buff 8), scriptPubKey: (buff 128)}), locktime: (buff 4)}) (pubscriptkey (buff 40))) (ok (fold find-out (get outs tx) {pubscriptkey: pubscriptkey, out: none}))) ;; create a swap between btc and fungible token (define-public (create-swap (sats uint) (btc-receiver (buff 40)) (amount uint) (ft-receiver (optional principal)) (ft )) (let ((id (var-get next-id))) (asserts! (map-insert swaps id {sats: sats, btc-receiver: btc-receiver, amount: amount, ft-receiver: ft-receiver, ft-sender: tx-sender, when: block-height, done: u0, ft: (contract-of ft)}) ERR_INVALID_ID) (var-set next-id (+ id u1)) (match (contract-call? ft transfer amount tx-sender (as-contract tx-sender) (some 0x636174616d6172616e2073776170)) success (ok id) error (err (* error u1000))))) (define-public (set-ft-receiver (id uint)) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID))) (if (is-none (get ft-receiver swap)) (begin (asserts! (map-set swaps id (merge swap {ft-receiver: (some tx-sender)})) ERR_NATIVE_FAILURE) (ok true)) ERR_ALREADY_DONE))) ;; any user can cancle the swap after the expiry period (define-public (cancel (id uint) (ft )) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID))) (asserts! (is-eq (contract-of ft) (get ft swap)) ERR_INVALID_FUNGIBLE_TOKEN) (asserts! (< (+ (get when swap) expiry) block-height) ERR_TOO_EARLY) (asserts! (is-eq (get done swap) u0) ERR_ALREADY_DONE) (asserts! (map-set swaps id (merge swap {done: u1})) ERR_NATIVE_FAILURE) (as-contract (contract-call? ft transfer (get amount swap) tx-sender (get ft-sender swap) (some 0x72657665727420636174616d6172616e2073776170))))) ;; any user can submit a tx that contains the swap (define-public (submit-swap (id uint) (block { version: (buff 4), parent: (buff 32), merkle-root: (buff 32), timestamp: (buff 4), nbits: (buff 4), nonce: (buff 4), height: uint }) (tx {version: (buff 4), ins: (list 8 {outpoint: {hash: (buff 32), index: (buff 4)}, scriptSig: (buff 256), sequence: (buff 4)}), outs: (list 8 {value: (buff 8), scriptPubKey: (buff 128)}), locktime: (buff 4)}) (proof { tx-index: uint, hashes: (list 12 (buff 32)), tree-depth: uint }) (ft )) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID)) (tx-buff (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 concat-tx tx))) (match (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 was-tx-mined block tx-buff proof) result (begin (asserts! result ERR_VERIFICATION_FAILED) (asserts! (is-eq (get done swap) u0) ERR_ALREADY_DONE) (match (get out (unwrap! (get-out-value tx (get btc-receiver swap)) ERR_NATIVE_FAILURE)) out (if (>= (get value out) (get sats swap)) (begin (asserts! (is-eq (contract-of ft) (get ft swap)) ERR_INVALID_FUNGIBLE_TOKEN) (asserts! (map-set swaps id (merge swap {done: u1})) ERR_NATIVE_FAILURE) (as-contract (contract-call? ft transfer (get amount swap) tx-sender (unwrap! (get ft-receiver swap) ERR_NO_FT_RECEIVER) (some 0x636174616d6172616e2073776170)))) ERR_TX_VALUE_TOO_SMALL) ERR_TX_NOT_FOR_RECEIVER)) error (err (* error u1000))))) (define-constant ERR_VERIFICATION_FAILED (err u1)) (define-constant ERR_FAILED_TO_PARSE_TX (err u2)) (define-constant ERR_INVALID_ID (err u3)) (define-constant ERR_TOO_EARLY (err u4)) (define-constant ERR_TX_VALUE_TOO_SMALL (err u5)) (define-constant ERR_TX_NOT_FOR_RECEIVER (err u6)) (define-constant ERR_ALREADY_DONE (err u7)) (define-constant ERR_INVALID_FUNGIBLE_TOKEN (err u8)) (define-constant ERR_NO_FT_RECEIVER (err u9)) (define-constant ERR_NATIVE_FAILURE (err u99)) \",\n \"abi\": \"{\\\"maps\\\":[{\\\"key\\\":\\\"uint128\\\",\\\"name\\\":\\\"swaps\\\",\\\"value\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"btc-receiver\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}},{\\\"name\\\":\\\"done\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"principal\\\"},{\\\"name\\\":\\\"ft-receiver\\\",\\\"type\\\":{\\\"optional\\\":\\\"principal\\\"}},{\\\"name\\\":\\\"ft-sender\\\",\\\"type\\\":\\\"principal\\\"},{\\\"name\\\":\\\"sats\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"when\\\",\\\"type\\\":\\\"uint128\\\"}]}}],\\\"functions\\\":[{\\\"args\\\":[{\\\"name\\\":\\\"entry\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]}},{\\\"name\\\":\\\"result\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]}}],\\\"name\\\":\\\"find-out\\\",\\\"access\\\":\\\"private\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"cancel\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"sats\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"btc-receiver\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}},{\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft-receiver\\\",\\\"type\\\":{\\\"optional\\\":\\\"principal\\\"}},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"create-swap\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"uint128\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"tx\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"ins\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"outpoint\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hash\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"index\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"scriptSig\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":256}}},{\\\"name\\\":\\\"sequence\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"locktime\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"outs\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}],\\\"name\\\":\\\"get-out-value\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]},\\\"error\\\":\\\"none\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"}],\\\"name\\\":\\\"set-ft-receiver\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"block\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"height\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"merkle-root\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"nbits\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"nonce\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"parent\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"timestamp\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"tx\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"ins\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"outpoint\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hash\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"index\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"scriptSig\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":256}}},{\\\"name\\\":\\\"sequence\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"locktime\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"outs\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"proof\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hashes\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}},\\\"length\\\":12}}},{\\\"name\\\":\\\"tree-depth\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"tx-index\\\",\\\"type\\\":\\\"uint128\\\"}]}},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"submit-swap\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}}],\\\"variables\\\":[{\\\"name\\\":\\\"ERR_ALREADY_DONE\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_FAILED_TO_PARSE_TX\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_INVALID_FUNGIBLE_TOKEN\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_INVALID_ID\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_NATIVE_FAILURE\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_NO_FT_RECEIVER\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TOO_EARLY\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TX_NOT_FOR_RECEIVER\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TX_VALUE_TOO_SMALL\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_VERIFICATION_FAILED\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"expiry\\\",\\\"type\\\":\\\"uint128\\\",\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"next-id\\\",\\\"type\\\":\\\"uint128\\\",\\\"access\\\":\\\"variable\\\"}],\\\"fungible_tokens\\\":[],\\\"non_fungible_tokens\\\":[]}\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9d705160-2181-4b18-b8c9-f904d320c409","name":"Cannot find contract of given ID","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"e7f10061-5647-427c-b447-269b9f6464e6","name":"Get contracts by trait","request":{"name":"Get contracts by trait","description":{"content":"Retrieves a list of contracts based on the following traits listed in JSON format - functions, variables, maps, fungible tokens and non-fungible tokens","type":"text/plain"},"url":{"path":["extended","v1","contract","by_trait"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"trait_abi","value":"laboris amet sit","description":"(Required) JSON abi of the trait."},{"disabled":false,"key":"limit","value":"76744710","description":"max number of contracts fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first contract event to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"16137962-3e45-4782-971a-d9e8200a04dd","name":"List of contracts implement given trait","originalRequest":{"url":{"path":["extended","v1","contract","by_trait"],"host":["{{baseUrl}}"],"query":[{"key":"trait_abi","value":"laboris amet sit"},{"key":"limit","value":"76744710"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"offset\": 0,\n \"limit\": 10,\n \"result\": [\n {\n \"tx_id\": \"0xb8b822f30a063fda8f9d44a23530a562a1ed93867d5977fbb12b1c284736edbb\",\n \"canonical\": true,\n \"contract_id\": \"SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.btc-ft-swap\",\n \"block_height\": 23131,\n \"source_code\": \"(use-trait fungible-token 'SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.sip-010-trait-ft-standard.sip-010-trait) (define-constant expiry u100) (define-map swaps uint {sats: uint, btc-receiver: (buff 40), amount: uint, ft-receiver: (optional principal), ft-sender: principal, when: uint, done: uint, ft: principal}) (define-data-var next-id uint u0) (define-private (find-out (entry {scriptPubKey: (buff 128), value: (buff 8)}) (result {pubscriptkey: (buff 40), out: (optional {scriptPubKey: (buff 128), value: uint})})) (if (is-eq (get scriptPubKey entry) (get pubscriptkey result)) (merge result {out: (some {scriptPubKey: (get scriptPubKey entry), value: (get uint32 (unwrap-panic (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 read-uint32 {txbuff: (get value entry), index: u0})))})}) result)) (define-public (get-out-value (tx { version: (buff 4), ins: (list 8 {outpoint: {hash: (buff 32), index: (buff 4)}, scriptSig: (buff 256), sequence: (buff 4)}), outs: (list 8 {value: (buff 8), scriptPubKey: (buff 128)}), locktime: (buff 4)}) (pubscriptkey (buff 40))) (ok (fold find-out (get outs tx) {pubscriptkey: pubscriptkey, out: none}))) ;; create a swap between btc and fungible token (define-public (create-swap (sats uint) (btc-receiver (buff 40)) (amount uint) (ft-receiver (optional principal)) (ft )) (let ((id (var-get next-id))) (asserts! (map-insert swaps id {sats: sats, btc-receiver: btc-receiver, amount: amount, ft-receiver: ft-receiver, ft-sender: tx-sender, when: block-height, done: u0, ft: (contract-of ft)}) ERR_INVALID_ID) (var-set next-id (+ id u1)) (match (contract-call? ft transfer amount tx-sender (as-contract tx-sender) (some 0x636174616d6172616e2073776170)) success (ok id) error (err (* error u1000))))) (define-public (set-ft-receiver (id uint)) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID))) (if (is-none (get ft-receiver swap)) (begin (asserts! (map-set swaps id (merge swap {ft-receiver: (some tx-sender)})) ERR_NATIVE_FAILURE) (ok true)) ERR_ALREADY_DONE))) ;; any user can cancle the swap after the expiry period (define-public (cancel (id uint) (ft )) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID))) (asserts! (is-eq (contract-of ft) (get ft swap)) ERR_INVALID_FUNGIBLE_TOKEN) (asserts! (< (+ (get when swap) expiry) block-height) ERR_TOO_EARLY) (asserts! (is-eq (get done swap) u0) ERR_ALREADY_DONE) (asserts! (map-set swaps id (merge swap {done: u1})) ERR_NATIVE_FAILURE) (as-contract (contract-call? ft transfer (get amount swap) tx-sender (get ft-sender swap) (some 0x72657665727420636174616d6172616e2073776170))))) ;; any user can submit a tx that contains the swap (define-public (submit-swap (id uint) (block { version: (buff 4), parent: (buff 32), merkle-root: (buff 32), timestamp: (buff 4), nbits: (buff 4), nonce: (buff 4), height: uint }) (tx {version: (buff 4), ins: (list 8 {outpoint: {hash: (buff 32), index: (buff 4)}, scriptSig: (buff 256), sequence: (buff 4)}), outs: (list 8 {value: (buff 8), scriptPubKey: (buff 128)}), locktime: (buff 4)}) (proof { tx-index: uint, hashes: (list 12 (buff 32)), tree-depth: uint }) (ft )) (let ((swap (unwrap! (map-get? swaps id) ERR_INVALID_ID)) (tx-buff (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 concat-tx tx))) (match (contract-call? 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.clarity-bitcoin-lib-v1 was-tx-mined block tx-buff proof) result (begin (asserts! result ERR_VERIFICATION_FAILED) (asserts! (is-eq (get done swap) u0) ERR_ALREADY_DONE) (match (get out (unwrap! (get-out-value tx (get btc-receiver swap)) ERR_NATIVE_FAILURE)) out (if (>= (get value out) (get sats swap)) (begin (asserts! (is-eq (contract-of ft) (get ft swap)) ERR_INVALID_FUNGIBLE_TOKEN) (asserts! (map-set swaps id (merge swap {done: u1})) ERR_NATIVE_FAILURE) (as-contract (contract-call? ft transfer (get amount swap) tx-sender (unwrap! (get ft-receiver swap) ERR_NO_FT_RECEIVER) (some 0x636174616d6172616e2073776170)))) ERR_TX_VALUE_TOO_SMALL) ERR_TX_NOT_FOR_RECEIVER)) error (err (* error u1000))))) (define-constant ERR_VERIFICATION_FAILED (err u1)) (define-constant ERR_FAILED_TO_PARSE_TX (err u2)) (define-constant ERR_INVALID_ID (err u3)) (define-constant ERR_TOO_EARLY (err u4)) (define-constant ERR_TX_VALUE_TOO_SMALL (err u5)) (define-constant ERR_TX_NOT_FOR_RECEIVER (err u6)) (define-constant ERR_ALREADY_DONE (err u7)) (define-constant ERR_INVALID_FUNGIBLE_TOKEN (err u8)) (define-constant ERR_NO_FT_RECEIVER (err u9)) (define-constant ERR_NATIVE_FAILURE (err u99)) \",\n \"abi\": \"{\\\"maps\\\":[{\\\"key\\\":\\\"uint128\\\",\\\"name\\\":\\\"swaps\\\",\\\"value\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"btc-receiver\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}},{\\\"name\\\":\\\"done\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"principal\\\"},{\\\"name\\\":\\\"ft-receiver\\\",\\\"type\\\":{\\\"optional\\\":\\\"principal\\\"}},{\\\"name\\\":\\\"ft-sender\\\",\\\"type\\\":\\\"principal\\\"},{\\\"name\\\":\\\"sats\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"when\\\",\\\"type\\\":\\\"uint128\\\"}]}}],\\\"functions\\\":[{\\\"args\\\":[{\\\"name\\\":\\\"entry\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]}},{\\\"name\\\":\\\"result\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]}}],\\\"name\\\":\\\"find-out\\\",\\\"access\\\":\\\"private\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"cancel\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"sats\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"btc-receiver\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}},{\\\"name\\\":\\\"amount\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"ft-receiver\\\",\\\"type\\\":{\\\"optional\\\":\\\"principal\\\"}},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"create-swap\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"uint128\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"tx\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"ins\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"outpoint\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hash\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"index\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"scriptSig\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":256}}},{\\\"name\\\":\\\"sequence\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"locktime\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"outs\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}],\\\"name\\\":\\\"get-out-value\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"out\\\",\\\"type\\\":{\\\"optional\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":\\\"uint128\\\"}]}}},{\\\"name\\\":\\\"pubscriptkey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":40}}}]},\\\"error\\\":\\\"none\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"}],\\\"name\\\":\\\"set-ft-receiver\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}},{\\\"args\\\":[{\\\"name\\\":\\\"id\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"block\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"height\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"merkle-root\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"nbits\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"nonce\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"parent\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"timestamp\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"tx\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"ins\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"outpoint\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hash\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}}},{\\\"name\\\":\\\"index\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"scriptSig\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":256}}},{\\\"name\\\":\\\"sequence\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"locktime\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}},{\\\"name\\\":\\\"outs\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"scriptPubKey\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":128}}},{\\\"name\\\":\\\"value\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":8}}}]},\\\"length\\\":8}}},{\\\"name\\\":\\\"version\\\",\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":4}}}]}},{\\\"name\\\":\\\"proof\\\",\\\"type\\\":{\\\"tuple\\\":[{\\\"name\\\":\\\"hashes\\\",\\\"type\\\":{\\\"list\\\":{\\\"type\\\":{\\\"buffer\\\":{\\\"length\\\":32}},\\\"length\\\":12}}},{\\\"name\\\":\\\"tree-depth\\\",\\\"type\\\":\\\"uint128\\\"},{\\\"name\\\":\\\"tx-index\\\",\\\"type\\\":\\\"uint128\\\"}]}},{\\\"name\\\":\\\"ft\\\",\\\"type\\\":\\\"trait_reference\\\"}],\\\"name\\\":\\\"submit-swap\\\",\\\"access\\\":\\\"public\\\",\\\"outputs\\\":{\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"bool\\\",\\\"error\\\":\\\"uint128\\\"}}}}],\\\"variables\\\":[{\\\"name\\\":\\\"ERR_ALREADY_DONE\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_FAILED_TO_PARSE_TX\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_INVALID_FUNGIBLE_TOKEN\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_INVALID_ID\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_NATIVE_FAILURE\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_NO_FT_RECEIVER\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TOO_EARLY\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TX_NOT_FOR_RECEIVER\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_TX_VALUE_TOO_SMALL\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"ERR_VERIFICATION_FAILED\\\",\\\"type\\\":{\\\"response\\\":{\\\"ok\\\":\\\"none\\\",\\\"error\\\":\\\"uint128\\\"}},\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"expiry\\\",\\\"type\\\":\\\"uint128\\\",\\\"access\\\":\\\"constant\\\"},{\\\"name\\\":\\\"next-id\\\",\\\"type\\\":\\\"uint128\\\",\\\"access\\\":\\\"variable\\\"}],\\\"fungible_tokens\\\":[],\\\"non_fungible_tokens\\\":[]}\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"4a0d6a03-b13a-47b5-9110-b14e49128b67","name":"Get contract events","request":{"name":"Get contract events","description":{"content":"Retrieves a list of events that have been triggered by a given `contract_id`","type":"text/plain"},"url":{"path":["extended","v1","contract",":contract_id","events"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"76744710","description":"max number of contract events to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first contract event to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","auth":null},"response":[{"id":"7194b260-e7fd-4ccf-be1e-75efec42b04d","name":"List of events","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id","events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76744710"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C.satoshibles","key":"contract_id","description":"(Required) Contract identifier formatted as `.`"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"results\": [\n {\n \"event_index\": 1,\n \"event_type\": \"smart_contract_log\",\n \"contract_log\": {\n \"contract_id\": \"ST2P7B9G6Y55QWZJ9B93DVSEG5S6Z4PFJHB3XRKHW.hello_world\",\n \"topic\": \"print\",\n \"value\": {\n \"hex\": \"0x02000000124576656e74212048656c6c6f20776f726c64\",\n \"repr\": \"\\\"Event! Hello world\\\"\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b1c57c93-2313-4ae2-9955-3081e5ef6c95","name":"Get contract interface","request":{"name":"Get contract interface","description":{"content":"Retrieves a contract interface with a given `contract_address` and `contract name`","type":"text/plain"},"url":{"path":["v2","contracts","interface",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"tip","value":"laboris amet sit","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"satoshibles","key":"contract_name","description":"(Required) Contract name"}]},"method":"GET","auth":null},"response":[{"id":"36d0f713-8a09-4e2e-a686-fe0ffc826db1","name":"Contract interface","originalRequest":{"url":{"path":["v2","contracts","interface",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"laboris amet sit"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"satoshibles","key":"contract_name","description":"(Required) Contract name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"functions\": [\n {\n \"name\": \"get-value\",\n \"access\": \"public\",\n \"args\": [\n {\n \"name\": \"key\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n }\n ],\n \"outputs\": {\n \"type\": {\n \"response\": {\n \"ok\": {\n \"buffer\": {\n \"length\": 32\n }\n },\n \"error\": \"int128\"\n }\n }\n }\n },\n {\n \"name\": \"set-value\",\n \"access\": \"public\",\n \"args\": [\n {\n \"name\": \"key\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n },\n {\n \"name\": \"value\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n }\n ],\n \"outputs\": {\n \"type\": {\n \"response\": {\n \"ok\": \"uint128\",\n \"error\": \"none\"\n }\n }\n }\n },\n {\n \"name\": \"test-emit-event\",\n \"access\": \"public\",\n \"args\": [],\n \"outputs\": {\n \"type\": {\n \"response\": {\n \"ok\": \"uint128\",\n \"error\": \"none\"\n }\n }\n }\n },\n {\n \"name\": \"test-event-types\",\n \"access\": \"public\",\n \"args\": [],\n \"outputs\": {\n \"type\": {\n \"response\": {\n \"ok\": \"uint128\",\n \"error\": \"none\"\n }\n }\n }\n }\n ],\n \"variables\": [\n {\n \"name\": \"recipient\",\n \"type\": \"principal\",\n \"access\": \"constant\"\n },\n {\n \"name\": \"sender\",\n \"type\": \"principal\",\n \"access\": \"constant\"\n }\n ],\n \"maps\": [\n {\n \"name\": \"store\",\n \"key\": [\n {\n \"name\": \"key\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n }\n ],\n \"value\": [\n {\n \"name\": \"value\",\n \"type\": {\n \"buffer\": {\n \"length\": 32\n }\n }\n }\n ]\n }\n ],\n \"fungible_tokens\": [\n {\n \"name\": \"novel-token-19\"\n }\n ],\n \"non_fungible_tokens\": [\n {\n \"name\": \"hello-nft\",\n \"type\": \"uint128\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f551dea0-77f5-42c1-bf5b-c74a00a6554f","name":"Get specific data-map inside a contract","request":{"name":"Get specific data-map inside a contract","description":{"content":"Attempt to fetch data from a contract data map. The contract is identified with Stacks Address `contract_address` and Contract Name `contract_address` in the URL path. The map is identified with [Map Name].\n\nThe key to lookup in the map is supplied via the POST body. This should be supplied as the hex string serialization of the key (which should be a Clarity value). Note, this is a JSON string atom.\n\nIn the response, `data` is the hex serialization of the map response. Note that map responses are Clarity option types, for non-existent values, this is a serialized none, and for all other responses, it is a serialized (some ...) object.\n","type":"text/plain"},"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"proof","value":"76744710","description":"Returns object without the proof field when set to 0"},{"disabled":false,"key":"tip","value":"laboris amet sit","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"newyorkcitycoin-core-v2","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"approved-contracts","key":"map_name","description":"(Required) Map name"}]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"\"0x0100000000000000000000000000000095\"","options":{"raw":{"language":"json"}}}},"response":[{"id":"9393db69-f973-4de4-b5dd-5025ea71a7a8","name":"Success","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"76744710"},{"key":"tip","value":"laboris amet sit"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"newyorkcitycoin-core-v2","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"approved-contracts","key":"map_name","description":"(Required) Map name"}]},"method":"POST","body":{"mode":"raw","raw":"\"0x0100000000000000000000000000000095\"","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"data\": \"0x0a0c000000010a6d6f6e737465722d69640100000000000000000000000000000001\",\n \"proof\": \"0x123...\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a1f5fbe6-19ea-44ef-a447-c6a2babdba7a","name":"Failed loading data map","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"76744710"},{"key":"tip","value":"laboris amet sit"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"newyorkcitycoin-core-v2","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"approved-contracts","key":"map_name","description":"(Required) Map name"}]},"method":"POST","body":{"mode":"raw","raw":"\"0x0100000000000000000000000000000095\"","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"1cae0cf6-e39d-4a87-a9ae-30817549911e","name":"Get contract source","request":{"name":"Get contract source","description":{"content":"Retrieves the Clarity source code of a given contract, along with the block height it was published in, and the MARF proof for the data","type":"text/plain"},"url":{"path":["v2","contracts","source",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"proof","value":"76744710","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"laboris amet sit","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"satoshibles","key":"contract_name","description":"(Required) Contract name"}]},"method":"GET","auth":null},"response":[{"id":"b0e774e7-0d24-4692-a9c9-b14bc3a32de6","name":"Success","originalRequest":{"url":{"path":["v2","contracts","source",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"76744710"},{"key":"tip","value":"laboris amet sit"}],"variable":[{"disabled":false,"type":"any","value":"SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"satoshibles","key":"contract_name","description":"(Required) Contract name"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"source\": \"(define-constant sender 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR)\\n(define-constant recipient 'SM2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQVX8X0G)\\n\\n(define-fungible-token novel-token-19)\\n(begin (ft-mint? novel-token-19 u12 sender))\\n(begin (ft-transfer? novel-token-19 u2 sender recipient))\\n\\n(define-non-fungible-token hello-nft uint)\\n(begin (nft-mint? hello-nft u1 sender))\\n(begin (nft-mint? hello-nft u2 sender))\\n(begin (nft-transfer? hello-nft u1 sender recipient))\\n\\n(define-public (test-emit-event)\\n (begin\\n (print \\\"Event! Hello world\\\")\\n (ok u1)))\\n(begin (test-emit-event))\\n\\n(define-public (test-event-types)\\n (begin\\n (unwrap-panic (ft-mint? novel-token-19 u3 recipient))\\n (unwrap-panic (nft-mint? hello-nft u2 recipient))\\n (unwrap-panic (stx-transfer? u60 tx-sender 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR))\\n (unwrap-panic (stx-burn? u20 tx-sender))\\n (ok u1)))\\n\\n(define-map store ((key (buff 32))) ((value (buff 32))))\\n(define-public (get-value (key (buff 32)))\\n (begin\\n (match (map-get? store ((key key)))\\n entry (ok (get value entry))\\n (err 0))))\\n(define-public (set-value (key (buff 32)) (value (buff 32)))\\n (begin\\n (map-set store ((key key)) ((value value)))\\n (ok u1)))\",\n \"publish_height\": 3196,\n \"proof\": \"0000001104060000001ec4e...\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"54b31248-2100-4be2-8be4-0be53b92c2dd","name":"Call read-only function","request":{"name":"Call read-only function","description":{"content":"Call a read-only public function on a given smart contract.\n\nThe smart contract and function are specified using the URL path. The arguments and the simulated tx-sender are supplied via the POST body in the following JSON format:\n","type":"text/plain"},"url":{"path":["v2","contracts","call-read",":contract_address",":contract_name",":function_name"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"tip","value":"laboris amet sit","description":"The Stacks chain tip to query from"}],"variable":[{"disabled":false,"type":"any","value":"SP187Y7NRSG3T9Z9WTSWNEN3XRV1YSJWS81C7JKV7","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"imaginary-friends-zebras","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"get-token-uri","key":"function_name","description":"(Required) Function name"}]},"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n \"sender\": \"STM9EQRAB3QAKF8NKTP15WJT7VHH4EWG3DJB4W29\",\n \"arguments\": [\n \"0x0100000000000000000000000000000095\"\n ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"23b1573a-0127-45f7-b92c-8dabb55ecc17","name":"Success","originalRequest":{"url":{"path":["v2","contracts","call-read",":contract_address",":contract_name",":function_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"laboris amet sit"}],"variable":[{"disabled":false,"type":"any","value":"SP187Y7NRSG3T9Z9WTSWNEN3XRV1YSJWS81C7JKV7","key":"contract_address","description":"(Required) Stacks address"},{"disabled":false,"type":"any","value":"imaginary-friends-zebras","key":"contract_name","description":"(Required) Contract name"},{"disabled":false,"type":"any","value":"get-token-uri","key":"function_name","description":"(Required) Function name"}]},"method":"POST","body":{"mode":"raw","raw":"{\n \"sender\": \"STM9EQRAB3QAKF8NKTP15WJT7VHH4EWG3DJB4W29\",\n \"arguments\": [\n \"0x0100000000000000000000000000000095\"\n ]\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"okay\": true,\n \"result\": \"0x111...\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"d606718a-1e83-480f-8564-1e9d781a573e","name":"Stacking Rewards","description":{"content":"Read-only endpoints to obtain Stacking reward details","type":"text/plain"},"item":[{"id":"a72dfd82-b7f4-4f6d-b61e-7528ff166151","name":"Get recent reward slot holders","request":{"name":"Get recent reward slot holders","description":{"content":"Retrieves a list of the Bitcoin addresses that would validly receive Proof-of-Transfer commitments.","type":"text/plain"},"url":{"path":["extended","v1","burnchain","reward_slot_holders"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"96","description":"max number of items to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of the first items to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"f2eee101-4018-444d-8aad-441e48f9a9eb","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","reward_slot_holders"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"96"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"address\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"slot_index\": 0\n },\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"address\": \"1M3bvWB9CRh5BTumeVxtHDEV6W4S2R9AZw\",\n \"slot_index\": 0\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"14ffb1c2-689c-42ed-89aa-9984f8b312fe","name":"Get recent reward slot holder entries for the given address","request":{"name":"Get recent reward slot holder entries for the given address","description":{"content":"Retrieves a list of the Bitcoin addresses that would validly receive Proof-of-Transfer commitments for a given reward slot holder recipient address.","type":"text/plain"},"url":{"path":["extended","v1","burnchain","reward_slot_holders",":address"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"76744710","description":"max number of items to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of the first items to fetch"}],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward slot holder recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","auth":null},"response":[{"id":"63f70336-0e25-4618-b06e-3d6016faa081","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","reward_slot_holders",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76744710"},{"key":"offset","value":"42000"}],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward slot holder recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"address\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"slot_index\": 0\n },\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"address\": \"1M3bvWB9CRh5BTumeVxtHDEV6W4S2R9AZw\",\n \"slot_index\": 0\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ee1628cd-7c44-41dc-a2d9-7f46bb4ab759","name":"Get recent burnchain reward recipients","request":{"name":"Get recent burnchain reward recipients","description":{"content":"Retrieves a list of recent burnchain (e.g. Bitcoin) reward recipients with the associated amounts and block info","type":"text/plain"},"url":{"path":["extended","v1","burnchain","rewards"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"96","description":"max number of rewards to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first rewards to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"69a49434-33ae-466a-9ba5-17f4f26215aa","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"96"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"results\": [\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"burn_amount\": \"12000\",\n \"reward_recipient\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"reward_amount\": \"5000\",\n \"reward_index\": 0\n },\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 336,\n \"burn_amount\": \"14000\",\n \"reward_recipient\": \"1M3bvWB9CRh5BTumeVxtHDEV6W4S2R9AZw\",\n \"reward_amount\": \"2000\",\n \"reward_index\": 0\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"1ffa5393-13c1-498e-b0d4-e3c1df7276a9","name":"Get recent burnchain reward for the given recipient","request":{"name":"Get recent burnchain reward for the given recipient","description":{"content":"Retrieves a list of recent burnchain (e.g. Bitcoin) rewards for the given recipient with the associated amounts and block info","type":"text/plain"},"url":{"path":["extended","v1","burnchain","rewards",":address"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"76744710","description":"max number of rewards to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first rewards to fetch"}],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","auth":null},"response":[{"id":"13f61457-900e-4ff1-ada9-5cee9340c3da","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76744710"},{"key":"offset","value":"42000"}],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 20,\n \"offset\": 0,\n \"results\": [\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 331,\n \"burn_amount\": \"12000\",\n \"reward_recipient\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"reward_amount\": \"5000\",\n \"reward_index\": 0\n },\n {\n \"canonical\": true,\n \"burn_block_hash\": \"0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904\",\n \"burn_block_height\": 336,\n \"burn_amount\": \"14000\",\n \"reward_recipient\": \"1M3bvWB9CRh5BTumeVxtHDEV6W4S2R9AZw\",\n \"reward_amount\": \"2000\",\n \"reward_index\": 0\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"8c9634df-2881-4cab-a5ac-91456e716191","name":"Get total burnchain rewards for the given recipient","request":{"name":"Get total burnchain rewards for the given recipient","description":{"content":"Retrieves the total burnchain (e.g. Bitcoin) rewards for a given recipient `address`","type":"text/plain"},"url":{"path":["extended","v1","burnchain","rewards",":address","total"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","auth":null},"response":[{"id":"ba156beb-e424-43d0-a4ce-78c19d5cd5e6","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards",":address","total"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"36hQtSEXBMevo5chpxhfAGiCTSC34QKgda","key":"address","description":"(Required) Reward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"reward_recipient\": \"1C56LYirKa3PFXFsvhSESgDy2acEHVAEt6\",\n \"reward_amount\": \"18000\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"ebe71a20-82a0-4378-810e-6e8eae761af8","name":"Transactions","description":{"content":"Endpoints to obtain transaction details and to broadcast transactions to the network","type":"text/plain"},"item":[{"id":"d1bf5f33-0ec3-4fd1-8aa2-ab03877d2714","name":"Get recent transactions","request":{"name":"Get recent transactions","description":{"content":"Retrieves all recently mined transactions\n\nIf using TypeScript, import typings for this response from our types package:\n\n`import type { TransactionResults } from '@stacks/stacks-blockchain-api-types';`\n","type":"text/plain"},"url":{"path":["extended","v1","tx"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"},{"disabled":false,"key":"type","value":"contract_call","description":"Filter by transaction type"},{"disabled":false,"key":"type","value":"coinbase","description":"Filter by transaction type"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"0b31d14e-fdcb-4a9f-aff3-8914f77bade5","name":"List of transactions","originalRequest":{"url":{"path":["extended","v1","tx"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"42000"},{"key":"type","value":"contract_call"},{"key":"type","value":"token_transfer"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 10,\n \"offset\": 0,\n \"total\": 101922,\n \"results\": [\n {\n \"tx_id\": \"0x20dedbef812e44d712569224411b27324b68ab4667321a4badd5e81ba76bf0eb\",\n \"nonce\": 269,\n \"fee_rate\": \"0\",\n \"sender_address\": \"SPQXK10DBF5ECAM30XVE3EJA8DNZF3VE0BK4MKV\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"on_chain_only\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x28a9e2749b82bdc058776781a5abd5c9a6efed38f05545a8a51152655b8e1f4b\",\n \"parent_block_hash\": \"0x3789b75ccfe7f2acf85c3f069fd5b8f95f73aba5332fa618243957d1c017a2a3\",\n \"block_height\": 21709,\n \"burn_block_time\": 1626286436,\n \"burn_block_time_iso\": \"2021-07-14T18:13:56.000Z\",\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_status\": \"success\",\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"tx_type\": \"coinbase\",\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"4b31d7a8-9bde-4d54-8e11-0e5d4141c487","name":"Get mempool transactions","request":{"name":"Get mempool transactions","description":{"content":"Retrieves all transactions that have been recently broadcast to the mempool. These are pending transactions awaiting confirmation.\n\nIf you need to monitor new transactions, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.\n","type":"text/plain"},"url":{"path":["extended","v1","tx","mempool"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"sender_address","value":"SP1GPBP8NBRXDRJBFQBV7KMAZX1Z7W2RFWJEH0V10","description":"Filter to only return transactions with this sender address."},{"disabled":false,"key":"recipient_address","value":"laboris amet sit","description":"Filter to only return transactions with this recipient address (only applicable for STX transfer tx types)."},{"disabled":false,"key":"address","value":"laboris amet sit","description":"Filter to only return transactions with this address as the sender or recipient (recipient only applicable for STX transfer tx types)."},{"disabled":false,"key":"limit","value":"20","description":"max number of mempool transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first mempool transaction to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"d6dc98a5-9229-49c3-bf5f-e336da63a5cd","name":"List of mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool"],"host":["{{baseUrl}}"],"query":[{"key":"sender_address","value":"SP1GPBP8NBRXDRJBFQBV7KMAZX1Z7W2RFWJEH0V10"},{"key":"recipient_address","value":"laboris amet sit"},{"key":"address","value":"laboris amet sit"},{"key":"limit","value":"20"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"total\": 5,\n \"results\": [\n {\n \"tx_id\": \"0xb31df5a363dad31723324cb5e0eefa04d491519fd30827a521cbc830114aa50c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598288370,\n \"receipt_time_iso\": \"2020-08-24T16:59:30.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST1GY25DM8RZV4X15X07THRZ2C5NMWPGQWKFGV87F\",\n \"amount\": \"500000\",\n \"memo\": \"0x46617563657400000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x5bed8e3f801cb4e2c74d2815a092f7c1c6a35f2fce4a80c80ca70848d34cb395\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598282326,\n \"receipt_time_iso\": \"2020-08-24T15:18:46.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"ST1PS1KF93VBY5A1JV7TM66KN046KP3E3761DBSAG\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST2H33S8SEY27QKEKQKR6S5PECYPKY45CQYGGQR8X\",\n \"amount\": \"1000\",\n \"memo\": \"0x00000000000000000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x9916036fde08a207e581cdcabc18ff55469861cb81194ab0e3e7c9a02cd5a17c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598258958,\n \"receipt_time_iso\": \"2020-08-24T08:49:18.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8.test-loans-1\",\n \"source_code\": \"(define-data-var stx-loaned int 0)\\n(define-data-var lockup-period int 0)\\n(define-data-var stx-return int 0)\\n(define-public (get-stx-return (stx uint) (months uint))\\n (ok\\n (begin\\n (var-set stx-loaned (to-int(stx))\\n (var-set lockup-period (to-int(months))\\n (calculate-stx-return)\\n (print (var-get stx-return))\\n (transfer-to-server)\\n )\\n )\\n)\\n(define-private (calculate-stx-return)\\n (ok\\n (begin\\n (var-set stx-return (- (+ (* (/ (* (var-get stx-loaned) 5) 100) (var-get lockup-period)) (var-get stx-loaned)) 5))\\n )\\n )\\n)\\n(define-private (transfer-to-server)\\n (begin\\n (unwrap-panic (stx-transfer? (to-uint (var-get stx-loaned)) tx-sender 'ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8))\\n (ok (to-uint (var-get stx-loaned)))\\n )\\n)\"\n }\n },\n {\n \"tx_id\": \"0x871fb186c8d6ac6ede2822c71074d9884b593c0d7f2d0d6e8516e615484d7501\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230365,\n \"receipt_time_iso\": \"2020-08-24T00:52:45.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230358601\",\n \"source_code\": \";; ## CUSTOM FUNCTION TO EXTRACT A SUBSTRING\\n\\n(define-read-only (subs (source (buff 10)) \\n (start int) \\n (end int))\\n (begin\\n (unwrap-panic (if (and (<= 0 start) (<= start 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 0 end) (<= end 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (let ((temp1 (fold subs1 source \\n {start: start, end: end, cursor: 1, data: \\\"\\\"})))\\n (let ((data (get data temp1))) \\n data))))\\n\\n \\n;; Call the function to extract the substring between the bounds:\\n\\n;; (subs \\\"123456789\\\" 2 5)\\n\\n(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int})) \\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp2 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp3 start)\\n (temp4 cursor)\\n (temp5 end))\\n (and (<= temp3 temp4)\\n (<= temp4 temp5)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp2),\\n data: (get data temp2)})))\\n\"\n }\n },\n {\n \"tx_id\": \"0x66df10d99d3a26018f521d60e9f744b083386c73e47ad39c394d570abee55f1f\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230066,\n \"receipt_time_iso\": \"2020-08-24T00:47:46.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230054238\",\n \"source_code\": \"(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int}))\\n (begin\\n (unwrap-panic (if (and (<= 1 (get start acc)) (<= (get start acc) 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 1 (get end acc)) (<= (get end acc) 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (unwrap-panic (if (and (<= 1 (get cursor acc)) (<= (get cursor acc) 10)) (ok 1) (err \\\"Out of bounds: cursor\\\")))\\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp1 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp2 start)\\n (temp3 cursor)\\n (temp4 end))\\n (and (<= temp2 temp3)\\n (<= temp3 temp4)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp1),\\n data: (get data temp1)}))))\\n\"\n }\n },\n {\n \"tx_id\": \"0x7402d8e52204d6c8cba7465e159e79750338c3ee31d4fe6ddef1d4d226304b65\",\n \"nonce\": 1,\n \"fee_rate\": \"227\",\n \"sender_address\": \"SP1HJDP35SSMYP98CG8SHMYHMZDK0A495ZCH6ARYS\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"88884500\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP2J6HSSDYSTM71S0K0KK4YWRKX59JN1AD52M4B59\"\n }\n }\n ],\n \"anchor_mode\": \"any\",\n \"tx_status\": \"pending\",\n \"receipt_time\": 1626286631,\n \"receipt_time_iso\": \"2021-07-14T18:17:11.000Z\",\n \"tx_type\": \"contract_call\",\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000010c00000003046d656d6f020000000e357a62597346716a52336d736b7102746f0516b734e97043840503dc1091661c105d32b7c5c75d047573747801000000000000000000000000054c4514\",\n \"repr\": \"(list (tuple (memo 0x357a62597346716a52336d736b71) (to SP2VK9TBG8E20A0YW228PC70GBMSBFHE7BNVMKB57) (ustx u88884500)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"e784bc11-91f2-4200-8a3c-9a4d5f6498fe","name":"Get dropped mempool transactions","request":{"name":"Get dropped mempool transactions","description":{"content":"Retrieves all recently-broadcast transactions that have been dropped from the mempool.\n\nTransactions are dropped from the mempool if:\n * they were stale and awaiting garbage collection or,\n * were expensive, or\n * were replaced with a new fee\n","type":"text/plain"},"url":{"path":["extended","v1","tx","mempool","dropped"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"96","description":"max number of mempool transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first mempool transaction to fetch"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"b90cbe53-2b2c-4a6c-bbfb-2970597acd18","name":"List of dropped mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool","dropped"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"96"},{"key":"offset","value":"42000"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"total\": 5,\n \"results\": [\n {\n \"tx_id\": \"0xb31df5a363dad31723324cb5e0eefa04d491519fd30827a521cbc830114aa50c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598288370,\n \"receipt_time_iso\": \"2020-08-24T16:59:30.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST1GY25DM8RZV4X15X07THRZ2C5NMWPGQWKFGV87F\",\n \"amount\": \"500000\",\n \"memo\": \"0x46617563657400000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x5bed8e3f801cb4e2c74d2815a092f7c1c6a35f2fce4a80c80ca70848d34cb395\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598282326,\n \"receipt_time_iso\": \"2020-08-24T15:18:46.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"ST1PS1KF93VBY5A1JV7TM66KN046KP3E3761DBSAG\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST2H33S8SEY27QKEKQKR6S5PECYPKY45CQYGGQR8X\",\n \"amount\": \"1000\",\n \"memo\": \"0x00000000000000000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x9916036fde08a207e581cdcabc18ff55469861cb81194ab0e3e7c9a02cd5a17c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598258958,\n \"receipt_time_iso\": \"2020-08-24T08:49:18.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8.test-loans-1\",\n \"source_code\": \"(define-data-var stx-loaned int 0)\\n(define-data-var lockup-period int 0)\\n(define-data-var stx-return int 0)\\n(define-public (get-stx-return (stx uint) (months uint))\\n (ok\\n (begin\\n (var-set stx-loaned (to-int(stx))\\n (var-set lockup-period (to-int(months))\\n (calculate-stx-return)\\n (print (var-get stx-return))\\n (transfer-to-server)\\n )\\n )\\n)\\n(define-private (calculate-stx-return)\\n (ok\\n (begin\\n (var-set stx-return (- (+ (* (/ (* (var-get stx-loaned) 5) 100) (var-get lockup-period)) (var-get stx-loaned)) 5))\\n )\\n )\\n)\\n(define-private (transfer-to-server)\\n (begin\\n (unwrap-panic (stx-transfer? (to-uint (var-get stx-loaned)) tx-sender 'ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8))\\n (ok (to-uint (var-get stx-loaned)))\\n )\\n)\"\n }\n },\n {\n \"tx_id\": \"0x871fb186c8d6ac6ede2822c71074d9884b593c0d7f2d0d6e8516e615484d7501\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230365,\n \"receipt_time_iso\": \"2020-08-24T00:52:45.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230358601\",\n \"source_code\": \";; ## CUSTOM FUNCTION TO EXTRACT A SUBSTRING\\n\\n(define-read-only (subs (source (buff 10)) \\n (start int) \\n (end int))\\n (begin\\n (unwrap-panic (if (and (<= 0 start) (<= start 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 0 end) (<= end 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (let ((temp1 (fold subs1 source \\n {start: start, end: end, cursor: 1, data: \\\"\\\"})))\\n (let ((data (get data temp1))) \\n data))))\\n\\n \\n;; Call the function to extract the substring between the bounds:\\n\\n;; (subs \\\"123456789\\\" 2 5)\\n\\n(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int})) \\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp2 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp3 start)\\n (temp4 cursor)\\n (temp5 end))\\n (and (<= temp3 temp4)\\n (<= temp4 temp5)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp2),\\n data: (get data temp2)})))\\n\"\n }\n },\n {\n \"tx_id\": \"0x66df10d99d3a26018f521d60e9f744b083386c73e47ad39c394d570abee55f1f\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230066,\n \"receipt_time_iso\": \"2020-08-24T00:47:46.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230054238\",\n \"source_code\": \"(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int}))\\n (begin\\n (unwrap-panic (if (and (<= 1 (get start acc)) (<= (get start acc) 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 1 (get end acc)) (<= (get end acc) 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (unwrap-panic (if (and (<= 1 (get cursor acc)) (<= (get cursor acc) 10)) (ok 1) (err \\\"Out of bounds: cursor\\\")))\\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp1 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp2 start)\\n (temp3 cursor)\\n (temp4 end))\\n (and (<= temp2 temp3)\\n (<= temp3 temp4)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp1),\\n data: (get data temp1)}))))\\n\"\n }\n },\n {\n \"tx_id\": \"0x7402d8e52204d6c8cba7465e159e79750338c3ee31d4fe6ddef1d4d226304b65\",\n \"nonce\": 1,\n \"fee_rate\": \"227\",\n \"sender_address\": \"SP1HJDP35SSMYP98CG8SHMYHMZDK0A495ZCH6ARYS\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"88884500\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP2J6HSSDYSTM71S0K0KK4YWRKX59JN1AD52M4B59\"\n }\n }\n ],\n \"anchor_mode\": \"any\",\n \"tx_status\": \"pending\",\n \"receipt_time\": 1626286631,\n \"receipt_time_iso\": \"2021-07-14T18:17:11.000Z\",\n \"tx_type\": \"contract_call\",\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000010c00000003046d656d6f020000000e357a62597346716a52336d736b7102746f0516b734e97043840503dc1091661c105d32b7c5c75d047573747801000000000000000000000000054c4514\",\n \"repr\": \"(list (tuple (memo 0x357a62597346716a52336d736b71) (to SP2VK9TBG8E20A0YW228PC70GBMSBFHE7BNVMKB57) (ustx u88884500)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"bcd1271d-33dc-4455-9c28-84b0ae199d34","name":"Get statistics for mempool transactions","request":{"name":"Get statistics for mempool transactions","description":{"content":"Queries for transactions counts, age (by block height), fees (simple average), and size.\nAll results broken down by transaction type and percentiles (p25, p50, p75, p95).\n","type":"text/plain"},"url":{"path":["extended","v1","tx","mempool","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","auth":null},"response":[{"id":"49ce3904-aea2-42e9-adb3-bdf4468f111a","name":"Statistics for mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool","stats"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"tx_type_counts\": {\n \"token_transfer\": 130,\n \"smart_contract\": 2,\n \"contract_call\": 310,\n \"poison_microblock\": 0\n },\n \"tx_simple_fee_averages\": {\n \"token_transfer\": {\n \"p25\": 3000,\n \"p50\": 3000,\n \"p75\": 6000,\n \"p95\": 401199.9999999995\n },\n \"smart_contract\": {\n \"p25\": 837500,\n \"p50\": 925000,\n \"p75\": 1012500,\n \"p95\": 1082500\n },\n \"contract_call\": {\n \"p25\": 3000,\n \"p50\": 10368,\n \"p75\": 100000,\n \"p95\": 1000000\n },\n \"poison_microblock\": {\n \"p25\": null,\n \"p50\": null,\n \"p75\": null,\n \"p95\": null\n }\n },\n \"tx_ages\": {\n \"token_transfer\": {\n \"p25\": 167.5,\n \"p50\": 45,\n \"p75\": 1,\n \"p95\": 0\n },\n \"smart_contract\": {\n \"p25\": 185.5,\n \"p50\": 129,\n \"p75\": 72.5,\n \"p95\": 27.30000000000001\n },\n \"contract_call\": {\n \"p25\": 189,\n \"p50\": 127.5,\n \"p75\": 9.5,\n \"p95\": 0\n },\n \"poison_microblock\": {\n \"p25\": null,\n \"p50\": null,\n \"p75\": null,\n \"p95\": null\n }\n },\n \"tx_byte_sizes\": {\n \"token_transfer\": {\n \"p25\": 180,\n \"p50\": 180,\n \"p75\": 180,\n \"p95\": 180\n },\n \"smart_contract\": {\n \"p25\": 706.75,\n \"p50\": 814.5,\n \"p75\": 922.25,\n \"p95\": 1008.45\n },\n \"contract_call\": {\n \"p25\": 291,\n \"p50\": 435,\n \"p75\": 462,\n \"p95\": 597\n },\n \"poison_microblock\": {\n \"p25\": null,\n \"p50\": null,\n \"p75\": null,\n \"p95\": null\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"8a422933-7fd8-409a-99a1-8d04b2abce1d","name":"Get list of details for transactions","request":{"name":"Get list of details for transactions","description":{"content":"Retrieves a list of transactions for a given list of transaction IDs\n\nIf using TypeScript, import typings for this response from our types package:\n\n`import type { Transaction } from '@stacks/stacks-blockchain-api-types';`\n","type":"text/plain"},"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"tx_id","value":"ut dolore","description":"(Required) Array of transaction ids"},{"disabled":false,"key":"tx_id","value":"mollit ea dolore","description":"(Required) Array of transaction ids"},{"disabled":false,"key":"event_offset","value":"0","description":"The number of events to skip"},{"disabled":false,"key":"event_limit","value":"96","description":"The numbers of events to return"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"7f3bc1f1-1b56-4556-b4ad-9ba6dfdf4430","name":"Returns list of transactions with their details for corresponding requested tx_ids.","originalRequest":{"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"culpa"},{"key":"tx_id","value":"exercitation non"},{"key":"event_offset","value":"0"},{"key":"event_limit","value":"96"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"0x8911000000000000000000000000000000000000000000000000000000000000\": {\n \"found\": true,\n \"result\": {\n \"tx_id\": \"0x8911000000000000000000000000000000000000000000000000000000000000\",\n \"nonce\": 0,\n \"fee_rate\": \"1234\",\n \"sender_address\": \"sender-addr\",\n \"sponsored\": true,\n \"sponsor_address\": \"sponsor-addr\",\n \"post_condition_mode\": \"allow\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x0123\",\n \"parent_block_hash\": \"0x5678\",\n \"block_height\": 0,\n \"burn_block_time\": 39486,\n \"burn_block_time_iso\": \"1970-01-01T10:58:06.000Z\",\n \"parent_burn_block_time\": 1626122935,\n \"parent_burn_block_time_iso\": \"2021-07-12T20:48:55.000Z\",\n \"canonical\": true,\n \"tx_index\": 4,\n \"tx_status\": \"success\",\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"execution_cost_read_count\": 0,\n \"execution_cost_read_length\": 0,\n \"execution_cost_runtime\": 0,\n \"execution_cost_write_count\": 0,\n \"execution_cost_write_length\": 0,\n \"tx_type\": \"coinbase\"\n }\n },\n \"0x8915000000000000000000000000000000000000000000000000000000000000\": {\n \"found\": true,\n \"result\": {\n \"tx_id\": \"0x8915000000000000000000000000000000000000000000000000000000000000\",\n \"nonce\": 1000,\n \"fee_rate\": \"1234\",\n \"sender_address\": \"sender-addr\",\n \"sponsored\": true,\n \"sponsor_address\": \"sponsor-addr\",\n \"post_condition_mode\": \"allow\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x0123\",\n \"parent_block_hash\": \"0x5678\",\n \"block_height\": 0,\n \"burn_block_time\": 39486,\n \"burn_block_time_iso\": \"1970-01-01T10:58:06.000Z\",\n \"parent_burn_block_time\": 1626122935,\n \"parent_burn_block_time_iso\": \"2021-07-12T20:48:55.000Z\",\n \"canonical\": true,\n \"tx_index\": 4,\n \"tx_status\": \"success\",\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"execution_cost_read_count\": 0,\n \"execution_cost_read_length\": 0,\n \"execution_cost_runtime\": 0,\n \"execution_cost_write_count\": 0,\n \"execution_cost_write_length\": 0,\n \"tx_type\": \"coinbase\"\n }\n },\n \"0x8912000000000000000000000000000000000000000000000000000000000000\": {\n \"found\": true,\n \"result\": {\n \"tx_id\": \"0x8912000000000000000000000000000000000000000000000000000000000000\",\n \"nonce\": 0,\n \"fee_rate\": \"1234\",\n \"sender_address\": \"sender-addr\",\n \"sponsored\": false,\n \"post_condition_mode\": \"allow\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"tx_status\": \"pending\",\n \"receipt_time\": 1594307695,\n \"receipt_time_iso\": \"2020-07-09T15:14:55.000Z\",\n \"tx_type\": \"coinbase\"\n }\n },\n \"0x8914000000000000000000000000000000000000000000000000000000000000\": {\n \"found\": false,\n \"result\": {\n \"tx_id\": \"0x8914000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"426076b5-4126-4a99-a2e4-57d4354ad937","name":"Could not find any transaction by ID","originalRequest":{"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"culpa"},{"key":"tx_id","value":"exercitation non"},{"key":"event_offset","value":"0"},{"key":"event_limit","value":"96"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"4c27834a-44cf-4a94-9db6-4b935a834ce3","name":"Get transaction","request":{"name":"Get transaction","description":{"content":"Retrieves transaction details for a given transaction ID\n\n`import type { Transaction } from '@stacks/stacks-blockchain-api-types';`\n","type":"text/plain"},"url":{"path":["extended","v1","tx",":tx_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"event_offset","value":"0","description":"The number of events to skip"},{"disabled":false,"key":"event_limit","value":"96","description":"The numbers of events to return"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","auth":null},"response":[{"id":"db940b9d-eec3-4fab-95b1-4b1564d4a45c","name":"Transaction","originalRequest":{"url":{"path":["extended","v1","tx",":tx_id"],"host":["{{baseUrl}}"],"query":[{"key":"event_offset","value":"0"},{"key":"event_limit","value":"96"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"tx_id\": \"0x5e9f3933e358df6a73fec0d47ce3e1062c20812c129f5294e6f37a8d27c051d9\",\n \"tx_status\": \"success\",\n \"tx_type\": \"coinbase\",\n \"fee_rate\": \"0\",\n \"sender_address\": \"ST3WCQ6S0DFT7YHF53M8JPKGDS1N1GSSR91677XF1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"is_unanchored\": false,\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"block_hash\": \"0x58412b50266debd0c35b1a20348ad9c0f17e5525fb155a97033256c83c9e2491\",\n \"block_height\": 3231,\n \"burn_block_time\": 1594230455,\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_result\": {\n \"hex\": \"0x03\",\n \"repr\": \"true\"\n },\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dc6c8451-35ee-4610-a0d5-341baae17baa","name":"Cannot find transaction for given ID","originalRequest":{"url":{"path":["extended","v1","tx",":tx_id"],"host":["{{baseUrl}}"],"query":[{"key":"event_offset","value":"0"},{"key":"event_limit","value":"96"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"571492c2-85f5-450f-b081-0f9c0fbfeaa8","name":"Get Raw Transaction","request":{"name":"Get Raw Transaction","description":{"content":"Retrieves a hex encoded serialized transaction for a given ID\n","type":"text/plain"},"url":{"path":["extended","v1","tx",":tx_id","raw"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","auth":null},"response":[{"id":"ec05e8dc-99d1-4416-9491-6104a719d7f7","name":"Hex encoded serialized transaction","originalRequest":{"url":{"path":["extended","v1","tx",":tx_id","raw"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"raw_tx\": \"0x1234\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1dbdba44-1086-43c8-b6a6-b331e6140c01","name":"Cannot find transaction for given ID","originalRequest":{"url":{"path":["extended","v1","tx",":tx_id","raw"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0","key":"tx_id","description":"(Required) Hash of transaction"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[]},{"id":"ea2d8e9d-c969-412f-8847-b7daf441dc6a","name":"Broadcast raw transaction","request":{"name":"Broadcast raw transaction","description":{"content":"Broadcasts raw transactions on the network. You can use the [@stacks/transactions](https://github.com/blockstack/stacks.js) project to generate a raw transaction payload.","type":"text/plain"},"url":{"path":["v2","transactions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/octet-stream"}],"method":"POST","auth":null,"body":{"mode":"file"}},"response":[{"id":"734e0b26-c4e8-41cd-b945-85c51dad50f4","name":"Transaction id of successful post of a raw tx to the node's mempool","originalRequest":{"url":{"path":["v2","transactions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"file"}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"e161978626f216b2141b156ade10501207ae535fa365a13ef5d7a7c9310a09f2","cookie":[],"_postman_previewlanguage":"text"},{"id":"d4991e42-3da1-4fc8-a406-1c67c59b262c","name":"Rejections result in a 400 error","originalRequest":{"url":{"path":["v2","transactions"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"file"}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"transaction rejected\",\n \"reason\": \"BadNonce\",\n \"reason_data\": {\n \"actual\": 4,\n \"expected\": 0,\n \"is_origin\": true,\n \"principal\": \"ST2ZRX0K27GW0SP3GJCEMHD95TQGJMKB7G9Y0X1MH\"\n },\n \"txid\": \"caf6fd60ae05b0c2d19ef14ab6a7670b1095d117fa7c80224c74e76214d0a791\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"2c9554d0-2041-4c5b-88f2-cc137aabc391","name":"Transactions by block hash","request":{"name":"Transactions by block hash","description":{"content":"Retrieves a list of all transactions within a block for a given block hash.","type":"text/plain"},"url":{"path":["extended","v1","tx","block",":block_hash"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"10","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"}],"variable":[{"disabled":false,"type":"any","value":"0x0a83d82a65460a9e711f85a44616350280040b75317dbe486a923c1131b5ff99","key":"block_hash","description":"(Required) Hash of block"}]},"method":"GET","auth":null},"response":[{"id":"64cf6455-33a7-4cfc-b0f1-e49879240234","name":"List of Transactions","originalRequest":{"url":{"path":["extended","v1","tx","block",":block_hash"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"42000"}],"variable":[{"disabled":false,"type":"any","value":"0x0a83d82a65460a9e711f85a44616350280040b75317dbe486a923c1131b5ff99","key":"block_hash","description":"(Required) Hash of block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 10,\n \"offset\": 0,\n \"total\": 101922,\n \"results\": [\n {\n \"tx_id\": \"0x20dedbef812e44d712569224411b27324b68ab4667321a4badd5e81ba76bf0eb\",\n \"nonce\": 269,\n \"fee_rate\": \"0\",\n \"sender_address\": \"SPQXK10DBF5ECAM30XVE3EJA8DNZF3VE0BK4MKV\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"on_chain_only\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x28a9e2749b82bdc058776781a5abd5c9a6efed38f05545a8a51152655b8e1f4b\",\n \"parent_block_hash\": \"0x3789b75ccfe7f2acf85c3f069fd5b8f95f73aba5332fa618243957d1c017a2a3\",\n \"block_height\": 21709,\n \"burn_block_time\": 1626286436,\n \"burn_block_time_iso\": \"2021-07-14T18:13:56.000Z\",\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_status\": \"success\",\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"tx_type\": \"coinbase\",\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"7bd975c6-a82a-40d0-9a9e-1dfe1f8e24e4","name":"Transactions by block height","request":{"name":"Transactions by block height","description":{"content":"Retrieves all transactions within a block at a given height","type":"text/plain"},"url":{"path":["extended","v1","tx","block_height",":height"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"10","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"66119","key":"height","description":"(Required) Height of block"}]},"method":"GET","auth":null},"response":[{"id":"79e53476-dcec-4083-885a-e0bbeb25eb6a","name":"List of Transactions","originalRequest":{"url":{"path":["extended","v1","tx","block_height",":height"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"66119","key":"height","description":"(Required) Height of block"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 10,\n \"offset\": 0,\n \"total\": 101922,\n \"results\": [\n {\n \"tx_id\": \"0x20dedbef812e44d712569224411b27324b68ab4667321a4badd5e81ba76bf0eb\",\n \"nonce\": 269,\n \"fee_rate\": \"0\",\n \"sender_address\": \"SPQXK10DBF5ECAM30XVE3EJA8DNZF3VE0BK4MKV\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"on_chain_only\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x28a9e2749b82bdc058776781a5abd5c9a6efed38f05545a8a51152655b8e1f4b\",\n \"parent_block_hash\": \"0x3789b75ccfe7f2acf85c3f069fd5b8f95f73aba5332fa618243957d1c017a2a3\",\n \"block_height\": 21709,\n \"burn_block_time\": 1626286436,\n \"burn_block_time_iso\": \"2021-07-14T18:13:56.000Z\",\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_status\": \"success\",\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"tx_type\": \"coinbase\",\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"db514b10-2e5c-4a7d-be2a-c4f74b1ab4f0","name":"Transactions for address","request":{"name":"Transactions for address","description":{"content":"Retrieves all transactions for a given address that are currently in mempool","type":"text/plain"},"url":{"path":["extended","v1","address",":address","mempool"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"90","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"},{"disabled":false,"key":"unanchored","value":"true","description":"Include transaction data from unanchored (i.e. unconfirmed) microblocks"}],"variable":[{"disabled":false,"type":"any","value":"SP197DVH8KTJGX4STM61QN0WJV8Y9QJWXV83ZGNR9","key":"address","description":"(Required) Transactions for the address"}]},"method":"GET","auth":null},"response":[{"id":"f1957bb5-c983-473b-afd5-1c09f39f4ea3","name":"List of Transactions","originalRequest":{"url":{"path":["extended","v1","address",":address","mempool"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"90"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"}],"variable":[{"disabled":false,"type":"any","value":"SP197DVH8KTJGX4STM61QN0WJV8Y9QJWXV83ZGNR9","key":"address","description":"(Required) Transactions for the address"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"total\": 5,\n \"results\": [\n {\n \"tx_id\": \"0xb31df5a363dad31723324cb5e0eefa04d491519fd30827a521cbc830114aa50c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598288370,\n \"receipt_time_iso\": \"2020-08-24T16:59:30.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST1GY25DM8RZV4X15X07THRZ2C5NMWPGQWKFGV87F\",\n \"amount\": \"500000\",\n \"memo\": \"0x46617563657400000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x5bed8e3f801cb4e2c74d2815a092f7c1c6a35f2fce4a80c80ca70848d34cb395\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"token_transfer\",\n \"receipt_time\": 1598282326,\n \"receipt_time_iso\": \"2020-08-24T15:18:46.000Z\",\n \"fee_rate\": \"180\",\n \"sender_address\": \"ST1PS1KF93VBY5A1JV7TM66KN046KP3E3761DBSAG\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"token_transfer\": {\n \"recipient_address\": \"ST2H33S8SEY27QKEKQKR6S5PECYPKY45CQYGGQR8X\",\n \"amount\": \"1000\",\n \"memo\": \"0x00000000000000000000000000000000000000000000000000000000000000000000\"\n }\n },\n {\n \"tx_id\": \"0x9916036fde08a207e581cdcabc18ff55469861cb81194ab0e3e7c9a02cd5a17c\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598258958,\n \"receipt_time_iso\": \"2020-08-24T08:49:18.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8.test-loans-1\",\n \"source_code\": \"(define-data-var stx-loaned int 0)\\n(define-data-var lockup-period int 0)\\n(define-data-var stx-return int 0)\\n(define-public (get-stx-return (stx uint) (months uint))\\n (ok\\n (begin\\n (var-set stx-loaned (to-int(stx))\\n (var-set lockup-period (to-int(months))\\n (calculate-stx-return)\\n (print (var-get stx-return))\\n (transfer-to-server)\\n )\\n )\\n)\\n(define-private (calculate-stx-return)\\n (ok\\n (begin\\n (var-set stx-return (- (+ (* (/ (* (var-get stx-loaned) 5) 100) (var-get lockup-period)) (var-get stx-loaned)) 5))\\n )\\n )\\n)\\n(define-private (transfer-to-server)\\n (begin\\n (unwrap-panic (stx-transfer? (to-uint (var-get stx-loaned)) tx-sender 'ST2R1XSFXYHCSFE426HP45TTD8ZWV9XHX2SRP3XA8))\\n (ok (to-uint (var-get stx-loaned)))\\n )\\n)\"\n }\n },\n {\n \"tx_id\": \"0x871fb186c8d6ac6ede2822c71074d9884b593c0d7f2d0d6e8516e615484d7501\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230365,\n \"receipt_time_iso\": \"2020-08-24T00:52:45.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230358601\",\n \"source_code\": \";; ## CUSTOM FUNCTION TO EXTRACT A SUBSTRING\\n\\n(define-read-only (subs (source (buff 10)) \\n (start int) \\n (end int))\\n (begin\\n (unwrap-panic (if (and (<= 0 start) (<= start 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 0 end) (<= end 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (let ((temp1 (fold subs1 source \\n {start: start, end: end, cursor: 1, data: \\\"\\\"})))\\n (let ((data (get data temp1))) \\n data))))\\n\\n \\n;; Call the function to extract the substring between the bounds:\\n\\n;; (subs \\\"123456789\\\" 2 5)\\n\\n(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int})) \\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp2 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp3 start)\\n (temp4 cursor)\\n (temp5 end))\\n (and (<= temp3 temp4)\\n (<= temp4 temp5)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp2),\\n data: (get data temp2)})))\\n\"\n }\n },\n {\n \"tx_id\": \"0x66df10d99d3a26018f521d60e9f744b083386c73e47ad39c394d570abee55f1f\",\n \"tx_status\": \"pending\",\n \"tx_type\": \"smart_contract\",\n \"receipt_time\": 1598230066,\n \"receipt_time_iso\": \"2020-08-24T00:47:46.000Z\",\n \"fee_rate\": \"2000\",\n \"sender_address\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"any\",\n \"smart_contract\": {\n \"contract_id\": \"ST1FJGMWPGM1P7N0K3N9QEPZK5H1VDC5YWTVMEAZ1.contract-hook-1598230054238\",\n \"source_code\": \"(define-read-only (subs1 \\n (ch (buff 1))\\n (acc {data: (buff 10), \\n start: int,\\n end: int,\\n cursor: int}))\\n (begin\\n (unwrap-panic (if (and (<= 1 (get start acc)) (<= (get start acc) 10)) (ok 1) (err \\\"Out of bounds: start\\\")))\\n (unwrap-panic (if (and (<= 1 (get end acc)) (<= (get end acc) 10)) (ok 1) (err \\\"Out of bounds: end\\\")))\\n (unwrap-panic (if (and (<= 1 (get cursor acc)) (<= (get cursor acc) 10)) (ok 1) (err \\\"Out of bounds: cursor\\\")))\\n (let ((data (get data acc))\\n (start (get start acc))\\n (cursor (get cursor acc))\\n (end (get end acc))) \\n (let ((temp1 \\n {cursor: (+ 1 cursor),\\n data: (default-to \\\"\\\"\\n (as-max-len?\\n (concat data \\n (if (let ((temp2 start)\\n (temp3 cursor)\\n (temp4 end))\\n (and (<= temp2 temp3)\\n (<= temp3 temp4)))\\n ch \\n \\\"\\\"))\\n u10))}))\\n {start: (get start acc),\\n end: (get end acc),\\n cursor: (get cursor temp1),\\n data: (get data temp1)}))))\\n\"\n }\n },\n {\n \"tx_id\": \"0x7402d8e52204d6c8cba7465e159e79750338c3ee31d4fe6ddef1d4d226304b65\",\n \"nonce\": 1,\n \"fee_rate\": \"227\",\n \"sender_address\": \"SP1HJDP35SSMYP98CG8SHMYHMZDK0A495ZCH6ARYS\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [\n {\n \"type\": \"stx\",\n \"condition_code\": \"sent_equal_to\",\n \"amount\": \"88884500\",\n \"principal\": {\n \"type_id\": \"principal_standard\",\n \"address\": \"SP2J6HSSDYSTM71S0K0KK4YWRKX59JN1AD52M4B59\"\n }\n }\n ],\n \"anchor_mode\": \"any\",\n \"tx_status\": \"pending\",\n \"receipt_time\": 1626286631,\n \"receipt_time_iso\": \"2021-07-14T18:17:11.000Z\",\n \"tx_type\": \"contract_call\",\n \"contract_call\": {\n \"contract_id\": \"SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo\",\n \"function_name\": \"send-many\",\n \"function_signature\": \"(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))\",\n \"function_args\": [\n {\n \"hex\": \"0x0b000000010c00000003046d656d6f020000000e357a62597346716a52336d736b7102746f0516b734e97043840503dc1091661c105d32b7c5c75d047573747801000000000000000000000000054c4514\",\n \"repr\": \"(list (tuple (memo 0x357a62597346716a52336d736b71) (to SP2VK9TBG8E20A0YW228PC70GBMSBFHE7BNVMKB57) (ustx u88884500)))\",\n \"name\": \"recipients\",\n \"type\": \"(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))\"\n }\n ]\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"50afce2c-4967-44c6-ab37-5f05c28594c5","name":"Transaction Events","request":{"name":"Transaction Events","description":{"content":"Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is ('smart_contract_log', 'stx_lock', 'stx_asset', 'fungible_token_asset', 'non_fungible_token_asset').","type":"text/plain"},"url":{"path":["extended","v1","tx","events"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"tx_id","value":"0x29e25515652dad41ef675bd0670964e3d537b80ec19cf6ca6f1dd65d5bc642c5","description":"Hash of transaction"},{"disabled":false,"key":"address","value":"ST1HB64MAJ1MBV4CQ80GF01DZS4T1DSMX20ADCRA4","description":"Stacks address or a Contract identifier"},{"disabled":false,"key":"limit","value":"100","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"type","value":"fungible_token_asset","description":"Filter the events on event type"},{"disabled":false,"key":"type","value":"stx_asset","description":"Filter the events on event type"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"5412ff28-7539-4c21-9ea5-65fb63195b68","name":"Success","originalRequest":{"url":{"path":["extended","v1","tx","events"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"0x29e25515652dad41ef675bd0670964e3d537b80ec19cf6ca6f1dd65d5bc642c5"},{"key":"address","value":"ST1HB64MAJ1MBV4CQ80GF01DZS4T1DSMX20ADCRA4"},{"key":"limit","value":"100"},{"key":"offset","value":"42000"},{"key":"type","value":"stx_asset"},{"key":"type","value":"stx_lock"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"events\": [\n {\n \"event_index\": 0,\n \"event_type\": \"non_fungible_token_asset\",\n \"tx_id\": \"0x05ccc123db703a2808afaaf88b6b3240f14391d14fde701bd20d7206c9133af6\",\n \"asset\": {\n \"asset_event_type\": \"transfer\",\n \"asset_id\": \"ST000000000000000000002AMW42H.bns::names\",\n \"sender\": \"STKVDRCTN8C81T22QHR9PG9GPD3V3WPQYBYFHPT4\",\n \"recipient\": \"STRWN68C36Z7WTDD1TJERTAZ4SXDRMMDB29M4VNQ\",\n \"value\": {\n \"hex\": \"0x0c00000002046e616d65020000000a62696c616c7465737435096e616d6573706163650200000003627463\",\n \"repr\": \"(tuple (name 0x62696c616c7465737435) (namespace 0x627463))\"\n }\n }\n },\n {\n \"event_index\": 1,\n \"event_type\": \"smart_contract_log\",\n \"tx_id\": \"0x05ccc123db703a2808afaaf88b6b3240f14391d14fde701bd20d7206c9133af6\",\n \"contract_log\": {\n \"contract_id\": \"ST000000000000000000002AMW42H.bns\",\n \"topic\": \"print\",\n \"value\": {\n \"hex\": \"0x0c000000010a6174746163686d656e740c00000003106174746163686d656e742d696e646578010000000000000000000000000000028304686173680200000014b472a266d0bd89c13706a4132ccfb16f7c3b9fcb086d657461646174610c00000004046e616d65020000000a62696c616c7465737435096e616d6573706163650200000003627463026f700d0000000d6e616d652d7472616e736665720974782d73656e646572051a27b6e19aaa1880e842bc709b4130b347b1f2d7f2\",\n \"repr\": \"(tuple (attachment (tuple (attachment-index u643) (hash 0xb472a266d0bd89c13706a4132ccfb16f7c3b9fcb) (metadata (tuple (name 0x62696c616c7465737435) (namespace 0x627463) (op \\\"name-transfer\\\") (tx-sender STKVDRCTN8C81T22QHR9PG9GPD3V3WPQYBYFHPT4))))))\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"a7f05f8f-3435-450e-840d-4ea2e458f854","name":"Stacking","description":{"content":"","type":"text/plain"},"item":[{"id":"44705a60-fe39-44b2-9da0-605488b726af","name":"Stacking pool members","request":{"name":"Stacking pool members","description":{"content":"Retrieves the list of stacking pool members for a given delegator principal.","type":"text/plain"},"url":{"path":["extended","beta","stacking",":pool_principal","delegations"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"after_block","value":"76744710","description":"If specified, only delegation events after the given block will be included"},{"disabled":false,"key":"unanchored","value":"true","description":"whether or not to include Stackers from unconfirmed transactions"},{"disabled":false,"key":"limit","value":"100","description":"number of items to return"},{"disabled":false,"key":"offset","value":"300","description":"number of items to skip"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"pool_principal","description":"(Required) Address principal of the stacking pool delegator"}]},"method":"GET","auth":null},"response":[{"id":"f338b8ae-5850-4431-9212-45c3887861a7","name":"Success","originalRequest":{"url":{"path":["extended","beta","stacking",":pool_principal","delegations"],"host":["{{baseUrl}}"],"query":[{"key":"after_block","value":"76744710"},{"key":"unanchored","value":"true"},{"key":"limit","value":"100"},{"key":"offset","value":"300"}],"variable":[{"disabled":false,"type":"any","value":"SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11","key":"pool_principal","description":"(Required) Address principal of the stacking pool delegator"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 200,\n \"offset\": 0,\n \"total\": 2,\n \"results\": [\n {\n \"stacker\": \"SPDGWQ60E1QXTC6E4VHKK0NG34EAX554WDFFFHMF\",\n \"pox_addr\": \"bc1qxhmdufsvnuaaaer4ynz88fspdsxq2h9e9cetdj\",\n \"amount_ustx\": \"2062697998\",\n \"burn_block_unlock_height\": 781984,\n \"block_height\": 65917,\n \"tx_id\": \"0x3c81cd26ed172a7e552ed245b8b290abefa4f82dfc610a0091ac91c2eed7f9e6\"\n },\n {\n \"stacker\": \"SP7RNXF7YBSS43TECXTHF7W1MAB221WWW8RKPGSN\",\n \"pox_addr\": \"1Di1YoMov6Ua3gPedfQz7TkP6iTLqbPUzi\",\n \"amount_ustx\": \"4815793194\",\n \"block_height\": 65910,\n \"tx_id\": \"0x1692cd26ed172a7e552ed245b8b290abefa4f82dfc610a0091ac91c2eed7f9e6\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]}],"event":[],"variable":[{"type":"string","value":"https://api.mainnet.hiro.so/","key":"baseUrl"}],"info":{"_postman_id":"b068c6b5-46d8-46b3-8955-c8f4dc1805e8","name":"Stacks Blockchain API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"Welcome to the API reference overview for the Stacks Blockchain API.\n\nDownload Postman collection\n","type":"text/plain"}}} \ No newline at end of file