diff --git a/collection.json b/collection.json index 51b433bcf4..1d7d75f764 100644 --- a/collection.json +++ b/collection.json @@ -1 +1 @@ -{"item":[{"id":"55532f44-c455-40ac-9f50-8f05170c9b7d","name":"Accounts","description":{"content":"Read-only endpoints to obtain Stacks account details","type":"text/plain"},"item":[{"id":"4b6660d0-6411-4575-90c4-f215ecdc8a7a","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":"Duis do pariatur incididunt","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":"7a6600fd-14e2-4931-9fcb-8df4e996b6f3","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","balances"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"Duis do pariatur incididunt"}],"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":"ba78ca7e-78ab-43dc-abd3-f3b59151b9b4","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":"Duis do pariatur incididunt","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":"eabfa438-6bf0-4317-a8e8-f90bc5c95c0e","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"Duis do pariatur incididunt"}],"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":"eb482034-9089-4a80-b64f-0144bd275472","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":"Duis do pariatur incididunt","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":"3933a6f8-7464-4ac8-b998-fe263f17999d","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":"Duis do pariatur incididunt"}],"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":"5e53f3b0-b594-4b8e-b6d5-241b0e7129f4","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":"30518e75-6aa8-481d-88ed-4cfb71e43e40","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":"ef9982fd-baad-4265-8cec-f340163766f5","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":"a517c74c-771f-4688-b4e6-252f70910840","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":"Duis do pariatur incididunt","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":"4fb5c4b0-0d81-4e34-a616-15d210895595","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":"Duis do pariatur incididunt"}],"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":"573ffb93-7329-4277-836e-de356c468128","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":"8d436052-dece-429e-ac60-855f741fabac","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":"6d1c134c-eeb3-4303-8e38-9546d9c6b432","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":"Duis do pariatur incididunt","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":"c96f1631-b8ea-46a0-8bd6-e29f84add3b6","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":"Duis do pariatur incididunt"}],"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":"b778b413-b274-423d-bff0-f6e284f2b700","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":"78196866","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"height","value":"6307526.692666739","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":"Duis do pariatur incididunt","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":"92011493-f1bc-4389-a812-dc6a26fd7df5","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx_inbound"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"78196866"},{"key":"offset","value":"42000"},{"key":"height","value":"6307526.692666739"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"Duis do pariatur incididunt"}],"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":"3f70d4a4-c5d8-4dec-92b5-6d6804bc8142","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":"78196866","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":"Duis do pariatur incididunt","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":"7927db4d-0f61-4a43-856f-15315016c082","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","nft_events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"78196866"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"Duis do pariatur incididunt"}],"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":"ee018b03-1389-4425-a8e7-52ccc4e238bc","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":"78196866","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"pariatur","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":"314a7fb0-519c-4a94-bc45-0b8ef48fcc02","name":"Success","originalRequest":{"url":{"path":["v2","accounts",":principal"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"78196866"},{"key":"tip","value":"pariatur"}],"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":"f7e4fd23-b948-4ec7-a681-d86c42f54b45","name":"Blocks","description":{"content":"Read-only endpoints to obtain Stacks block details","type":"text/plain"},"item":[{"id":"fab7af1b-14f5-43e2-9cbc-aa3f5613b971","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":"0ef83683-c8d0-4861-9032-9e3da70577e7","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":"610515e6-7638-41c8-9ff6-ae93efee5808","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":"77d567ac-2e7b-4b8d-8bee-b1088790b675","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":"8f718a39-a230-4c5a-8b05-e57cfb6eeada","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":"0a3a8b6b-e992-43b9-afe8-55b1d0d744ec","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":"e8ac7863-bb3c-42ab-9abf-e7a8631fd958","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":"04e456d2-d598-40c5-907b-d7f8cfc81d58","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":"7912ccb6-6226-4651-a44c-04aea0a8036b","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":"317bc1be-7e18-40e1-8d2c-88fbae0e2e42","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":"2b8fe5fb-5cb1-493a-902b-43efe57aa35c","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":"dbb57f5f-60ef-433a-925c-6a8007a17d48","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":"d94fc06c-253c-4145-a3a2-18b412131637","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":"b024d497-71fb-4d35-8b58-6faaf9f9350a","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":"02b70d00-c861-4603-a51f-dac5045f9a41","name":"Faucets","description":{"content":"Endpoints to request STX or BTC tokens (not possible on Mainnet)","type":"text/plain"},"item":[{"id":"ee3b6735-49da-4e90-8ba7-3eda7d83c4be","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":"7a3990d9-c553-4eae-977f-191963d10c9d","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":"07dcbbed-fefd-416d-afb9-61995c7fe825","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":"48675cdc-daf4-4e4e-b7c4-081fa755eec5","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":"01916622-c750-4406-8311-b8dee8294d1f","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":"eea5e83d-a2bc-4956-9dd9-1703d1054eba","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":"076716c3-5725-40b6-ae77-a529199a6a05","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":"42331bf8-e081-4c5c-a921-3b5d8dfb56ba","name":"Fees","description":{"content":"Read-only endpoints to obtain fee details","type":"text/plain"},"item":[{"id":"3e51c682-c91c-42d4-b093-d649cb5c9fbc","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":"31c09c64-af05-4c87-bb8f-41f45c1b22f8","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":"35f68163-e741-40ab-acd4-ac03c30d6480","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":"ca2c6863-a3d9-4b23-8538-a0c2fd1c3b2b","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":"91e5b8f0-d4d0-4fe8-865d-19d2b01045d3","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":"75c70eb2-be90-4939-a878-1c8db1abe48d","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":"f3a94022-e37c-4fc6-a0e7-e40bfe8f1898","name":"Fungible Tokens","description":{"content":"Read-only endpoints to obtain fungible token details","type":"text/plain"},"item":[{"id":"40dde961-e9d5-481f-95d1-932e56fbbf33","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":"6140f5f0-e158-43ca-86ae-e6810faa318e","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":"69dab1fb-7c26-437c-bf48-bac47516c0db","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":"2e2f7da2-99bd-4dac-9d5b-2b46c562754c","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":"c80ab60f-fc1c-4635-8d57-aba400123cc5","name":"Info","description":{"content":"Read-only endpoints to obtain network, Proof-of-Transfer, Stacking, STX token, and node information","type":"text/plain"},"item":[{"id":"751a5316-8413-44e9-a1cd-be481e831b9d","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":"6e41630b-ea05-42cc-997c-33f838505a04","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":"204547b4-d125-402e-a9cc-4472360ba21c","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":"e845e7ae-e4cf-4d6a-9443-18dcf57e2de1","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":"97cde615-ae21-44e0-93d4-7c4257d93935","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":"020b32ce-15b2-4459-8c5c-ed0cde8c8a33","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":"6414ab24-a68b-4168-a2fa-3d83a5e93ed7","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":"e47191c1-fef1-4e61-b60c-49ddf98dcf2a","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":"0cd74c3c-470d-4b00-b5c2-52cd76ed24c4","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":"fcb6d8a8-bc0f-45a0-8ad7-4f4f242c28e5","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":"a903d31d-e7be-4c33-8b59-032bd860518c","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":"55b1ae2b-8f3b-421b-aad3-465c6819d5b0","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":"b2261897-93c1-410e-bcb1-d625ea93de8d","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":"3727cc47-e2c5-4042-8d61-c209bc6326d0","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":"0162b2a5-fe24-4599-889a-e52b59c92ab8","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":"d62916c8-c22f-4dae-bd0b-4d19b817f580","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":"e29cc54e-91c8-47d7-83e8-73aad5977fc8","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":"01b2cd65-2bc8-44ca-b4b2-dbde27f9a566","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":"ba620f40-19e3-4890-8acf-9fd6519b4437","name":"Microblocks","description":{"content":"Read-only endpoints to obtain microblocks details","type":"text/plain"},"item":[{"id":"4a404243-9d45-4356-a6c8-789f92665e42","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":"4630da97-7da9-4e8f-b22e-dfa445a9758a","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\": \"laborum elit amet reprehenderit qui\",\n \"microblock_sequence\": -74534186,\n \"microblock_parent_hash\": \"nostrud\",\n \"block_height\": 47664484,\n \"parent_block_height\": 82104458,\n \"parent_block_hash\": \"esse ea occaecat consectetur Duis\",\n \"block_hash\": \"et culpa non\",\n \"txs\": [\n \"officia reprehenderit dolor anim\",\n \"reprehenderit sit nisi\"\n ],\n \"parent_burn_block_time\": 19250120,\n \"parent_burn_block_time_iso\": \"sunt minim\",\n \"parent_burn_block_hash\": \"aliquip ad ut Excepteur\",\n \"parent_burn_block_height\": -41666679\n },\n {\n \"canonical\": true,\n \"microblock_canonical\": true,\n \"microblock_hash\": \"cillum elit\",\n \"microblock_sequence\": -3042161,\n \"microblock_parent_hash\": \"in do enim deserunt\",\n \"block_height\": 3036050,\n \"parent_block_height\": 11183834,\n \"parent_block_hash\": \"voluptate non culpa\",\n \"block_hash\": \"voluptate\",\n \"txs\": [\n \"nisi in Ut\",\n \"sunt nisi\"\n ],\n \"parent_burn_block_time\": -57835506,\n \"parent_burn_block_time_iso\": \"exercitation ex qui\",\n \"parent_burn_block_hash\": \"ipsum voluptate\",\n \"parent_burn_block_height\": 70906920\n }\n ],\n \"limit\": -87616912,\n \"offset\": 0,\n \"total\": -42395493\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"086e4b6d-99e6-4c21-b7e4-44ac491469cf","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":"d8357e62-7d51-43a4-a891-0fe6f904490f","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\": true,\n \"microblock_canonical\": true,\n \"microblock_hash\": \"minim reprehenderit proident non qui\",\n \"microblock_sequence\": 52903054,\n \"microblock_parent_hash\": \"aliquip occaecat sit qui venia\",\n \"block_height\": -43017414,\n \"parent_block_height\": -16993485,\n \"parent_block_hash\": \"ex ullamco nostrud officia\",\n \"block_hash\": \"ut officia\",\n \"txs\": [\n \"ullamco iru\",\n \"veniam in\"\n ],\n \"parent_burn_block_time\": -88755337,\n \"parent_burn_block_time_iso\": \"dolore id aute\",\n \"parent_burn_block_hash\": \"veniam in\",\n \"parent_burn_block_height\": -33443103\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b429214a-5a02-48be-938b-cc92cb6fa354","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":"6a63a5ca-99b6-481a-bb06-21a466859e8f","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":"efdc2023-6707-4d6e-a42b-fd8d32ddfabf","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\": 97246236\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"bf163700-17a7-4011-9f90-9c93ffd284d9","name":"Names","description":{"content":"Read-only endpoints realted to the Blockchain Naming System on Stacks","type":"text/plain"},"item":[{"id":"dbac7fb4-1166-4803-b608-d63adcd45822","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":"1a713e52-23e6-4b72-92da-c15b0d82d0fa","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\": \"minim labore sed ipsum\",\n \"amount\": \"45198012\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b65c8695-2dec-46de-8e35-c28b63d8450b","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":"f9bc71d2-ecf6-43b4-90ab-727e288bde69","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\": \"aute officia\",\n \"amount\": \"4734011\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"3db31ec2-4c27-42a3-bb55-c66c3a14b111","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":"a79e0731-bda5-4a9c-a306-e43be8944895","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":"dfbdb7b6-73b3-4374-90cd-68629c1ffb34","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":"235732a2-9244-4f1d-8b96-c13d3c039f90","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":"8ee6b883-429b-4830-87f7-0e8097f0118a","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":"ca0e3cdd-44e6-4d99-9863-b34f8f377755","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":"0f5f9180-9ba9-4d92-a291-2394b4ee368f","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":"d3a19260-d9c6-42c9-a9eb-53b32f71815a","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":"1ef1dbaa-4543-4ab6-8c1a-a90b9f894309","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":"8096c6e4-7327-4426-9024-8a19b90bea6b","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":"3750fa98-57a7-410a-a9bf-95476f58fa4c","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":"d07befce-a294-4a3b-bd4b-30987349f829","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":"2daeb54d-6f7d-44f7-bc22-cd80667eee45","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":"1aa8dc0e-a766-46b6-97b5-4b97ceeda248","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":"658c6475-35b0-41c5-b65f-e75776616c57","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":"92b99bea-246f-4faa-8a07-e58c5153bc39","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":"fccf18e9-e622-4729-aecf-ffefc9ebd0d0","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":"79c5becd-5890-49a8-9abb-4a8e6c898630","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":"1ee265e1-30f3-4906-b685-08ed79d01f7a","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":"8b45242a-466e-4594-a0b4-a92e2ad3d391","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":"1390c703-853f-4ccf-896d-03c69f8c8666","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":"d09644d7-6e01-4d3f-b3d9-39006b5d15ed","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":"183ffadb-cf74-4192-977c-625bd0198a80","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":"0a2072a6-cd47-4a80-b4ae-3654f4580ee9","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":"a6f5d2e8-336c-4295-af0e-d4e419762c8e","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":"720c6943-f000-4cd4-855c-de633882fde1","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":"fd3f7ff1-c7ed-4b43-b7ae-20e93cccb90d","name":"Non-Fungible Tokens","description":{"content":"Read-only endpoints to obtain non-fungible token details","type":"text/plain"},"item":[{"id":"e2812bf3-f35c-4f9d-bdca-e3d6570e980e","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":"ea commodo","description":"identifiers of the token asset classes to filter for"},{"disabled":false,"key":"asset_identifiers","value":"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":"c68924dc-f813-43ae-90ba-b457135692cd","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":"sunt incididunt culpa"},{"key":"asset_identifiers","value":"elit est Lorem amet"},{"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":"40350dd4-741b-4c55-89c6-e846d26b7ab0","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":"aee4d282-e442-4d33-86a3-a5b063f13272","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":"4a74902b-6841-4228-b9d0-387a4fa60af3","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":"84d383f4-8471-4217-ac5a-287386187b72","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":"0d42a1b7-871b-4647-8ae0-de6b4ca21d74","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":"331a3784-1268-448a-b85c-30f21d99b322","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":"34a4216d-b35d-45fb-b4ac-787cf5d81754","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":"pariatur","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","auth":null},"response":[{"id":"866348c6-778e-4ea4-a4c1-26fe2e24d81c","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":"pariatur","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":"c8378463-a082-4324-86b1-a442d426dc64","name":"Rosetta","description":{"content":"Endpoints to support the Rosetta API open blockchain standard","type":"text/plain"},"item":[{"id":"bf5a476c-b2d9-479a-b699-b0c5d8357d38","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":"c0c9169c-f13a-4710-b3a1-39ab2ed8840c","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\": \"enim incididunt laboris\",\n \"network\": \"irure ull\",\n \"sub_network_identifier\": {\n \"network\": \"id in pariatur irure\",\n \"metadata\": {\n \"producer\": \"pariatur in dolor\"\n }\n }\n },\n {\n \"blockchain\": \"exercitation reprehenderit\",\n \"network\": \"quis aliquip id sunt\",\n \"sub_network_identifier\": {\n \"network\": \"ut esse amet in\",\n \"metadata\": {\n \"producer\": \"adipisicing\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"27cadea8-a429-4e42-a624-0f3cb9cb0b64","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"0b70cd28-d6dc-4173-8e80-1beab6eb7fa5","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":"56e3334e-7e54-4960-9356-40e43b572734","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\": \"veniam labore dolor est nulla\",\n \"node_version\": \"occaecat\",\n \"middleware_version\": \"Lorem quis\",\n \"metadata\": {}\n },\n \"allow\": {\n \"operation_statuses\": [\n {\n \"status\": \"exercitation irure\",\n \"successful\": true\n },\n {\n \"status\": \"ut cupidatat\",\n \"successful\": false\n }\n ],\n \"operation_types\": [\n \"ut ullamco\",\n \"ea culpa sunt\"\n ],\n \"errors\": [\n {\n \"code\": -7052078,\n \"message\": \"qui nulla labore\",\n \"retriable\": false\n },\n {\n \"code\": 84722470,\n \"message\": \"Duis pr\",\n \"retriable\": false\n }\n ],\n \"historical_balance_lookup\": true\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bc01fd8c-398a-470e-ad0f-e31e2dd9cf64","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"7b4812cf-a709-4066-9d5e-b0946063a63e","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":"78c8b685-4351-4baa-ae99-5deea52cfba6","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\": -36298874,\n \"genesis_block_identifier\": {\n \"index\": 55888999,\n \"hash\": \"veniam sunt sint amet adipisicing\"\n },\n \"peers\": [\n {\n \"peer_id\": \"commodo Lorem\",\n \"metadata\": {}\n },\n {\n \"peer_id\": \"Duis ut adipisicing\",\n \"metadata\": {}\n }\n ],\n \"oldest_block_identifier\": {\n \"index\": 34068173,\n \"hash\": \"anim enim irure\"\n },\n \"sync_status\": {\n \"current_index\": -52760611,\n \"target_index\": -51009154,\n \"stage\": \"lab\",\n \"synced\": false\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b3b54c4-d369-4d6b-bd97-b433cbfffc17","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"18e4602d-b45b-4d35-a87a-8e98a5ec0979","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":"45af0c60-e16c-4393-a58c-bbe25b8b1f5e","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\": \"reprehenderit labore\",\n \"currency\": {\n \"symbol\": \"quis\",\n \"decimals\": -7304067,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"fugiat dolor non adipisicing\",\n \"currency\": {\n \"symbol\": \"aliquip\",\n \"decimals\": -63769126,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"coins\": [\n {\n \"coin_identifier\": {\n \"identifier\": \"irure et\"\n },\n \"amount\": {\n \"value\": \"do quis nostrud occaecat enim\",\n \"currency\": {\n \"symbol\": \"in anim dolo\",\n \"decimals\": 10833102,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n },\n {\n \"coin_identifier\": {\n \"identifier\": \"aliquip sunt\"\n },\n \"amount\": {\n \"value\": \"sint quis\",\n \"currency\": {\n \"symbol\": \"ex exercitation aliqua\",\n \"decimals\": -37008149,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n }\n ],\n \"metadata\": {\n \"sequence_number\": 83944344\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9f5bb723-30d8-4bdc-bf9e-47f9f9be3bfb","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"17ed2fcb-aeb6-4b3d-9f75-e8022abe0e9f","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":"6c46627f-423a-4a13-979d-5f0f3e521d2a","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\": 20214874,\n \"hash\": \"ips\"\n },\n \"timestamp\": -6147614,\n \"transactions\": [\n {\n \"transaction_identifier\": {\n \"hash\": \"dolore mollit sunt anim commodo\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -97916171,\n \"network_index\": -32459331\n },\n \"type\": \"aliquip ullamco ex\",\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\": \"quis exercitation\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"magna ut\",\n \"currency\": {\n \"symbol\": \"in ea\",\n \"decimals\": -55955808,\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\": 35691841,\n \"network_index\": -71368785\n },\n \"type\": \"laborum tempor\",\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\": \"dolore magna veniam ad\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"exercitation reprehenderit iru\",\n \"currency\": {\n \"symbol\": \"cillum aliquip\",\n \"decimals\": -30661705,\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\": \"fugiat culpa magna\",\n \"size\": -89157727,\n \"lockTime\": 18470855\n }\n },\n {\n \"transaction_identifier\": {\n \"hash\": \"enim est sint\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 29293948,\n \"network_index\": 95527939\n },\n \"type\": \"deserunt\",\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\": \"Lorem aliqua et in\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"nulla Excepteur\",\n \"currency\": {\n \"symbol\": \"aliquip proident est\",\n \"decimals\": 26555335,\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\": 93052628,\n \"network_index\": 60119170\n },\n \"type\": \"nisi laboris nulla\",\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\": \"qui exercitation mollit officia adipisicing\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"id sint Ut dolor\",\n \"currency\": {\n \"symbol\": \"fugiat off\",\n \"decimals\": 58075951,\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\": \"consectetur officia\",\n \"size\": 6389502,\n \"lockTime\": 11702755\n }\n }\n ],\n \"metadata\": {\n \"transactions_root\": \"non eu ea\",\n \"difficulty\": \"fugiat aute ex\"\n }\n },\n \"other_transactions\": [\n {\n \"hash\": \"qui minim pariatur commodo aute\"\n },\n {\n \"hash\": \"dolore id enim\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"192693c2-031c-4f0b-b23d-fe8fdf3e22dc","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"a589eab5-2cce-4ce1-9dc7-79d266a86bea","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":"292fb7c8-401d-4ff2-84f1-52cd3e97364a","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\": \"adipisicing id incididunt amet nostrud\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -76941712,\n \"network_index\": 76785273\n },\n \"type\": \"qui adipisicing\",\n \"related_operations\": [\n {\n \"index\": 56785518,\n \"network_index\": 46916383\n },\n {\n \"index\": 12038000,\n \"network_index\": -28176257\n }\n ],\n \"status\": \"sunt et mollit\",\n \"account\": {\n \"address\": \"sit Lorem anim veniam\",\n \"sub_account\": {\n \"address\": \"id\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"eu amet enim\",\n \"currency\": {\n \"symbol\": \"aute nisi\",\n \"decimals\": -52717447,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"ut\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -80943693,\n \"network_index\": 81364983\n },\n \"type\": \"id cupid\",\n \"related_operations\": [\n {\n \"index\": -90487736,\n \"network_index\": -11126845\n },\n {\n \"index\": -91104832,\n \"network_index\": 31559770\n }\n ],\n \"status\": \"culpa Lorem\",\n \"account\": {\n \"address\": \"dolor ut culpa dolor fugiat\",\n \"sub_account\": {\n \"address\": \"cupidatat ullamco in sunt\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"mollit Ut o\",\n \"currency\": {\n \"symbol\": \"esse\",\n \"decimals\": -67257620,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"laborum tempor\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"elit amet qui\",\n \"size\": 57609328,\n \"lockTime\": 60010907\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"73be068e-0a66-4fb9-8114-d82b34e926e7","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9286b2b4-96af-4334-b216-2251b78647c4","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":"0e2171f1-a5f1-4e82-a57f-ad10357a089d","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\": \"exercitation\"\n },\n {\n \"hash\": \"fugiat dolore enim\"\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f30005d1-0eb0-4fac-a291-59f7a07badd9","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"975c8b80-6b26-480e-9c54-8a9df7d5f8d6","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\": \"Duis laboris amet nostrud\",\n \"network\": \"ad labore qui consequat Ut\",\n \"sub_network_identifier\": {\n \"network\": \"est laboris labo\",\n \"metadata\": {\n \"producer\": \"quis in incididunt\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"sunt ut aliquip esse\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"95645a53-67d9-4206-904a-f0885e31d10c","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"Duis laboris amet nostrud\",\n \"network\": \"ad labore qui consequat Ut\",\n \"sub_network_identifier\": {\n \"network\": \"est laboris labo\",\n \"metadata\": {\n \"producer\": \"quis in incididunt\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"sunt ut aliquip esse\"\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\": \"quis\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 51562096,\n \"network_index\": -30328323\n },\n \"type\": \"aliqua sed anim\",\n \"related_operations\": [\n {\n \"index\": -36660988,\n \"network_index\": 35756685\n },\n {\n \"index\": 2450037,\n \"network_index\": 78812186\n }\n ],\n \"status\": \"anim magna\",\n \"account\": {\n \"address\": \"sint ea\",\n \"sub_account\": {\n \"address\": \"commodo consectetur sint Duis\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"qui in reprehenderit esse aliquip\",\n \"currency\": {\n \"symbol\": \"id ex Lorem tempor\",\n \"decimals\": -77607570,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"in Ut commodo amet\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 74500815,\n \"network_index\": 8699560\n },\n \"type\": \"sit sint\",\n \"related_operations\": [\n {\n \"index\": -99138804,\n \"network_index\": 62242945\n },\n {\n \"index\": 80613663,\n \"network_index\": -33445253\n }\n ],\n \"status\": \"cil\",\n \"account\": {\n \"address\": \"aliqua do qui\",\n \"sub_account\": {\n \"address\": \"qui tempor nostrud sunt laboris\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"Lorem do Ut et\",\n \"currency\": {\n \"symbol\": \"dolore commodo\",\n \"decimals\": -31426664,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"irure ipsum Excepteur dolore\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"amet\",\n \"size\": 18878471,\n \"lockTime\": 28344303\n }\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5029f5d9-2dd2-42be-85ff-a60b97e54bcc","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"Duis laboris amet nostrud\",\n \"network\": \"ad labore qui consequat Ut\",\n \"sub_network_identifier\": {\n \"network\": \"est laboris labo\",\n \"metadata\": {\n \"producer\": \"quis in incididunt\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"sunt ut aliquip esse\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"e229284a-b3d1-40d4-950c-3aa4d4e6e1ea","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":"ee0c4fed-c086-4f30-be72-03504d7b6aff","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\": \"occaecat dolore sint amet\",\n \"account_identifier\": {\n \"address\": \"ut ipsum do dolor\",\n \"sub_account\": {\n \"address\": \"exercitation consequat culpa in\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7c29e0eb-d2ef-43fd-b52e-4759a9487632","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"29bc2b7e-daea-4af4-b7ae-d3abcc4b7940","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":"19de295e-7ce9-4860-925d-2b8ec22aefd8","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\": \"anim Lorem exercitation\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7f90a56c-9c95-44cd-9b0a-62fbe6eae56a","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"bd8dc014-4aff-4cf8-b05c-636897965e4a","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":"1a671536-aa4c-4b5f-a408-289c819b3902","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\": 50365442,\n \"recent_block_hash\": \"aliquip qui do\"\n },\n \"suggested_fee\": [\n {\n \"value\": \"ut aute\",\n \"currency\": {\n \"symbol\": \"Lorem dolor do\",\n \"decimals\": 48455444,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"adipisicing eiusmod voluptate\",\n \"currency\": {\n \"symbol\": \"ea magna dese\",\n \"decimals\": 42294471,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"abe1dbbd-45fd-464c-8669-8b2b769f70f7","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"4ca7abf7-01d2-48b8-8de6-8074b87de6f9","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\": \"nisi tempor quis Excepteur id\",\n \"network\": \"labore ullamco in et anim\",\n \"sub_network_identifier\": {\n \"network\": \"cillum cupidatat\",\n \"metadata\": {\n \"producer\": \"consequat laborum incididunt\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"in\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a503b881-731a-4872-aefd-bda79fd63b29","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"nisi tempor quis Excepteur id\",\n \"network\": \"labore ullamco in et anim\",\n \"sub_network_identifier\": {\n \"network\": \"cillum cupidatat\",\n \"metadata\": {\n \"producer\": \"consequat laborum incididunt\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"in\"\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\": 20225538,\n \"network_index\": -6495250\n },\n \"type\": \"ut quis dolor\",\n \"related_operations\": [\n {\n \"index\": -98125568,\n \"network_index\": -47059201\n },\n {\n \"index\": -6650217,\n \"network_index\": 551769\n }\n ],\n \"status\": \"sed ut mollit et Excepteur\",\n \"account\": {\n \"address\": \"consequat proident\",\n \"sub_account\": {\n \"address\": \"Lorem magna adipisicing\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"deserunt aliqua pariatur quis sunt\",\n \"currency\": {\n \"symbol\": \"irure enim minim Duis culpa\",\n \"decimals\": 53977445,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"et nisi\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 63247148,\n \"network_index\": 32137286\n },\n \"type\": \"ad dolor officia exercitation dolore\",\n \"related_operations\": [\n {\n \"index\": -67733097,\n \"network_index\": -98619420\n },\n {\n \"index\": -15955492,\n \"network_index\": -27752222\n }\n ],\n \"status\": \"ut incididunt dolor\",\n \"account\": {\n \"address\": \"dolore in sint\",\n \"sub_account\": {\n \"address\": \"quis\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"enim eiusmod ea ipsum\",\n \"currency\": {\n \"symbol\": \"aute est lab\",\n \"decimals\": 98387051,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"eiusmod tempor\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"signers\": [\n \"reprehenderit eiusmod\",\n \"sit\"\n ],\n \"account_identifier_signers\": [\n {\n \"address\": \"mollit officia\",\n \"sub_account\": {\n \"address\": \"aute laborum cillum fugiat\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"non est cupidatat\",\n \"sub_account\": {\n \"address\": \"consectetur ea ut est\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9a484a2a-3eb0-4e82-a550-28144a423d7c","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"nisi tempor quis Excepteur id\",\n \"network\": \"labore ullamco in et anim\",\n \"sub_network_identifier\": {\n \"network\": \"cillum cupidatat\",\n \"metadata\": {\n \"producer\": \"consequat laborum incididunt\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"in\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"cb91436a-3044-4e23-961a-2b0dbb57ca58","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\": \"Lorem labore proident eu\",\n \"network\": \"eu aliquip et incididunt\",\n \"sub_network_identifier\": {\n \"network\": \"elit ea dolore sint voluptate\",\n \"metadata\": {\n \"producer\": \"amet pariatur voluptate dolor incididunt\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -82459792,\n \"network_index\": 98316758\n },\n \"type\": \"dolor exercitation amet pariatur tempor\",\n \"related_operations\": [\n {\n \"index\": -8457431,\n \"network_index\": -80286009\n },\n {\n \"index\": 439776,\n \"network_index\": 71961522\n }\n ],\n \"status\": \"voluptate eiusmod\",\n \"account\": {\n \"address\": \"reprehenderit aliquip deserunt\",\n \"sub_account\": {\n \"address\": \"elit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"sint ip\",\n \"currency\": {\n \"symbol\": \"nisi Duis\",\n \"decimals\": -46951354,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"ex Duis qui in\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -69246849,\n \"network_index\": -99754868\n },\n \"type\": \"ea ut eu\",\n \"related_operations\": [\n {\n \"index\": 62123429,\n \"network_index\": 78717155\n },\n {\n \"index\": 91641987,\n \"network_index\": -33204392\n }\n ],\n \"status\": \"id laborum\",\n \"account\": {\n \"address\": \"nostrud ad proident\",\n \"sub_account\": {\n \"address\": \"Ut dolor culpa ea eiusmod\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"irure quis\",\n \"currency\": {\n \"symbol\": \"sunt no\",\n \"decimals\": -93894212,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"cupidatat qui eiusmod sit\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"dolor cil\",\n \"currency\": {\n \"symbol\": \"eu ipsum ullamco\",\n \"decimals\": -63340343,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"aliquip enim dolore ipsum\",\n \"currency\": {\n \"symbol\": \"do consectetur fugiat\",\n \"decimals\": -12454163,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -60040528\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c9031c03-dc31-4984-89bf-7d603ef15ff1","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"p\",\n \"network\": \"exercitation\",\n \"sub_network_identifier\": {\n \"network\": \"aute Excep\",\n \"metadata\": {\n \"producer\": \"labore eu Lorem consequat\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 31705989,\n \"network_index\": -63529086\n },\n \"type\": \"ipsum ullamco\",\n \"related_operations\": [\n {\n \"index\": 39888388,\n \"network_index\": 86338243\n },\n {\n \"index\": -27258271,\n \"network_index\": -89431678\n }\n ],\n \"status\": \"mollit deserunt dolore laborum\",\n \"account\": {\n \"address\": \"laboris dolore adipisicing sunt\",\n \"sub_account\": {\n \"address\": \"reprehenderi\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"eu occaecat proident\",\n \"currency\": {\n \"symbol\": \"mollit\",\n \"decimals\": 75131989,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"Excepteur amet\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 13427550,\n \"network_index\": -18226238\n },\n \"type\": \"al\",\n \"related_operations\": [\n {\n \"index\": -94480112,\n \"network_index\": 79525464\n },\n {\n \"index\": 13055980,\n \"network_index\": 75907346\n }\n ],\n \"status\": \"fugiat anim pariatur\",\n \"account\": {\n \"address\": \"reprehenderit aute in\",\n \"sub_account\": {\n \"address\": \"quis dolore cillum\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"dolore exercitation ea pariatur\",\n \"currency\": {\n \"symbol\": \"minim Duis voluptate nostrud cillum\",\n \"decimals\": 12125341,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"minim non\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"pariatur aliquip nostrud dolore\",\n \"currency\": {\n \"symbol\": \"pariatur dolore ex sit\",\n \"decimals\": 56033880,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"id anim\",\n \"currency\": {\n \"symbol\": \"aute reprehenderit Ut id\",\n \"decimals\": -17199656,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -27866927\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"options\": {\n \"sender_address\": \"tempor labore enim\",\n \"type\": \"minim officia\",\n \"status\": \"officia occaecat culpa esse\",\n \"token_transfer_recipient_address\": \"aliquip Lorem qui\",\n \"amount\": \"eu do et\",\n \"symbol\": \"sed deserunt cillum enim\",\n \"decimals\": -77986211,\n \"gas_limit\": 26227032.9886384,\n \"gas_price\": 72067856.20298904,\n \"suggested_fee_multiplier\": 99801703.02611363,\n \"max_fee\": \"culpa anim nisi in\",\n \"fee\": \"veniam\",\n \"size\": 52344837,\n \"memo\": \"laboris reprehenderit dolore\",\n \"number_of_cycles\": 56297320,\n \"contract_address\": \"labore\",\n \"contract_name\": \"sit\",\n \"burn_block_height\": 76671359,\n \"delegate_to\": \"tempor mollit\",\n \"pox_addr\": \"do consequat aliquip\"\n },\n \"required_public_keys\": [\n {\n \"address\": \"dolore magna in\",\n \"sub_account\": {\n \"address\": \"ut id consectetur\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"laborum commodo ut non\",\n \"sub_account\": {\n \"address\": \"do aute in laboris cillum\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c1fb74ce-f285-4082-9772-fe2863d8f141","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"p\",\n \"network\": \"exercitation\",\n \"sub_network_identifier\": {\n \"network\": \"aute Excep\",\n \"metadata\": {\n \"producer\": \"labore eu Lorem consequat\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 31705989,\n \"network_index\": -63529086\n },\n \"type\": \"ipsum ullamco\",\n \"related_operations\": [\n {\n \"index\": 39888388,\n \"network_index\": 86338243\n },\n {\n \"index\": -27258271,\n \"network_index\": -89431678\n }\n ],\n \"status\": \"mollit deserunt dolore laborum\",\n \"account\": {\n \"address\": \"laboris dolore adipisicing sunt\",\n \"sub_account\": {\n \"address\": \"reprehenderi\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"eu occaecat proident\",\n \"currency\": {\n \"symbol\": \"mollit\",\n \"decimals\": 75131989,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"Excepteur amet\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 13427550,\n \"network_index\": -18226238\n },\n \"type\": \"al\",\n \"related_operations\": [\n {\n \"index\": -94480112,\n \"network_index\": 79525464\n },\n {\n \"index\": 13055980,\n \"network_index\": 75907346\n }\n ],\n \"status\": \"fugiat anim pariatur\",\n \"account\": {\n \"address\": \"reprehenderit aute in\",\n \"sub_account\": {\n \"address\": \"quis dolore cillum\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"dolore exercitation ea pariatur\",\n \"currency\": {\n \"symbol\": \"minim Duis voluptate nostrud cillum\",\n \"decimals\": 12125341,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"minim non\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"pariatur aliquip nostrud dolore\",\n \"currency\": {\n \"symbol\": \"pariatur dolore ex sit\",\n \"decimals\": 56033880,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"id anim\",\n \"currency\": {\n \"symbol\": \"aute reprehenderit Ut id\",\n \"decimals\": -17199656,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -27866927\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c3a226f7-bed0-4b04-80fd-7d49a5d0755d","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":"91bb89c5-c664-4eb1-a9d2-40cf1a94bb7c","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\": \"consequat magna\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b6696499-b057-4999-990b-970ea9f3b192","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"dfcc2d5d-f25e-4111-bff5-6c51011aacfa","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":"edc2e516-13d4-44e0-8e97-af9a91821b5f","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\": \"in in sunt tempor\",\n \"payloads\": [\n {\n \"hex_bytes\": \"cillum in do aliqua Lorem\",\n \"address\": \"do irure\",\n \"account_identifier\": {\n \"address\": \"laborum minim commodo\",\n \"sub_account\": {\n \"address\": \"incididunt aliqua\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"ed25519\"\n },\n {\n \"hex_bytes\": \"nulla ut in mollit ex\",\n \"address\": \"ad nostrud\",\n \"account_identifier\": {\n \"address\": \"in fugiat\",\n \"sub_account\": {\n \"address\": \"velit ut\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"ecdsa\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"38af293f-8488-4dea-9f87-0f71b4215c88","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"65acf554-0968-49c6-a839-ff27d17b9a13","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":"618a6652-0f33-44bf-83c0-1b5926b94ec4","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\": \"aute do\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e41e5e70-0e62-4ecd-b6d4-ce5bc4107dbd","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\": 75723819,\n \"message\": \"aliqua qui\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id reprehenderit velit\",\n \"error\": \"ad\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"7902a727-f17f-4be0-85a9-080ea154e786","name":"Search","description":{"content":"Read-only endpoints to search for accounts, blocks, smart contracts, and transactions","type":"text/plain"},"item":[{"id":"4fe0b80e-50d3-43bd-830b-3ce8515f660c","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":"false","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":"34b6652b-5b13-4ea9-a37d-4e0cdf8e6742","name":"Success","originalRequest":{"url":{"path":["extended","v1","search",":id"],"host":["{{baseUrl}}"],"query":[{"key":"include_metadata","value":"false"}],"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":"c1bb7a57-2482-4698-9501-ba2a9fbf33b8","name":"Not found","originalRequest":{"url":{"path":["extended","v1","search",":id"],"host":["{{baseUrl}}"],"query":[{"key":"include_metadata","value":"false"}],"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":"821ab55e-fef1-442c-9d0a-72cdf9fbd476","name":"Smart Contracts","description":{"content":"Read-only endpoints to obtain Clarity smart contract details","type":"text/plain"},"item":[{"id":"540ecf65-4ae7-4a0a-b476-eaf496cb070b","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":"5f80b7c1-55f5-497b-8162-1641c965e985","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":"f30fc700-354f-4317-bc9e-9a26d798a66d","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":"a46da840-c4f6-4ad1-8c3e-b033dc203581","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":"pariatur","description":"(Required) JSON abi of the trait."},{"disabled":false,"key":"limit","value":"78196866","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":"25b8b502-df1e-47f3-b0a0-d7fdd2c82a4c","name":"List of contracts implement given trait","originalRequest":{"url":{"path":["extended","v1","contract","by_trait"],"host":["{{baseUrl}}"],"query":[{"key":"trait_abi","value":"pariatur"},{"key":"limit","value":"78196866"},{"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":"fa41b188-47e8-43ec-b071-1c9100f78920","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":"78196866","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":"4602fee2-51ef-4d85-9905-2a49e76b05ec","name":"List of events","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id","events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"78196866"},{"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":"fd479a30-e688-48ac-b61b-a68c539448ca","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":"pariatur","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":"41ba4ae5-b26b-4ccd-88db-899204951cbf","name":"Contract interface","originalRequest":{"url":{"path":["v2","contracts","interface",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"pariatur"}],"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":"12ad97b9-df8b-4438-b8c6-6c34e3954fc5","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":"78196866","description":"Returns object without the proof field when set to 0"},{"disabled":false,"key":"tip","value":"pariatur","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":"db1d69b5-0459-4ced-8e01-ab989573b4dc","name":"Success","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"78196866"},{"key":"tip","value":"pariatur"}],"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":"f6971060-0f9a-4c4c-9482-8d784374e116","name":"Failed loading data map","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"78196866"},{"key":"tip","value":"pariatur"}],"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":"a568540b-a67e-4b05-8de2-9bc0889b5450","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":"78196866","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"pariatur","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":"f51ef0af-a2dc-4a26-b198-024ad4b8c1ad","name":"Success","originalRequest":{"url":{"path":["v2","contracts","source",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"78196866"},{"key":"tip","value":"pariatur"}],"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":"a76e8ece-1ab1-4faa-b258-90afc6a912c5","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":"pariatur","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":"ced4b30b-1fae-4b05-b243-d35139deec3d","name":"Success","originalRequest":{"url":{"path":["v2","contracts","call-read",":contract_address",":contract_name",":function_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"pariatur"}],"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":"eadb253a-1346-4278-a88f-b9146356a088","name":"Stacking Rewards","description":{"content":"Read-only endpoints to obtain Stacking reward details","type":"text/plain"},"item":[{"id":"8afef6da-e77f-4f19-aad9-93d9a99f7505","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":"546434c6-6de3-488a-b314-ed03680b85da","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":"f1aad093-421e-4be9-afdf-4a056b2b435a","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":"78196866","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":"b6c128f1-03fd-4322-a1ab-c5964f56467d","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","reward_slot_holders",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"78196866"},{"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":"01e5c416-c282-4f14-b126-54d67719e7e1","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":"12b87316-bffe-4c3e-96d2-553a07e3fd16","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":"0f2cf3bb-9cee-4a87-977b-2f386f3ea1e4","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":"78196866","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":"b5b3809f-c430-4741-910c-db4385a514b8","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"78196866"},{"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":"eb7b89aa-85e5-45e0-8676-cc1c71a4c3cc","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":"8460cf96-5f32-4db0-839f-40f5c5fd8abd","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":"ffeb30e5-fc32-457b-baa6-d74fe333c768","name":"Transactions","description":{"content":"Endpoints to obtain transaction details and to broadcast transactions to the network","type":"text/plain"},"item":[{"id":"491d8082-b825-4cef-9d42-689db09d1149","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":"poison_microblock","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":"3df84a73-6766-459c-89f2-07b9073668e8","name":"List of transactions","originalRequest":{"url":{"path":["extended","v1","tx"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"42000"},{"key":"type","value":"token_transfer"},{"key":"type","value":"smart_contract"},{"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":"f01c4ea9-0657-443d-964f-1e92c12fde59","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":"pariatur","description":"Filter to only return transactions with this recipient address (only applicable for STX transfer tx types)."},{"disabled":false,"key":"address","value":"pariatur","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":"53896806-618d-41f6-a74f-2e3f73635d19","name":"List of mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool"],"host":["{{baseUrl}}"],"query":[{"key":"sender_address","value":"SP1GPBP8NBRXDRJBFQBV7KMAZX1Z7W2RFWJEH0V10"},{"key":"recipient_address","value":"pariatur"},{"key":"address","value":"pariatur"},{"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":"3f2d5dac-6a1c-43b7-b8b9-56c164a246af","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":"83375e73-0df7-49c3-a55f-0fcd05a659bd","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":"276e59fe-9d0c-4b5b-b37b-4c66fce43f1d","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":"7ec2f76d-9228-4299-b171-7adbd632e43f","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":"d71499e0-a790-42d6-9d23-305cde5885d0","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":"in dolor","description":"(Required) Array of transaction ids"},{"disabled":false,"key":"tx_id","value":"occaecat cupidatat pariatur ad ut","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":"4ead3e57-c6fb-426a-9703-b190e3392427","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":"ipsum sed ex"},{"key":"tx_id","value":"ut pariatur labo"},{"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":"8b440be1-0efe-41ec-92a1-0fc6d8a9f020","name":"Could not find any transaction by ID","originalRequest":{"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"ipsum sed ex"},{"key":"tx_id","value":"ut pariatur labo"},{"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":"dbef9c1c-ea97-4cf1-8e61-649b58b2e1bd","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":"b348be07-91c7-463c-ade5-177740958831","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":"76d96c46-f598-4cdb-99b2-f9729ed63ee9","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":"c99fc714-f690-46e5-a555-417a991390d0","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":"ea87b77f-cf0e-4f84-9bca-bf1a8ebbcf81","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":"a1490a98-571c-43bb-9d83-353feb8fd71b","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":"a5d7bdce-39ee-436b-9ffe-132a097d58db","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":"1a1e7dbd-a300-4dca-bc51-322477190847","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":"5552f2ff-2486-422c-aa82-7a82933b24f1","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":"f2f3d7d6-ffbe-4673-95b2-81ef1d244e03","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":"c393e2c6-ac3a-4978-85bb-5c1a2b51ff46","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":"6649e3f0-a940-4f43-8dc9-149e0591d35a","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":"fe3990fd-fdd4-4e39-9b2d-6c3a81aed695","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":"383b139f-fbfb-40a3-84e2-5845020c2e5a","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":"1ce9507b-eedd-4c2f-8159-4fe40db4bc43","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":"589b9913-447b-47cd-902d-38db3f587c44","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_lock","description":"Filter the events on event type"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"b9079035-f291-4baf-bec8-4488e5252a47","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":"smart_contract_log"},{"key":"type","value":"non_fungible_token_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":"dcf6c570-8b54-4563-9751-e673b0495656","name":"Stacking","description":{"content":"","type":"text/plain"},"item":[{"id":"aa1e0cca-1768-40cc-b419-91e9954958e1","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":"78196866","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":"1019fe57-f353-4215-9c0a-6b83b450c6d7","name":"Success","originalRequest":{"url":{"path":["extended","beta","stacking",":pool_principal","delegations"],"host":["{{baseUrl}}"],"query":[{"key":"after_block","value":"78196866"},{"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":"1c8c0414-ffbe-4393-aab7-a48384710ccc","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](https://docs.hiro.so/get-started/stacks-blockchain-api).\n\n[Download Postman collection](https://hirosystems.github.io/stacks-blockchain-api/collection.json)\n","type":"text/plain"}}} \ No newline at end of file +{"item":[{"id":"6014e85b-4e35-4463-a61a-1eeed0479dc0","name":"Accounts","description":{"content":"Read-only endpoints to obtain Stacks account details","type":"text/plain"},"item":[{"id":"080159cf-cba2-407c-80ba-cc591537a467","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":"commodo","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":"05e9ed5d-a2f4-469b-a832-9b4a7eabc6bc","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","balances"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"commodo"}],"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":"eb93a66e-cb74-4911-93c4-e3420829d196","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":"commodo","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":"f4dbea46-410c-4d2d-a30c-8b096501c47a","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"commodo"}],"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":"7512ec98-4960-44a2-adc0-51f115dd8f7c","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":"commodo","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":"3acdaaa9-ff78-4981-9bb8-ee4e8a5a1fce","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":"commodo"}],"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":"a9864c84-93ba-4ac5-8277-7d7a2c2c98f8","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":"6ed6ea1b-1b06-4265-aac6-e749d5e41a03","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":"0c5f0977-85b2-4aa2-8b10-40842aba5dfd","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":"79c8e11a-7667-4809-9a00-4aabc9c89371","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":"commodo","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":"bbbcd06f-589d-42a4-9c13-4c0802a1eb40","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":"commodo"}],"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":"adfbc671-8be2-444c-b2e1-c67e91158761","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":"a6dd1fb2-4906-4420-ab87-53c685e3914a","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":"6a6f6aa4-6685-4ddb-bb29-77f6795e98ae","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":"commodo","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":"c8246c1d-e558-4aaf-8c49-75fee9b035fe","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":"commodo"}],"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":"16146556-d30a-4ba4-a365-bbeecda93473","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":"-21230289","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"height","value":"40029905.49492842","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":"commodo","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":"59f9ba76-a13b-4bbe-88fa-f222b6e318c1","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx_inbound"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-21230289"},{"key":"offset","value":"42000"},{"key":"height","value":"40029905.49492842"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"commodo"}],"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":"b591f5c1-13f9-4b40-b17a-5f604b81ebce","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":"-21230289","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":"commodo","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":"f424b5f3-0017-45bf-ba36-3d03f0e6afa9","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","nft_events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-21230289"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"commodo"}],"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":"00586ce3-51a9-4210-8863-b793f91b70b8","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":"-21230289","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"veniam est aliquip qui","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":"9f80795a-6384-45c5-b502-75f7e9d156ec","name":"Success","originalRequest":{"url":{"path":["v2","accounts",":principal"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"-21230289"},{"key":"tip","value":"veniam est aliquip qui"}],"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":"2e3a79e8-400c-4d3a-b8e5-454224d55c84","name":"Blocks","description":{"content":"Read-only endpoints to obtain Stacks block details","type":"text/plain"},"item":[{"id":"8ce55ab0-6ae8-427e-9c8a-ad36359b40c9","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":"4c617855-380d-4116-b044-bfd510dee436","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":"97cab79b-a934-48f3-bd5c-97e2a81b0591","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":"c3083126-fe88-40e8-8bc0-b74822e3692b","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":"336f4070-0903-4464-83ba-d4a0ab2d182a","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":"bbff5703-8446-41ec-86c5-294dd5fa92bb","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":"5fdaacda-8ba8-4c43-abf9-c430c87325ed","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":"9385e76a-fdf4-44d7-8acd-57b750cd6bfe","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":"92e8fb23-917a-462f-baf2-495c0e6c3658","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":"019f43c6-80be-40cd-bc77-02cb03a27775","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":"cf2b6e95-4c9b-40cc-ab2b-197fc57c433d","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":"89295fa7-b250-4e60-b2b0-9acff8861c12","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":"3a57b2c3-ac7c-4099-8277-8f16ab9f3e76","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":"2c1da26a-ceae-4959-913e-788ce34adeb8","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":"30929db5-13a0-4d29-bdc6-4f090073a237","name":"Faucets","description":{"content":"Endpoints to request STX or BTC tokens (not possible on Mainnet)","type":"text/plain"},"item":[{"id":"21bccfac-d5d2-4df7-90f8-f66e377ac1bd","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":"396acc0b-5fec-4daf-86fc-9272c7a1090d","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":"5f849df4-7fbe-4813-9ee9-9cb32cac6fe1","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":"078084c4-cfbe-413a-940a-fefb7c29a6ec","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":"f9f8b354-5d95-48e5-b7e1-38b566bb23d2","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":"78e8b775-490d-4dc1-8416-ba843c3651ef","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":"ef5e8c83-c32e-4823-880b-2a29c8fb0f1e","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":"c437580c-4a4e-44ec-8b0c-87e804ba54a6","name":"Fees","description":{"content":"Read-only endpoints to obtain fee details","type":"text/plain"},"item":[{"id":"6ebbe951-3cd7-4767-b9aa-37b65547ad98","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":"4924d473-7cf9-48e6-bd9b-2d59f84e6875","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":"1e1cc59d-8b90-47e8-b1f9-106202e5b9e2","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":"293c1d1b-b805-471b-9a39-13bc74c5a9da","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":"660d7cc9-9ebe-4b2a-916a-7e0d71824dd0","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":"16e91cab-010e-48a1-854a-c0581be1d193","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":"5f3b1554-310d-4ce7-aa7a-4c5ee97a7cf8","name":"Fungible Tokens","description":{"content":"Read-only endpoints to obtain fungible token details","type":"text/plain"},"item":[{"id":"9336b906-83a2-4763-bf06-2f81eaca3fca","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":"3f51d176-ef9a-4741-9569-e8dee8edfb82","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":"acf6ec04-a6dd-433f-90e6-734ae5f2855a","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":"445172fe-2c7c-4675-b3fa-846193360545","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":"55a43297-5195-4a65-ae5c-565e6a28636f","name":"Info","description":{"content":"Read-only endpoints to obtain network, Proof-of-Transfer, Stacking, STX token, and node information","type":"text/plain"},"item":[{"id":"117915f9-779f-49bd-a4bb-47a819b14dbb","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":"5aae8ea6-8203-4ab6-ae89-74004972e6ec","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":"1f8ed0c7-fc3a-4340-81d5-0a8fd8d25dfb","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":"eea980c4-fdb8-432d-a4f9-f285dfbadf8f","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":"fdc05d71-b9f3-4e5f-b523-3732e5eb1e71","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":"a97b3023-1166-4619-a1b8-4de7d1457f30","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":"4e91d843-bfe7-45e8-967d-29065c9023cb","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":"2f57b6f6-14b9-4bea-bb07-ec98e76e18a7","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":"54c73890-4a87-4d0b-9037-bf635c19c870","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":"0dc30c78-0e64-49fe-b2f0-6459729919f1","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":"15cd8f8f-c1e1-4e31-8c07-cbe8a5b5a5b5","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":"8611de1d-6041-4b21-9c44-7591cacbe026","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":"e2f7aa86-338d-4f25-893b-cbe96eb1e37a","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":"aed28a4d-e45b-4b76-8152-eba76a2869bb","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":"59d4a4c8-46bc-4b9c-bf6e-75bab350682a","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":"7376095d-2dc3-4742-87f0-27ee633d9220","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":"0984c210-ffd9-4b9e-9032-77289222eef9","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":"2e559793-17f5-4cef-9b24-f5877bdd8980","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":"eef3d02f-9a1b-4b2a-8d63-a6260450799f","name":"Microblocks","description":{"content":"Read-only endpoints to obtain microblocks details","type":"text/plain"},"item":[{"id":"5b9fb194-f4c1-433c-9523-cfd39d35c0bd","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":"7da5a3e6-622e-497c-97c0-7d7d23f7f4e0","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\": true,\n \"microblock_canonical\": true,\n \"microblock_hash\": \"dolore reprehenderit\",\n \"microblock_sequence\": 92625211,\n \"microblock_parent_hash\": \"sunt nisi sint\",\n \"block_height\": 25893296,\n \"parent_block_height\": 3048037,\n \"parent_block_hash\": \"sit\",\n \"block_hash\": \"occaecat\",\n \"txs\": [\n \"incididunt veniam\",\n \"elit sit magna\"\n ],\n \"parent_burn_block_time\": 23464650,\n \"parent_burn_block_time_iso\": \"pariatur consequat tempor dolor\",\n \"parent_burn_block_hash\": \"Ut Lorem\",\n \"parent_burn_block_height\": 5632714\n },\n {\n \"canonical\": true,\n \"microblock_canonical\": false,\n \"microblock_hash\": \"Ut in velit eu\",\n \"microblock_sequence\": 39227244,\n \"microblock_parent_hash\": \"cupidatat id ex Excepteur\",\n \"block_height\": -79164956,\n \"parent_block_height\": -45268159,\n \"parent_block_hash\": \"voluptate sunt\",\n \"block_hash\": \"labore Duis consequat reprehende\",\n \"txs\": [\n \"commodo incididunt ipsum aliqua\",\n \"fugiat in et ipsum commodo\"\n ],\n \"parent_burn_block_time\": 86880570,\n \"parent_burn_block_time_iso\": \"id\",\n \"parent_burn_block_hash\": \"mollit sunt cillum\",\n \"parent_burn_block_height\": -1050250\n }\n ],\n \"limit\": -5645152,\n \"offset\": 0,\n \"total\": 24663143\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"00cc4e16-b148-42b6-be19-af023b611428","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":"4f0b4329-4581-4ec2-9a96-1b8b9b304875","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\": \"dolor qui minim occaecat nostrud\",\n \"microblock_sequence\": 73897975,\n \"microblock_parent_hash\": \"Lorem consequat cupidatat officia\",\n \"block_height\": -94574774,\n \"parent_block_height\": 68538627,\n \"parent_block_hash\": \"ex pariatur\",\n \"block_hash\": \"adipisicing in dolore\",\n \"txs\": [\n \"sunt\",\n \"enim mollit nostrud ut\"\n ],\n \"parent_burn_block_time\": -81895163,\n \"parent_burn_block_time_iso\": \"dolore voluptate tempor Ut\",\n \"parent_burn_block_hash\": \"adipisicing et do\",\n \"parent_burn_block_height\": 81554859\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ab0d2725-7015-42a8-b8bf-1487cb0d5947","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":"502b0096-ac74-4598-9e71-22e51b626aaf","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":"0fe767d8-630a-4461-b3d4-35c0af6e26a4","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\": 29738557\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"25377560-a2e2-4918-bdf6-e37c7da898be","name":"Names","description":{"content":"Read-only endpoints realted to the Blockchain Naming System on Stacks","type":"text/plain"},"item":[{"id":"a9f2d7d6-5c9c-496f-874f-2bee4099e69b","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":"c556dbff-c195-4822-8520-0dcc948448a3","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\": \"elit id\",\n \"amount\": \"61\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"255384a2-8698-4a88-a50f-e2b534c3d9e1","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":"f940d290-0844-467a-956d-3ad0e93360a1","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\": \"reprehenderit laborum in\",\n \"amount\": \"688342779\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"16229d3d-86ad-4269-948f-ddf76a914c60","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":"bb8baf51-254d-4e80-acf3-e270e3033ab7","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":"5daa980a-24fc-4a54-b49a-81389e43a727","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":"943066c3-a230-4ca3-aa3b-ca86dcca690b","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":"c8fc3929-0315-4f28-a4c5-5ae6ccde6b20","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":"23354c5d-078d-4c52-8b56-317676b41fae","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":"9b41e3ee-63dc-4d20-ab1e-897f88095378","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":"047b92ed-e368-492c-ab07-bb984c9e736c","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":"608f35f8-584e-4d2d-837d-a83626c59af1","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":"1c5cf8ca-eef4-4060-97cb-026f90a7dc89","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":"42b3d2a3-463a-4ea5-a097-805b8a1e98b9","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":"bb360c5b-29b7-4fd0-bc49-cdb1afde8272","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":"e0a64e5b-9165-4bc2-a015-91738621f5c6","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":"b06bf655-927f-4d9f-a423-c035b6726179","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":"a48070a8-d658-4656-ad5a-02a7c8bfba6d","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":"c9707daa-99d5-44dd-a3e8-2fbc55cb3f8e","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":"ac0133c7-75c6-41b8-bafe-b723a5ae688b","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":"b2338286-ba4a-42ec-a0df-3ed59e86c039","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":"a25e1848-304b-4837-95cd-efdffd844f06","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":"c8e6d5c6-5abb-43ac-90de-3fb4ab5a876a","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":"6512cffc-fa81-460f-857b-da5342fa3f11","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":"8bbbdf51-dd54-42a4-b2aa-01a85ef9d4a4","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":"2669bcff-b43b-46fc-9ab2-213b16544f98","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":"3ad0ee7f-2276-4e62-ba4f-db8fa779882c","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":"f55ac3af-16e6-4e56-a92f-b9c3200155fb","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":"24a6ef1c-0437-41cd-8422-1ac65e4e92c4","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":"88b1bb2d-eeb3-455d-86c7-6112f4b92774","name":"Non-Fungible Tokens","description":{"content":"Read-only endpoints to obtain non-fungible token details","type":"text/plain"},"item":[{"id":"95a0f6ec-2470-40fa-96c0-b970b3df14ef","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":"ad in ut eiusmod","description":"identifiers of the token asset classes to filter for"},{"disabled":false,"key":"asset_identifiers","value":"magna ullamco veniam sed","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":"e43b33d0-eb96-4813-9d12-81d9499f9ab7","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":"labore magna aute pariatur"},{"key":"asset_identifiers","value":"adipisicin"},{"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":"1b992d17-9c6a-4fa4-bf44-a4ca9c0cbadc","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":"6aaf81f4-7c04-4477-94b7-5ec8c6b19780","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":"b114c770-b5e2-4303-b2c3-bfcce1e28e7d","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":"0d451eb1-1cb5-49e2-9613-36bea4f09d1c","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":"1b27f6a9-55e4-4ca1-9f3d-2f68f3177ec5","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":"45a816de-ad5b-4a1b-8387-6a9a3e11ffce","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":"8e6578c9-15e9-4982-bd46-ce275997ff70","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":"veniam est aliquip qui","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","auth":null},"response":[{"id":"332e7ac2-dc04-4312-a687-f89820698c4d","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":"veniam est aliquip qui","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":"7042a7eb-25fc-4bd6-9240-2ee3c10440d0","name":"Rosetta","description":{"content":"Endpoints to support the Rosetta API open blockchain standard","type":"text/plain"},"item":[{"id":"07e68917-2907-4370-ba01-0b3d7fda0b93","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":"621ed91c-bbe5-4e46-9a0f-13a90c7e0362","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\": \"sed aliqua voluptate culpa Ut\",\n \"network\": \"reprehenderit commodo consectetur mollit\",\n \"sub_network_identifier\": {\n \"network\": \"velit eu\",\n \"metadata\": {\n \"producer\": \"in ex aliqua\"\n }\n }\n },\n {\n \"blockchain\": \"mollit\",\n \"network\": \"anim\",\n \"sub_network_identifier\": {\n \"network\": \"laborum\",\n \"metadata\": {\n \"producer\": \"in pariatur id Excepteur\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2fd15f70-288c-40e4-aa19-6df4b77e6610","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c02aad79-9d41-4ce5-9fc2-0761f6a14104","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":"045ec696-dd13-43cf-8b04-4e7b1eb02073","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\": \"sed consectetur dolore\",\n \"node_version\": \"cillum amet veniam occaecat tempor\",\n \"middleware_version\": \"tempor\",\n \"metadata\": {}\n },\n \"allow\": {\n \"operation_statuses\": [\n {\n \"status\": \"mollit aute nostrud\",\n \"successful\": true\n },\n {\n \"status\": \"elit pariatur\",\n \"successful\": false\n }\n ],\n \"operation_types\": [\n \"amet laborum cupidatat ipsum\",\n \"consectetur adipisicing\"\n ],\n \"errors\": [\n {\n \"code\": 97871725,\n \"message\": \"ea Ut\",\n \"retriable\": true\n },\n {\n \"code\": -6793059,\n \"message\": \"Ut veniam ad esse\",\n \"retriable\": true\n }\n ],\n \"historical_balance_lookup\": true\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9c90191e-a01c-489c-ac97-df5eca62d471","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b5fbc2af-7939-4738-9f83-cf367611ffd2","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":"7ec0f074-b289-4544-89c1-eb8d1bb673eb","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\": 46316424,\n \"genesis_block_identifier\": {\n \"index\": -48897100,\n \"hash\": \"velit occaecat adipisicing qu\"\n },\n \"peers\": [\n {\n \"peer_id\": \"Ut ipsum\",\n \"metadata\": {}\n },\n {\n \"peer_id\": \"commod\",\n \"metadata\": {}\n }\n ],\n \"oldest_block_identifier\": {\n \"index\": -17094620,\n \"hash\": \"enim\"\n },\n \"sync_status\": {\n \"current_index\": 53360084,\n \"target_index\": 59824654,\n \"stage\": \"in\",\n \"synced\": true\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ed34eeed-599a-4172-8b39-3a4c2c90212f","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9a0308ae-80a7-4022-9664-184e52f8661e","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":"3c14c4c6-3ac4-4a10-aaa8-08b2dd013252","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\": \"voluptate labore dolor culpa velit\",\n \"currency\": {\n \"symbol\": \"consequat in enim incididunt\",\n \"decimals\": 81308707,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"proident culp\",\n \"currency\": {\n \"symbol\": \"sint mollit tempor ut\",\n \"decimals\": -80394149,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"coins\": [\n {\n \"coin_identifier\": {\n \"identifier\": \"nulla irure\"\n },\n \"amount\": {\n \"value\": \"qui magna\",\n \"currency\": {\n \"symbol\": \"irure sint occaecat\",\n \"decimals\": -75464528,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n },\n {\n \"coin_identifier\": {\n \"identifier\": \"id aliquip non\"\n },\n \"amount\": {\n \"value\": \"et esse dolor\",\n \"currency\": {\n \"symbol\": \"non nostrud aliquip ex\",\n \"decimals\": 45227117,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n }\n ],\n \"metadata\": {\n \"sequence_number\": -34241528\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fc241306-100a-47c4-8a03-cbc8eb951564","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5659ac6d-29f4-4645-8f02-f6698ca4ba90","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":"3883c108-3fcf-4db2-8f13-3abb399ad31c","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\": 88201892,\n \"hash\": \"anim cupidatat elit ullamco\"\n },\n \"timestamp\": 75871210,\n \"transactions\": [\n {\n \"transaction_identifier\": {\n \"hash\": \"Ut eiusmod id esse in\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 24035794,\n \"network_index\": -59635029\n },\n \"type\": \"et tempor irure ea\",\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\": \"aliquip in in\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"aliquip ut\",\n \"currency\": {\n \"symbol\": \"tempor qui in officia\",\n \"decimals\": -72463724,\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\": 75801606,\n \"network_index\": -15549708\n },\n \"type\": \"e\",\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\": \"ipsum aliqua sed\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"in non officia incididunt\",\n \"currency\": {\n \"symbol\": \"non occaecat ex\",\n \"decimals\": -84568185,\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\": \"incididunt est\",\n \"size\": 80315542,\n \"lockTime\": -4371750\n }\n },\n {\n \"transaction_identifier\": {\n \"hash\": \"velit est\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 39470808,\n \"network_index\": -74496448\n },\n \"type\": \"dolore laborum\",\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\": \"Exce\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"adipisicing consectetur velit\",\n \"currency\": {\n \"symbol\": \"dolor ullamco cupidatat ad\",\n \"decimals\": -71445785,\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\": -85144562,\n \"network_index\": 52235335\n },\n \"type\": \"magna culpa pariatur\",\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\": \"irure mollit aliquip\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"officia nisi eu\",\n \"currency\": {\n \"symbol\": \"nulla esse\",\n \"decimals\": 94162901,\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\": \"qui fugiat ut\",\n \"size\": -31289099,\n \"lockTime\": 87128246\n }\n }\n ],\n \"metadata\": {\n \"transactions_root\": \"ea proident qui minim\",\n \"difficulty\": \"mollit Lorem\"\n }\n },\n \"other_transactions\": [\n {\n \"hash\": \"nostrud Duis\"\n },\n {\n \"hash\": \"ea ad in irure labore\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"319f84df-0c63-4727-8351-1aa0a354b236","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"16ef2fb6-fb2d-4b25-8a3f-a74a8ca63d4a","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":"8c54ee07-f497-4865-a1cd-5e5c7d72ede8","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\": \"Ut veniam non\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -74259440,\n \"network_index\": -12660088\n },\n \"type\": \"in do\",\n \"related_operations\": [\n {\n \"index\": 92489963,\n \"network_index\": -7194500\n },\n {\n \"index\": -35231659,\n \"network_index\": 69431079\n }\n ],\n \"status\": \"nulla nisi \",\n \"account\": {\n \"address\": \"sed ullamco\",\n \"sub_account\": {\n \"address\": \"laboris magna\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"laboris labore\",\n \"currency\": {\n \"symbol\": \"aliquip incididunt amet in sit\",\n \"decimals\": 44177767,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"veniam\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -4776595,\n \"network_index\": -25130421\n },\n \"type\": \"amet labore dolore qu\",\n \"related_operations\": [\n {\n \"index\": -16656238,\n \"network_index\": 35691068\n },\n {\n \"index\": 45553603,\n \"network_index\": 48063775\n }\n ],\n \"status\": \"in\",\n \"account\": {\n \"address\": \"magna Lorem velit adipisicin\",\n \"sub_account\": {\n \"address\": \"esse ut voluptate\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"ex aute\",\n \"currency\": {\n \"symbol\": \"amet\",\n \"decimals\": -24200425,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"Excepteur\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"consequat do\",\n \"size\": -1126800,\n \"lockTime\": -50289729\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8acd8ee9-9f9d-496c-ad1c-158576f64ddf","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"75cf1ef1-6dc7-46bb-a9d2-f4924441cb4f","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":"36f4a20d-417e-45a2-a7c9-bd1cc02d7c70","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\": \"eu reprehenderit elit Lorem\"\n },\n {\n \"hash\": \"Duis adipisicing reprehenderit magna\"\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fedb04b3-569b-4b02-84a6-a63315170073","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"41ddcc9f-a5d1-41ae-a727-cb242132f9e8","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\": \"quis adipisicing\",\n \"network\": \"amet Lorem\",\n \"sub_network_identifier\": {\n \"network\": \"Dui\",\n \"metadata\": {\n \"producer\": \"qui reprehenderit consequat\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"cillum occaecat\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c84932fb-cda2-4ebb-9883-453fbd5a9d6b","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"quis adipisicing\",\n \"network\": \"amet Lorem\",\n \"sub_network_identifier\": {\n \"network\": \"Dui\",\n \"metadata\": {\n \"producer\": \"qui reprehenderit consequat\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"cillum occaecat\"\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\": \"Duis proident do\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 25599432,\n \"network_index\": 22062658\n },\n \"type\": \"non sed\",\n \"related_operations\": [\n {\n \"index\": 28235696,\n \"network_index\": 30872194\n },\n {\n \"index\": 75050584,\n \"network_index\": 53422893\n }\n ],\n \"status\": \"non qui esse minim\",\n \"account\": {\n \"address\": \"ea ex magna laboris\",\n \"sub_account\": {\n \"address\": \"aliqua\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"tempor\",\n \"currency\": {\n \"symbol\": \"enim\",\n \"decimals\": -76218624,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"pariatur cupi\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -27837141,\n \"network_index\": -40128386\n },\n \"type\": \"anim cillum labore Duis\",\n \"related_operations\": [\n {\n \"index\": -76288599,\n \"network_index\": -65876687\n },\n {\n \"index\": -57476960,\n \"network_index\": 37327580\n }\n ],\n \"status\": \"Duis id laboris enim\",\n \"account\": {\n \"address\": \"officia minim\",\n \"sub_account\": {\n \"address\": \"ex sint non mollit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"cupidatat\",\n \"currency\": {\n \"symbol\": \"veniam e\",\n \"decimals\": 52473998,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"exercitation deserunt\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"tempor magna anim sint velit\",\n \"size\": 34165573,\n \"lockTime\": -42154925\n }\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c24b7313-407c-405a-b3c9-3c8550f9abce","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"quis adipisicing\",\n \"network\": \"amet Lorem\",\n \"sub_network_identifier\": {\n \"network\": \"Dui\",\n \"metadata\": {\n \"producer\": \"qui reprehenderit consequat\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"cillum occaecat\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5a1b93fa-f79a-4d37-8848-743ef6e6b62d","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":"7d37e207-a2d9-47ca-818c-63305e628259","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\": \"dolor Excepteur\",\n \"account_identifier\": {\n \"address\": \"sint laborum\",\n \"sub_account\": {\n \"address\": \"occaecat ipsum do\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d650d31c-1b41-4c00-8ade-af32dcd554b3","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"83dfb55f-82f7-4a87-b4fb-1965db7d54b9","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":"d66ab8e5-110b-4fda-88af-6cd82f547230","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\": \"proident aliqua Ut nostrud\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"905fc577-fa45-4f01-b3f3-0e3dcdd5ce4c","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"99bb66ab-d53e-49ac-b6b9-35fdb052fcba","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":"11e28b34-5415-49a2-be1f-317a766871ec","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\": 40440768,\n \"recent_block_hash\": \"dolor nulla do officia ut\"\n },\n \"suggested_fee\": [\n {\n \"value\": \"nulla cillum\",\n \"currency\": {\n \"symbol\": \"dolor in\",\n \"decimals\": 49722855,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"consectetur eiusmod veniam Duis\",\n \"currency\": {\n \"symbol\": \"est d\",\n \"decimals\": -42719003,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bffbfe53-800c-49e3-a68f-ea62874cfe05","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c1c2fd76-f884-42e2-b524-745725f08409","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\": \"Lorem dolor ullamco sed amet\",\n \"network\": \"qui aute non\",\n \"sub_network_identifier\": {\n \"network\": \"veniam dolor consectetur do commodo\",\n \"metadata\": {\n \"producer\": \"cillum enim\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"nulla\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"efaf7a10-6fce-48d5-872c-59da20900480","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"Lorem dolor ullamco sed amet\",\n \"network\": \"qui aute non\",\n \"sub_network_identifier\": {\n \"network\": \"veniam dolor consectetur do commodo\",\n \"metadata\": {\n \"producer\": \"cillum enim\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"nulla\"\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\": -20906063,\n \"network_index\": 2545374\n },\n \"type\": \"dolore in\",\n \"related_operations\": [\n {\n \"index\": -97509813,\n \"network_index\": 70067845\n },\n {\n \"index\": -85238769,\n \"network_index\": 94788162\n }\n ],\n \"status\": \"culpa elit\",\n \"account\": {\n \"address\": \"nisi sunt est\",\n \"sub_account\": {\n \"address\": \"proident pariatur\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"laboris sunt ullamco consectetur\",\n \"currency\": {\n \"symbol\": \"dolore dolor Duis nulla\",\n \"decimals\": 14402634,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"minim enim eiusmod reprehend\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 4936151,\n \"network_index\": 28310977\n },\n \"type\": \"anim ut non deserunt\",\n \"related_operations\": [\n {\n \"index\": 77411295,\n \"network_index\": 74594019\n },\n {\n \"index\": 69011397,\n \"network_index\": 13084240\n }\n ],\n \"status\": \"dolore et qui\",\n \"account\": {\n \"address\": \"eu\",\n \"sub_account\": {\n \"address\": \"ipsum laboris eu nisi cupidatat\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"ad nisi qui irure\",\n \"currency\": {\n \"symbol\": \"fugiat Lorem\",\n \"decimals\": 18182724,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"irure cupidatat sunt pariatur\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"signers\": [\n \"amet Ut\",\n \"dolore\"\n ],\n \"account_identifier_signers\": [\n {\n \"address\": \"cupidatat sed aute\",\n \"sub_account\": {\n \"address\": \"exercitation\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"exercitation aliquip\",\n \"sub_account\": {\n \"address\": \"velit Lore\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"15a842c5-4829-477b-a401-6b326cc6e717","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"Lorem dolor ullamco sed amet\",\n \"network\": \"qui aute non\",\n \"sub_network_identifier\": {\n \"network\": \"veniam dolor consectetur do commodo\",\n \"metadata\": {\n \"producer\": \"cillum enim\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"nulla\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"41e18a3d-a941-498b-bdc0-c35f734d1d1c","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\": \"tempor elit sed qui\",\n \"network\": \"cupidatat\",\n \"sub_network_identifier\": {\n \"network\": \"sit\",\n \"metadata\": {\n \"producer\": \"non labore est\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 53735377,\n \"network_index\": -92757487\n },\n \"type\": \"adipisicing nostrud ut\",\n \"related_operations\": [\n {\n \"index\": -71195348,\n \"network_index\": 58496947\n },\n {\n \"index\": -32647047,\n \"network_index\": -53861762\n }\n ],\n \"status\": \"in\",\n \"account\": {\n \"address\": \"fugiat nisi sit offici\",\n \"sub_account\": {\n \"address\": \"in amet tempor\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"tempor dolore\",\n \"currency\": {\n \"symbol\": \"ex\",\n \"decimals\": 34292350,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"ex in ut aute\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 21983999,\n \"network_index\": -56218317\n },\n \"type\": \"esse minim cillum\",\n \"related_operations\": [\n {\n \"index\": -12702091,\n \"network_index\": -85670006\n },\n {\n \"index\": -573981,\n \"network_index\": 14231157\n }\n ],\n \"status\": \"sed eu \",\n \"account\": {\n \"address\": \"culpa commodo et\",\n \"sub_account\": {\n \"address\": \"amet deserunt\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"velit aliquip\",\n \"currency\": {\n \"symbol\": \"occaecat non\",\n \"decimals\": -26296800,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"ullamco\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"amet anim\",\n \"currency\": {\n \"symbol\": \"volup\",\n \"decimals\": -17246617,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"in minim\",\n \"currency\": {\n \"symbol\": \"Excepteur\",\n \"decimals\": -7266375,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": 93004478\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"09bb93b5-8840-4251-ba7e-6a03af3d313b","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"fugiat irure nostrud Ut incididunt\",\n \"network\": \"in ut\",\n \"sub_network_identifier\": {\n \"network\": \"\",\n \"metadata\": {\n \"producer\": \"minim commodo id amet\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -71485869,\n \"network_index\": 18041593\n },\n \"type\": \"exercitation et\",\n \"related_operations\": [\n {\n \"index\": -79566365,\n \"network_index\": -26068965\n },\n {\n \"index\": 24999241,\n \"network_index\": -71724821\n }\n ],\n \"status\": \"sit \",\n \"account\": {\n \"address\": \"proident eu culpa Lorem\",\n \"sub_account\": {\n \"address\": \"mollit ipsum\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"irure\",\n \"currency\": {\n \"symbol\": \"esse labore sunt deserunt\",\n \"decimals\": -47902978,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"adipisicing et sed\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 24875093,\n \"network_index\": -95799664\n },\n \"type\": \"Excepteur eiusmod non nulla\",\n \"related_operations\": [\n {\n \"index\": -31271866,\n \"network_index\": -15485889\n },\n {\n \"index\": 8575618,\n \"network_index\": 61499508\n }\n ],\n \"status\": \"deserunt Excepteur dolor\",\n \"account\": {\n \"address\": \"elit enim sunt eu\",\n \"sub_account\": {\n \"address\": \"deserunt do veniam\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"proident repr\",\n \"currency\": {\n \"symbol\": \"dolor elit amet\",\n \"decimals\": 70758123,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"labore ullamco laboris quis\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"commodo pariatur velit\",\n \"currency\": {\n \"symbol\": \"proident non in ut\",\n \"decimals\": -44076659,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"\",\n \"currency\": {\n \"symbol\": \"sint\",\n \"decimals\": -74461143,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -65748759\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"options\": {\n \"sender_address\": \"dolor non\",\n \"type\": \"in pariatur cillum Ut\",\n \"status\": \"pariatur dolor\",\n \"token_transfer_recipient_address\": \"ipsum ut mollit\",\n \"amount\": \"ex in\",\n \"symbol\": \"Lorem reprehenderit\",\n \"decimals\": -66528982,\n \"gas_limit\": 73388453.50585118,\n \"gas_price\": -12841182.437144965,\n \"suggested_fee_multiplier\": -34966326.91758403,\n \"max_fee\": \"quis ex\",\n \"fee\": \"ad fugiat nostrud\",\n \"size\": 21410196,\n \"memo\": \"ipsum eiusmod\",\n \"number_of_cycles\": 51213497,\n \"contract_address\": \"labore commodo\",\n \"contract_name\": \"exercitation\",\n \"burn_block_height\": -34253445,\n \"delegate_to\": \"Ut\",\n \"pox_addr\": \"ulla\"\n },\n \"required_public_keys\": [\n {\n \"address\": \"irure tempor\",\n \"sub_account\": {\n \"address\": \"eiusmod\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"voluptate minim culpa amet\",\n \"sub_account\": {\n \"address\": \"do ut\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0d129c68-53c0-4538-8b1f-a1fa10e1cfac","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"fugiat irure nostrud Ut incididunt\",\n \"network\": \"in ut\",\n \"sub_network_identifier\": {\n \"network\": \"\",\n \"metadata\": {\n \"producer\": \"minim commodo id amet\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -71485869,\n \"network_index\": 18041593\n },\n \"type\": \"exercitation et\",\n \"related_operations\": [\n {\n \"index\": -79566365,\n \"network_index\": -26068965\n },\n {\n \"index\": 24999241,\n \"network_index\": -71724821\n }\n ],\n \"status\": \"sit \",\n \"account\": {\n \"address\": \"proident eu culpa Lorem\",\n \"sub_account\": {\n \"address\": \"mollit ipsum\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"irure\",\n \"currency\": {\n \"symbol\": \"esse labore sunt deserunt\",\n \"decimals\": -47902978,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"adipisicing et sed\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 24875093,\n \"network_index\": -95799664\n },\n \"type\": \"Excepteur eiusmod non nulla\",\n \"related_operations\": [\n {\n \"index\": -31271866,\n \"network_index\": -15485889\n },\n {\n \"index\": 8575618,\n \"network_index\": 61499508\n }\n ],\n \"status\": \"deserunt Excepteur dolor\",\n \"account\": {\n \"address\": \"elit enim sunt eu\",\n \"sub_account\": {\n \"address\": \"deserunt do veniam\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"proident repr\",\n \"currency\": {\n \"symbol\": \"dolor elit amet\",\n \"decimals\": 70758123,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"labore ullamco laboris quis\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"commodo pariatur velit\",\n \"currency\": {\n \"symbol\": \"proident non in ut\",\n \"decimals\": -44076659,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"\",\n \"currency\": {\n \"symbol\": \"sint\",\n \"decimals\": -74461143,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -65748759\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"4ca80154-73d9-4260-ab05-7a21dd79de1c","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":"7acc0398-9498-4c72-8e17-6fcc0fb17f79","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\": \"minim adipisicing tempor voluptate sed\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65f01f5a-8c0c-4207-a379-4f607dc95f20","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5dcff9dc-21f0-4281-9991-25bb333f6025","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":"3e231bc3-9ec3-49ee-bec8-c1aeaeba937c","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\": \"exercitation ipsum\",\n \"payloads\": [\n {\n \"hex_bytes\": \"non commodo magna eu\",\n \"address\": \"fugiat\",\n \"account_identifier\": {\n \"address\": \"et in pariat\",\n \"sub_account\": {\n \"address\": \"qui\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"schnorr_poseidon\"\n },\n {\n \"hex_bytes\": \"occaecat aliquip voluptate in\",\n \"address\": \"Duis ex l\",\n \"account_identifier\": {\n \"address\": \"reprehenderit nulla\",\n \"sub_account\": {\n \"address\": \"pr\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"ecdsa\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5bdc884d-f2a1-430a-886a-830fcc97eb01","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"90617cce-cb02-4d72-a391-888799e1c58a","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":"5ea5d993-6b31-4737-a8f0-6e6af89342e1","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\": \"ipsum irure dolor\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"88fe7eb3-1868-4b00-aed7-2f0074f9d18c","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\": -95598261,\n \"message\": \"id nisi veniam eiusmod\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"id sit eiusmod deserunt\",\n \"error\": \"occa\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"3c794483-5c9f-401d-9f84-86fb0a1b81d5","name":"Search","description":{"content":"Read-only endpoints to search for accounts, blocks, smart contracts, and transactions","type":"text/plain"},"item":[{"id":"7f455c9c-f17f-4b33-8c34-37d28d2f9437","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":"d855bd95-6934-4340-bb59-cc721c21bb89","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":"1a1ba053-f872-4fc6-96b4-0b6c8e234acd","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":"7dfe2971-9a46-4fb6-9958-0f32dda23eeb","name":"Smart Contracts","description":{"content":"Read-only endpoints to obtain Clarity smart contract details","type":"text/plain"},"item":[{"id":"a1500f30-7374-479f-9af7-32693037379d","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":"bb264c47-09f8-42e1-ad73-c92f8a1e8ecd","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":"78b5b1b5-5cae-4516-a1fd-c9b4f00d7520","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":"b323f7e0-b6e5-459d-8a92-edc9b50b177b","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":"veniam est aliquip qui","description":"(Required) JSON abi of the trait."},{"disabled":false,"key":"limit","value":"-21230289","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":"b7046003-652d-483b-886a-e09f28c82e3f","name":"List of contracts implement given trait","originalRequest":{"url":{"path":["extended","v1","contract","by_trait"],"host":["{{baseUrl}}"],"query":[{"key":"trait_abi","value":"veniam est aliquip qui"},{"key":"limit","value":"-21230289"},{"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":"43f96068-734c-4b1c-8296-1cdf0958e898","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":"-21230289","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":"834896cc-75be-4f1a-8211-d9e68dc5c12a","name":"List of events","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id","events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-21230289"},{"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":"270049c3-28f9-43dc-9691-1b8c95bd2415","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":"veniam est aliquip qui","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":"7afbf0f7-44c8-4f2e-8702-73480d06bf9b","name":"Contract interface","originalRequest":{"url":{"path":["v2","contracts","interface",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"veniam est aliquip qui"}],"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":"d6f8369d-4e26-4a1c-8d84-906e44b98b86","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":"-21230289","description":"Returns object without the proof field when set to 0"},{"disabled":false,"key":"tip","value":"veniam est aliquip qui","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":"a0b66e23-05eb-4b4f-839c-b2bce6c3834d","name":"Success","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"-21230289"},{"key":"tip","value":"veniam est aliquip qui"}],"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":"633679aa-f0fd-4080-aad3-58cd4b7d6ad9","name":"Failed loading data map","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"-21230289"},{"key":"tip","value":"veniam est aliquip qui"}],"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":"67f98d2b-5e75-4fda-8356-f39fd5e0ddc3","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":"-21230289","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"veniam est aliquip qui","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":"2a780995-7d43-4da5-b04a-01ab2abd0431","name":"Success","originalRequest":{"url":{"path":["v2","contracts","source",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"-21230289"},{"key":"tip","value":"veniam est aliquip qui"}],"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":"09a0477a-cf7b-4ba0-b9bb-4c2332144fde","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":"veniam est aliquip qui","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":"57f0cb84-05a7-4322-a4cc-dc2d1d39576d","name":"Success","originalRequest":{"url":{"path":["v2","contracts","call-read",":contract_address",":contract_name",":function_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"veniam est aliquip qui"}],"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":"1b669f9a-a982-471d-9644-87ec870d614e","name":"Stacking Rewards","description":{"content":"Read-only endpoints to obtain Stacking reward details","type":"text/plain"},"item":[{"id":"5cb12865-5b5d-4fe9-9e9c-030d3d5a80e1","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":"4317e823-2b37-425f-80ce-2d5056761b8e","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":"2ab9e3eb-2941-4c85-8063-67536be3b873","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":"-21230289","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":"f4182535-5a03-462f-bd42-8647bac3e585","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","reward_slot_holders",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-21230289"},{"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":"3f76853e-d5d1-45f1-af16-4d900ddffa0f","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":"38e864ea-86a8-429b-9746-02ca657cffd4","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":"f3d8c417-4d64-4a94-aacc-8e07ae0c93e0","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":"-21230289","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":"79d81ffe-d6e8-4c1f-b862-fc22bf5da79b","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"-21230289"},{"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":"c306f928-f785-401c-8993-766f14d22c10","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":"b1e82624-7ec6-4c92-8d18-81e2581884a8","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":"40e60335-0ad1-4fa5-835e-7042320572e6","name":"Transactions","description":{"content":"Endpoints to obtain transaction details and to broadcast transactions to the network","type":"text/plain"},"item":[{"id":"fbb44c17-1a99-4ee8-bb94-940ea40f75f4","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":"smart_contract","description":"Filter by transaction type"},{"disabled":false,"key":"type","value":"poison_microblock","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":"60593226-e11b-4543-ae5e-3a402c44ae68","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":"1d39e3a4-75e7-4282-a6f6-280bd16fbfb0","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":"veniam est aliquip qui","description":"Filter to only return transactions with this recipient address (only applicable for STX transfer tx types)."},{"disabled":false,"key":"address","value":"veniam est aliquip qui","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":"56bb12a0-d45b-4951-a958-296836d92d40","name":"List of mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool"],"host":["{{baseUrl}}"],"query":[{"key":"sender_address","value":"SP1GPBP8NBRXDRJBFQBV7KMAZX1Z7W2RFWJEH0V10"},{"key":"recipient_address","value":"veniam est aliquip qui"},{"key":"address","value":"veniam est aliquip qui"},{"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":"bf4e8a55-0e20-40b1-859a-b3b401d8b558","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":"7011a94f-4482-448e-9027-ec2a8959a3c0","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":"3eb30494-2e86-4218-8674-6dfa2bf22298","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":"fd4d7271-4dd6-46b9-aa82-8ab0ed2deb36","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":"96b3b632-664c-4a4d-afa1-8c25d363a834","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":"incididunt irure","description":"(Required) Array of transaction ids"},{"disabled":false,"key":"tx_id","value":"culpa ut","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":"a9ff6d0e-0174-496f-ae9d-b7b982ad18d3","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 dolore"},{"key":"tx_id","value":"nostrud quis incididunt nulla exercitation"},{"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":"dc9bb669-4877-43ff-a393-06de44149b7f","name":"Could not find any transaction by ID","originalRequest":{"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"ut dolore"},{"key":"tx_id","value":"nostrud quis incididunt nulla exercitation"},{"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":"330f318c-fc7e-4d8b-b9f2-72aa36f6bc85","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":"ae3ccc2a-dc42-4eeb-ab8e-1b1642a73bc1","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":"e16cf96c-03df-4c92-ae4e-7b018ce10e3e","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":"0a65429f-29c9-419e-b971-dcbcd6e1dc6a","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":"84bd8389-3d91-43c2-bee8-29106d9493fd","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":"488105db-408f-4380-9bff-b7a9e38a97a7","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":"d0aa15c8-2264-4bf2-aacd-11bac2a268d8","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":"c6fcaa51-3af1-4e28-958b-8a75c63e774c","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":"6a6da2b7-325e-47c0-925b-2f0bcfaf6f5a","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":"5bf8c739-56d5-4645-add8-5f0d86038cf4","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":"48b05303-3fcc-4232-916f-df2c86cdb313","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":"06dd9260-ec21-4126-b301-595f070d2a2d","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":"d9c265c1-a60f-4ab5-9ccb-48df2c372aed","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":"5de1f9c8-1a1f-4e08-b273-a3254e1fadb4","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":"63f9b244-9eeb-4789-a2d2-a51bd74261b8","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":"a8e6900e-5637-4171-8625-c2d1ae64e949","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":"stx_lock","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":"41db11bc-ec05-46ca-9960-6b8b76c5dcfc","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":"non_fungible_token_asset"},{"key":"type","value":"fungible_token_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":"f9ddbdfd-2553-40b4-ba87-b029d3421b38","name":"Stacking","description":{"content":"","type":"text/plain"},"item":[{"id":"74386be9-0c21-441a-a31d-ad18dbed3a8b","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":"-21230289","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":"4747c64c-12a6-4bf1-a807-1d11211464b3","name":"Success","originalRequest":{"url":{"path":["extended","beta","stacking",":pool_principal","delegations"],"host":["{{baseUrl}}"],"query":[{"key":"after_block","value":"-21230289"},{"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":"a8ca5566-1f80-426e-afda-eb81ca0babff","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](https://docs.hiro.so/get-started/stacks-blockchain-api).\n\n[Download Postman collection](https://hirosystems.github.io/stacks-blockchain-api/collection.json)\n","type":"text/plain"}}} \ No newline at end of file