diff --git a/collection.json b/collection.json index ff0304ea01..36185dac60 100644 --- a/collection.json +++ b/collection.json @@ -1 +1 @@ -{"item":[{"id":"9a057c61-8349-4d8d-896f-9cf6be9bcebe","name":"Accounts","description":{"content":"Read-only endpoints to obtain Stacks account details","type":"text/plain"},"item":[{"id":"2691c130-112e-415a-a592-99e8b818474d","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":"nulla ","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":"29652896-192f-481f-825d-467aee84758a","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","balances"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"nulla "}],"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":"ae97abab-2420-4e28-bac6-45f7d5dc6ae2","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":"nulla ","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":"73b2ee6e-dfd5-4480-9cf9-c177f10b85b6","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"nulla "}],"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":"09a7c55f-c69d-4f57-872d-1091e5cabe63","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":"nulla ","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":"7a0ee173-72a2-42c2-ba3b-ae201a8ad1bc","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":"nulla "}],"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":"a6449a0d-f7ed-4094-8f86-cadfcbafa3ad","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":"f11fb076-8bbb-4341-ba49-c7683761e0c6","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":"af41c68c-7aa1-4f6a-86a0-0a7794fa3efd","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":"4ff6ba1a-86c4-4045-b0a2-28090fe903dd","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":"nulla ","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":"4fc4e18f-8fc8-47bb-a9fb-8ba68e15be71","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":"nulla "}],"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":"57959d3c-baaa-4246-9b01-b443cccc7200","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":"adabd5b6-1c66-485a-ba1a-43e58d9709aa","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":"c5472a22-851a-491e-9b71-39d0f8f2c0ad","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":"nulla ","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":"17227836-304b-416b-9901-b0c209bc6bbc","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":"nulla "}],"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":"29f9855b-d7e4-4625-8a3f-3ed0573fdc9f","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":"3382498","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"height","value":"-76778575.44925547","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":"nulla ","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":"6af0174c-41a7-416a-9c91-a0f866da42df","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx_inbound"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"3382498"},{"key":"offset","value":"42000"},{"key":"height","value":"-76778575.44925547"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"nulla "}],"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":"faa76670-f546-49c5-8dc0-41a333b1adf5","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":"3382498","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":"nulla ","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":"85329df3-0386-43db-a81d-67eb6c2bfed3","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","nft_events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"3382498"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"nulla "}],"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":"ab37fc71-e727-4f25-9bd2-26bc376d3ec8","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":"3382498","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"veniam sed Duis qui consequat","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":"5e72ad48-04a9-486c-ab2d-aba1d330cefb","name":"Success","originalRequest":{"url":{"path":["v2","accounts",":principal"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"3382498"},{"key":"tip","value":"veniam sed Duis qui consequat"}],"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":"ceeb0dd3-7f37-4169-ad6d-a6bb328ba25a","name":"Blocks","description":{"content":"Read-only endpoints to obtain Stacks block details","type":"text/plain"},"item":[{"id":"c4dde347-388a-4d9e-9baf-730bfe19d733","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":"558e7edf-49cb-4ede-9b2c-330a45ab3034","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":"6cb09f06-fd88-434f-afe3-39484ef5c110","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":"0faf4c2d-c2f7-4e6e-9c91-80acf8f6a49f","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":"6c50443e-5baa-4260-9580-100730a5888d","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":"256f73e9-78f1-43b1-a6b0-98d064aa17e3","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":"5fcc4bf0-b413-487f-90bf-bd12dee4dbee","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":"f152fd1d-1b81-4dcc-abba-3c6b43fc93bc","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":"96fcd104-379e-446f-bcef-31f7ec445e91","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":"7a020838-c4be-4a8d-874e-067b1ad752c8","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":"43345b24-c1cc-48c5-81bb-905e4b2984a0","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":"8e55dfc9-7fa0-47f0-9844-f375ed429a6c","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":"fc9cf835-1ffc-45f2-a79c-e49643ee6955","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":"b89a3ae7-bcd0-474c-85fd-de3991a8149e","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":"50f22559-b0bb-4c15-b753-d3c2ebc1478f","name":"Faucets","description":{"content":"Endpoints to request STX or BTC tokens (not possible on Mainnet)","type":"text/plain"},"item":[{"id":"d39991c2-634b-42b0-843d-49559e574b0b","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":"b147ea0b-cbbc-4e55-b201-e05cfd1cda5b","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":"c205ef8e-0e98-4c4f-acaf-8544987f4d9c","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":"380d7824-984e-430e-a384-4b8f6080993e","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":"61157595-27cf-4265-8448-4198be714ca9","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":"e705ee09-2dbc-4136-aff7-ee24433b1c1f","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":"671b7ff1-b03c-4eef-adaa-df236faa66b1","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":"416da7af-8206-4a41-9dc8-067c431d5c09","name":"Fees","description":{"content":"Read-only endpoints to obtain fee details","type":"text/plain"},"item":[{"id":"ffbb8078-640b-4caa-a462-38ad5d934f90","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":"4a4b0670-4353-4d40-97e9-31d3d1231b2a","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":"ef65934f-0ac1-4aba-874b-5b84e56a34a6","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":"25d9d9c6-484a-4535-bbc4-504028442956","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":"5a71f177-a885-48b7-a3e3-136a084a4fd2","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":"7f1b5da2-62f6-4289-87f4-f5228146cb84","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":"9082d658-1bbf-4cf4-88e4-db4e5af684b9","name":"Fungible Tokens","description":{"content":"Read-only endpoints to obtain fungible token details","type":"text/plain"},"item":[{"id":"63fe0fc6-ba8f-463b-8443-ac75747da131","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":"97a18a36-fa5a-4bda-b3fb-7438173162e7","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":"003bddbc-0b59-4169-bd29-eb40ee8735ee","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":"e8d4104f-098a-4e03-93d7-aa22331a9c74","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":"19741d23-165a-42cd-bc42-e44093251c49","name":"Info","description":{"content":"Read-only endpoints to obtain network, Proof-of-Transfer, Stacking, STX token, and node information","type":"text/plain"},"item":[{"id":"b5ded8af-edbe-448b-98b8-63c136524c7e","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":"f1337106-267b-4b20-8da3-8a0b268473f9","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":"64675ffb-4a81-45e3-8b38-261a7817d4f7","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":"50e2ffff-fbb7-40ac-b863-47f14a06a3ff","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":"98f2c7b3-5eb9-4b2e-b500-f43e18f7ad0c","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":"e69acd89-dd81-43d3-bdd2-627704335472","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":"171d5208-0332-44b9-ac4f-e1b62f552cbe","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":"fbc2a08c-dd5c-41bd-9479-3b14b088c6ac","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":"e7f1d56d-e307-48e1-b33f-fbed5df96edb","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":"fe1513fa-bff9-4f9c-87a1-7cba55a26266","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":"536d204a-fd43-443d-b587-1c4d07643422","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":"1cf02936-df75-4328-a34f-4ec7569eb792","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":"198288e6-d882-4d8c-94e0-1142d2e3d495","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":"f887193d-97d5-4e78-b806-9291d91b8d11","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":"97ea297b-f6a8-4cc2-85e5-8669ab70e0f9","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":"520cd02d-cfb8-4032-b292-44bef9c71f15","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":"f6d6d2ed-1f9b-4387-8569-a87eeaf552fe","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":"3d81f0dd-01b3-4b38-9280-ee0dbb13a429","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":"f7252a90-f2e6-400d-b369-16b008affdcd","name":"Microblocks","description":{"content":"Read-only endpoints to obtain microblocks details","type":"text/plain"},"item":[{"id":"40e017ad-cb5e-496a-a5b8-663436188897","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":"876e22fe-7963-449e-80b9-a118edaa8fec","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\": false,\n \"microblock_hash\": \"voluptate\",\n \"microblock_sequence\": 98452824,\n \"microblock_parent_hash\": \"qui dolore\",\n \"block_height\": 72009878,\n \"parent_block_height\": 42605497,\n \"parent_block_hash\": \"ipsum eiusmod\",\n \"block_hash\": \"est Lorem ullamco culpa in\",\n \"txs\": [\n \"consectetur voluptate\",\n \"in dolore\"\n ],\n \"parent_burn_block_time\": 58909095,\n \"parent_burn_block_time_iso\": \"Lorem veniam\",\n \"parent_burn_block_hash\": \"dolor nisi laboris fugiat\",\n \"parent_burn_block_height\": -50579492\n },\n {\n \"canonical\": false,\n \"microblock_canonical\": true,\n \"microblock_hash\": \"do enim cillum dolor\",\n \"microblock_sequence\": -52875380,\n \"microblock_parent_hash\": \"Lorem officia et ea\",\n \"block_height\": 4110377,\n \"parent_block_height\": -83457161,\n \"parent_block_hash\": \"cillum in sit\",\n \"block_hash\": \"minim\",\n \"txs\": [\n \"Ut aute\",\n \"labore\"\n ],\n \"parent_burn_block_time\": -80543073,\n \"parent_burn_block_time_iso\": \"laborum quis veniam incididunt\",\n \"parent_burn_block_hash\": \"in in non\",\n \"parent_burn_block_height\": -82007360\n }\n ],\n \"limit\": -18157237,\n \"offset\": 0,\n \"total\": 96284913\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d1dafaf0-11a1-41bb-b4a1-e882ae036b6d","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":"5e6ec879-5659-4cdc-b036-90b1cccc1b69","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\": \"voluptate in pariatur sed\",\n \"microblock_sequence\": -92373104,\n \"microblock_parent_hash\": \"laborum irure\",\n \"block_height\": 69823224,\n \"parent_block_height\": 39757616,\n \"parent_block_hash\": \"amet in\",\n \"block_hash\": \"adipi\",\n \"txs\": [\n \"culpa id\",\n \"fugiat velit minim dolor\"\n ],\n \"parent_burn_block_time\": -20110461,\n \"parent_burn_block_time_iso\": \"ullamco quis Duis\",\n \"parent_burn_block_hash\": \"ut nulla officia\",\n \"parent_burn_block_height\": 64810168\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2c9b7760-8b12-4ee8-b021-986526f513fc","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":"3ec2bb96-e198-413d-83b0-202598098774","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":"b4884523-d1db-48d8-a8e8-2b60d9f6012f","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\": -7321720\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"7da7f9a6-e2c6-4978-ba48-1b69322e3150","name":"Names","description":{"content":"Read-only endpoints realted to the Blockchain Naming System on Stacks","type":"text/plain"},"item":[{"id":"5ad88db4-50d3-410b-b49e-35cc178beb91","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":"95e5296e-01a3-4199-b128-37fb83fb94ea","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\": \"nostrud\",\n \"amount\": \"089251088\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"56702209-e177-4392-8660-f005d24dbf17","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":"c175cb36-c45d-4608-a96e-5af0627d3a2e","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\": \"elit eu culpa\",\n \"amount\": \"015426\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"ca4eeba7-330a-4854-82c7-c91e68b9089a","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":"0a49dad5-21a0-4107-83b9-3fc51963e5f2","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":"12a66c9e-0849-465e-9d61-e412ff2fdbf1","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":"b1c3170e-0ec0-4454-a622-f5877dff32e1","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":"ca4833d9-596e-4d8c-b7ad-bba6be00e627","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":"66ce229f-240d-45e0-b88b-0f29dbe3206a","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":"c1cdcbd6-e536-473f-b7c6-7150dc45c6b5","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":"28ca7249-f009-4672-963f-e37e4e3195da","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":"e5b28f10-889d-4212-bd04-62759355ce54","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":"6085d77e-44e9-4cfc-b3e0-7688cd2a2599","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":"52815bd3-bcd1-458b-886c-c9188e422643","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":"a475b053-9133-42e0-a5f8-897a9d4c9573","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":"72eda6d0-943c-49b8-84a5-8f6959742e23","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":"d796797e-25ed-4351-9879-fe5982b1c4e6","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":"b41c6c1d-60cf-4dd0-8a64-e7ea35e59cf1","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":"f628761f-3c12-4ccb-b6d5-ccd6fd02cb4c","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":"6fc1d381-f5da-4a51-a983-71db898c2c45","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":"cd7dddcf-75ee-403b-9930-752e72738265","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":"6d32e9a9-8872-4324-bb2f-37a46ec7146d","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":"6159f900-f0b4-4a43-913f-adcea4d20fc8","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":"21c98e45-734c-4772-9f38-3728e9adfd7d","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":"14063079-1b24-4b5c-83f5-8d41935f1322","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":"42b44127-e985-473f-993c-20f56f897c94","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":"db91b153-fb3f-4399-a8a1-2c1436afdcc2","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":"0d012ed6-0401-47d8-8333-fc5dc3c79ce8","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":"34b85b51-0357-4131-b1a2-091fce5a0b94","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":"22c8a99c-d6e8-4430-9281-14960871abc1","name":"Non-Fungible Tokens","description":{"content":"Read-only endpoints to obtain non-fungible token details","type":"text/plain"},"item":[{"id":"96ddd38c-8d04-4af6-8e0d-018826d06a8d","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":"ut pariatur","description":"identifiers of the token asset classes to filter for"},{"disabled":false,"key":"asset_identifiers","value":"officia magna nisi fugiat","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":"2bf1c158-8889-4cff-8696-d2cab28f13cd","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":"id in in culpa"},{"key":"asset_identifiers","value":"exercitation ex in"},{"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":"428e1b94-514a-4077-84db-4b0a444fa69e","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":"df04c752-8476-4dda-bf89-258ced3b03bc","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":"77313bdc-d724-4d80-aaf0-ca7d8ddee838","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":"d9adacfb-ff3a-4070-b011-0cb0c7de9e4c","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":"d90a8a65-ff18-4219-941a-8bc859599be7","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":"a30483e3-8912-4a66-af0a-aff8b9a55dbc","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":"9fc599d1-44ca-4adb-896b-75523c93ceef","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 sed Duis qui consequat","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","auth":null},"response":[{"id":"01b1e4c7-ca73-47fa-a7c1-e583d22ddd57","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 sed Duis qui consequat","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":"326e8000-9f6b-4c3e-a162-518daabeadac","name":"Rosetta","description":{"content":"Endpoints to support the Rosetta API open blockchain standard","type":"text/plain"},"item":[{"id":"389a368e-4d88-434d-9396-f1ac0f2c48a2","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":"dd3928aa-ed93-4f02-8b68-f2425c5c9629","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","network","list"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"network_identifiers\": [\n {\n \"blockchain\": \"ut voluptate\",\n \"network\": \"aliqua et \",\n \"sub_network_identifier\": {\n \"network\": \"et adipisicing nulla pariatur officia\",\n \"metadata\": {\n \"producer\": \"commodo\"\n }\n }\n },\n {\n \"blockchain\": \"sunt mollit est\",\n \"network\": \"tempor\",\n \"sub_network_identifier\": {\n \"network\": \"deserunt irure velit dolor\",\n \"metadata\": {\n \"producer\": \"Excepteur do est minim\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5b945abf-b2de-46e3-950e-688180ecbe22","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"528ef512-8cbd-45a6-9bab-76b367bf4618","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":"1bf1cfa5-ba5f-477e-8cdf-169c93502880","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\": \"Duis mollit aliquip non veniam\",\n \"node_version\": \"et mollit cillum\",\n \"middleware_version\": \"cupidatat consectetur\",\n \"metadata\": {}\n },\n \"allow\": {\n \"operation_statuses\": [\n {\n \"status\": \"eu in Excepteur Lorem\",\n \"successful\": false\n },\n {\n \"status\": \"dolor quis veniam in\",\n \"successful\": false\n }\n ],\n \"operation_types\": [\n \"exercitation quis sit in\",\n \"tempor do cillum\"\n ],\n \"errors\": [\n {\n \"code\": -35111967,\n \"message\": \"culpa dol\",\n \"retriable\": false\n },\n {\n \"code\": -1290625,\n \"message\": \"do elit sit sunt voluptate\",\n \"retriable\": false\n }\n ],\n \"historical_balance_lookup\": true\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"68b2a966-85d1-465d-9aa9-29a60207abec","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"13940360-aed4-41e0-9fa1-d00f0cc73663","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":"43974963-7380-4067-980e-ffd6ce3ad9cb","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\": 7861038,\n \"genesis_block_identifier\": {\n \"index\": -46657972,\n \"hash\": \"anim ex in\"\n },\n \"peers\": [\n {\n \"peer_id\": \"Ut adipisicing\",\n \"metadata\": {}\n },\n {\n \"peer_id\": \"Duis laborum\",\n \"metadata\": {}\n }\n ],\n \"oldest_block_identifier\": {\n \"index\": 83693310,\n \"hash\": \"ut officia fugiat irure\"\n },\n \"sync_status\": {\n \"current_index\": -69073559,\n \"target_index\": 51976365,\n \"stage\": \"aliquip ad\",\n \"synced\": false\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"91100e74-b064-4253-9af8-8117a6e53424","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"bbda916f-5952-434f-b884-959202fd831d","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":"a25b81eb-635a-4268-a1ba-3d3f1516246d","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","account","balance"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"stacks\",\n \"network\": \"mainnet\"\n },\n \"account_identifier\": {\n \"address\": \"SP2W6477BT5CRWVC5D5RFNPNAR8R2NW63SMMCAWMC\",\n \"metadata\": {}\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"block_identifier\": {},\n \"balances\": [\n {\n \"value\": \"in pariatur nisi\",\n \"currency\": {\n \"symbol\": \"dolor officia Duis\",\n \"decimals\": -24522471,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"exercitation dolor vol\",\n \"currency\": {\n \"symbol\": \"anim\",\n \"decimals\": 59143027,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"coins\": [\n {\n \"coin_identifier\": {\n \"identifier\": \"magna ex ipsu\"\n },\n \"amount\": {\n \"value\": \"adipisicing Lorem culpa irure\",\n \"currency\": {\n \"symbol\": \"quis occaecat labore\",\n \"decimals\": 12898383,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n },\n {\n \"coin_identifier\": {\n \"identifier\": \"ea sit\"\n },\n \"amount\": {\n \"value\": \"minim aliqua laborum\",\n \"currency\": {\n \"symbol\": \"ullamco ad\",\n \"decimals\": 92634694,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n }\n ],\n \"metadata\": {\n \"sequence_number\": -27435122\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"21189a6b-53bf-4cc5-956d-8e11a6bd67bf","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"d1a1c067-7a06-4d8a-942a-9db3d986cb4d","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":"7e292991-534a-4859-86fb-ba0fbc224ae2","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\": -29777570,\n \"hash\": \"nostrud eiusmod occaecat nulla Lorem\"\n },\n \"timestamp\": 68360668,\n \"transactions\": [\n {\n \"transaction_identifier\": {\n \"hash\": \"dolor no\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -98369067,\n \"network_index\": -10010262\n },\n \"type\": \"commodo Duis mollit laboru\",\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\": \"veniam aliquip\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"cillum in eiusmod\",\n \"currency\": {\n \"symbol\": \"sint cillum labore\",\n \"decimals\": 35762839,\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\": 96436300,\n \"network_index\": -31786291\n },\n \"type\": \"esse amet\",\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\": \"magna\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"sed velit ex\",\n \"currency\": {\n \"symbol\": \"voluptate nulla in amet\",\n \"decimals\": -7460727,\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\": \"minim nisi dolor dolore voluptate\",\n \"size\": -98760945,\n \"lockTime\": -45683836\n }\n },\n {\n \"transaction_identifier\": {\n \"hash\": \"aliquip anim sed laborum aliqu\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -81599101,\n \"network_index\": 50398480\n },\n \"type\": \"elit veniam in\",\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\": \"mollit proident aliquip reprehender\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"eu ea amet\",\n \"currency\": {\n \"symbol\": \"dolor mollit ut\",\n \"decimals\": 38873900,\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 \"operation_identifier\": {\n \"index\": -14278181,\n \"network_index\": -95253761\n },\n \"type\": \"exercitation consectetur eiusmod\",\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 amet velit\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"mollit qui ex\",\n \"currency\": {\n \"symbol\": \"sed cillum cupidatat ut\",\n \"decimals\": 63140658,\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\": \"est\",\n \"size\": 63945628,\n \"lockTime\": -13097803\n }\n }\n ],\n \"metadata\": {\n \"transactions_root\": \"nulla ut e\",\n \"difficulty\": \"ad cillum in occaecat\"\n }\n },\n \"other_transactions\": [\n {\n \"hash\": \"ullamco sed laborum\"\n },\n {\n \"hash\": \"mollit\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aaaec4e9-c302-4fb0-95f2-87884db72bb9","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"43f75360-633f-47cb-bc1e-a6426af391f8","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":"30025948-dc39-4d62-be43-e27e02fde6bd","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\": \"ipsum proident sint\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -29147895,\n \"network_index\": 99935330\n },\n \"type\": \"veniam sed\",\n \"related_operations\": [\n {\n \"index\": 82196521,\n \"network_index\": -18920088\n },\n {\n \"index\": -97197290,\n \"network_index\": -42022252\n }\n ],\n \"status\": \"cupid\",\n \"account\": {\n \"address\": \"anim ad dolor\",\n \"sub_account\": {\n \"address\": \"sunt ex\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"laboris ullamco sint\",\n \"currency\": {\n \"symbol\": \"tempor in\",\n \"decimals\": -58336944,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"Excepteur cillum irure\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 54621993,\n \"network_index\": -25606953\n },\n \"type\": \"commodo id ad\",\n \"related_operations\": [\n {\n \"index\": 75827407,\n \"network_index\": -91520959\n },\n {\n \"index\": 5700915,\n \"network_index\": -98774997\n }\n ],\n \"status\": \"laboris irure\",\n \"account\": {\n \"address\": \"cupidatat vel\",\n \"sub_account\": {\n \"address\": \"cillum cupidatat minim Duis\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"ut irure\",\n \"currency\": {\n \"symbol\": \"laboris officia voluptate ipsum nostrud\",\n \"decimals\": 15035740,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"eu et incididunt\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"eu incididunt magna enim cupidatat\",\n \"size\": -87323415,\n \"lockTime\": 70143915\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"96bc4228-eb64-4d95-baa4-01f394a67ccb","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"bca46fa9-4230-4125-a52d-729f3a6e1a54","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":"38dc56fb-23c2-402e-b654-2672e3f2361c","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\": \"Ut exercitation velit\"\n },\n {\n \"hash\": \"elit dolore\"\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6b7895e1-b00c-4a83-82de-cb833ef2aa90","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"c6134865-9173-4fe9-8a40-489b37edd144","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\": \"Excepteur ut nis\",\n \"network\": \"fugiat ex quis est minim\",\n \"sub_network_identifier\": {\n \"network\": \"anim elit commodo\",\n \"metadata\": {\n \"producer\": \"Duis\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"anim et elit velit\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e61a68af-040d-4eda-877e-399b2a761245","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"Excepteur ut nis\",\n \"network\": \"fugiat ex quis est minim\",\n \"sub_network_identifier\": {\n \"network\": \"anim elit commodo\",\n \"metadata\": {\n \"producer\": \"Duis\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"anim et elit velit\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"transaction\": {\n \"transaction_identifier\": {\n \"hash\": \"et Duis amet id\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 13040955,\n \"network_index\": 23643196\n },\n \"type\": \"in deserunt sint\",\n \"related_operations\": [\n {\n \"index\": -93859623,\n \"network_index\": 44962412\n },\n {\n \"index\": 88894698,\n \"network_index\": -82412149\n }\n ],\n \"status\": \"aliquip\",\n \"account\": {\n \"address\": \"qui esse in magna consectetur\",\n \"sub_account\": {\n \"address\": \"ad in voluptate\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"dolore consequat\",\n \"currency\": {\n \"symbol\": \"labore esse laborum ut magna\",\n \"decimals\": -22557339,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"ve\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -64468446,\n \"network_index\": -10922632\n },\n \"type\": \"cillum ex irure dolor anim\",\n \"related_operations\": [\n {\n \"index\": -20227502,\n \"network_index\": -89709684\n },\n {\n \"index\": -59284563,\n \"network_index\": -27352565\n }\n ],\n \"status\": \"ut aliqua\",\n \"account\": {\n \"address\": \"do aute Lorem in\",\n \"sub_account\": {\n \"address\": \"Lorem amet deserunt\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"nisi labore\",\n \"currency\": {\n \"symbol\": \"veniam pariatur est\",\n \"decimals\": -56479781,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"veniam ut Exc\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"pariatur ea dolor\",\n \"size\": 97934631,\n \"lockTime\": -47689078\n }\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b9223e24-b4a4-4887-80fb-81c6c6dc20f6","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"Excepteur ut nis\",\n \"network\": \"fugiat ex quis est minim\",\n \"sub_network_identifier\": {\n \"network\": \"anim elit commodo\",\n \"metadata\": {\n \"producer\": \"Duis\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"anim et elit velit\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f7bf0456-8857-4461-90ba-fcda4dcbfbcd","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":"eedc3e2c-fd98-4e44-bb35-dd06cad22701","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\": \"Ut est\",\n \"account_identifier\": {\n \"address\": \"veniam\",\n \"sub_account\": {\n \"address\": \"cons\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"682f697d-2912-4a6b-bced-7a22363ffd5b","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5398629f-e604-4c46-8f85-668764ff2175","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":"863c9f76-d418-41bf-bae4-700bc59dee3b","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\": \"culpa dolor enim ullamco ut\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"500d5627-bf7c-4a55-8510-594ebb8e0406","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"a731ff35-8fbe-4db2-8e53-627ce4e795fe","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":"0169e477-afca-4ab4-b110-8a20fa6eb7fe","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\": -1334778,\n \"recent_block_hash\": \"anim fugiat amet\"\n },\n \"suggested_fee\": [\n {\n \"value\": \"nostrud do dolor eu eiusmod\",\n \"currency\": {\n \"symbol\": \"est dolor\",\n \"decimals\": -9300195,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"consequa\",\n \"currency\": {\n \"symbol\": \"irure amet sed consequat in\",\n \"decimals\": 92629772,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f8c6be4c-0558-486b-98ce-389178c48c6d","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f7737964-e291-4280-a73a-a4212445535b","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\": \"veniam dolor dolore ex labore\",\n \"network\": \"consequat dolore ullamco\",\n \"sub_network_identifier\": {\n \"network\": \"ut ullamco\",\n \"metadata\": {\n \"producer\": \"enim do fugiat dolor et\"\n }\n }\n },\n \"signed\": false,\n \"transaction\": \"eu ullamco occaecat\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"b2750d82-5dd4-450c-a537-066107dc809a","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"veniam dolor dolore ex labore\",\n \"network\": \"consequat dolore ullamco\",\n \"sub_network_identifier\": {\n \"network\": \"ut ullamco\",\n \"metadata\": {\n \"producer\": \"enim do fugiat dolor et\"\n }\n }\n },\n \"signed\": false,\n \"transaction\": \"eu ullamco occaecat\"\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\": -30932638,\n \"network_index\": 45596102\n },\n \"type\": \"ipsum amet\",\n \"related_operations\": [\n {\n \"index\": -72000731,\n \"network_index\": 74831514\n },\n {\n \"index\": 69991569,\n \"network_index\": -72946067\n }\n ],\n \"status\": \"esse id aute dolore\",\n \"account\": {\n \"address\": \"aliqua in nulla\",\n \"sub_account\": {\n \"address\": \"ut non\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"eiusmod ut\",\n \"currency\": {\n \"symbol\": \"sint culpa\",\n \"decimals\": 94048285,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"incididunt nisi in\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 41554462,\n \"network_index\": -31412952\n },\n \"type\": \"voluptate esse\",\n \"related_operations\": [\n {\n \"index\": 53763242,\n \"network_index\": -19858876\n },\n {\n \"index\": -68988994,\n \"network_index\": -87508699\n }\n ],\n \"status\": \"qui laborum\",\n \"account\": {\n \"address\": \"Lorem amet voluptate\",\n \"sub_account\": {\n \"address\": \"ea ex Duis cillum ut\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"nisi proident nulla amet\",\n \"currency\": {\n \"symbol\": \"et in incididunt\",\n \"decimals\": 53748089,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"cillum quis id\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"signers\": [\n \"occaecat irure\",\n \"labore id\"\n ],\n \"account_identifier_signers\": [\n {\n \"address\": \"enim Lorem ut\",\n \"sub_account\": {\n \"address\": \"in incididunt\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"deserunt\",\n \"sub_account\": {\n \"address\": \"consequat ut nisi\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9c84798b-18fe-4912-b8b5-cffe08140fbc","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"veniam dolor dolore ex labore\",\n \"network\": \"consequat dolore ullamco\",\n \"sub_network_identifier\": {\n \"network\": \"ut ullamco\",\n \"metadata\": {\n \"producer\": \"enim do fugiat dolor et\"\n }\n }\n },\n \"signed\": false,\n \"transaction\": \"eu ullamco occaecat\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"81dee617-aa52-4e46-9123-8e8afd518d15","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\": \"cupidatat in Excepteur consequat\",\n \"network\": \"ut\",\n \"sub_network_identifier\": {\n \"network\": \"ut quis \",\n \"metadata\": {\n \"producer\": \"nulla anim cupidatat ullamco\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 31018715,\n \"network_index\": -20226824\n },\n \"type\": \"non nostrud ex\",\n \"related_operations\": [\n {\n \"index\": 2767683,\n \"network_index\": 28783901\n },\n {\n \"index\": 72148869,\n \"network_index\": -61727929\n }\n ],\n \"status\": \"Excepteur\",\n \"account\": {\n \"address\": \"dolor\",\n \"sub_account\": {\n \"address\": \"dolore quis\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"Excepteur deserunt consectetur\",\n \"currency\": {\n \"symbol\": \"enim\",\n \"decimals\": 61294076,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"Excepteur veniam qui proident\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 26283616,\n \"network_index\": 54351382\n },\n \"type\": \"laborum voluptate\",\n \"related_operations\": [\n {\n \"index\": 26963953,\n \"network_index\": 29560944\n },\n {\n \"index\": -22321993,\n \"network_index\": -77305849\n }\n ],\n \"status\": \"ut quis adipisicing\",\n \"account\": {\n \"address\": \"ut\",\n \"sub_account\": {\n \"address\": \"eiusmod exercitation\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"ea laboris nisi\",\n \"currency\": {\n \"symbol\": \"culpa incididunt minim\",\n \"decimals\": -47414538,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"irure sint\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"Duis qui ut\",\n \"currency\": {\n \"symbol\": \"nulla \",\n \"decimals\": 3204783,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"velit\",\n \"currency\": {\n \"symbol\": \"occaecat\",\n \"decimals\": -85749470,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": -9572719\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3a2ac1aa-40e2-40bf-a8e5-42c25a45e49d","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"pariatur\",\n \"network\": \"ullamco culpa\",\n \"sub_network_identifier\": {\n \"network\": \"occ\",\n \"metadata\": {\n \"producer\": \"officia laboris\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 44802182,\n \"network_index\": 95834676\n },\n \"type\": \"laborum in\",\n \"related_operations\": [\n {\n \"index\": -76933542,\n \"network_index\": 45144584\n },\n {\n \"index\": 80397002,\n \"network_index\": -79117093\n }\n ],\n \"status\": \"velit sed Lorem proident eiusmod\",\n \"account\": {\n \"address\": \"eiusmod et\",\n \"sub_account\": {\n \"address\": \"reprehenderit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"eiusmod\",\n \"currency\": {\n \"symbol\": \"nostrud ad sunt\",\n \"decimals\": 3036694,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"lab\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -46476078,\n \"network_index\": 61950465\n },\n \"type\": \"consectetur nisi\",\n \"related_operations\": [\n {\n \"index\": 41336742,\n \"network_index\": 69650484\n },\n {\n \"index\": -47249334,\n \"network_index\": 63617279\n }\n ],\n \"status\": \"tempor\",\n \"account\": {\n \"address\": \"aute anim\",\n \"sub_account\": {\n \"address\": \"Excepteur occaecat velit commodo dolore\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"pariatur ipsum\",\n \"currency\": {\n \"symbol\": \"proident quis eiusmod velit\",\n \"decimals\": 62121101,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"occaecat velit nisi quis\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"voluptate enim\",\n \"currency\": {\n \"symbol\": \"commodo dolore non laborum consequat\",\n \"decimals\": -81758208,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"tempor\",\n \"currency\": {\n \"symbol\": \"ipsum qui\",\n \"decimals\": -98428459,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": 70982037\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"options\": {\n \"sender_address\": \"deserunt fugiat eiusmod culpa\",\n \"type\": \"Excepteur\",\n \"status\": \"dolore elit reprehenderit\",\n \"token_transfer_recipient_address\": \"eiusmod occaecat dolore\",\n \"amount\": \"dolore dolor aliqua in\",\n \"symbol\": \"sit pariatur tempor\",\n \"decimals\": 3883044,\n \"gas_limit\": 14493060.094395906,\n \"gas_price\": 30419538.144880638,\n \"suggested_fee_multiplier\": 29259853.90557608,\n \"max_fee\": \"offi\",\n \"fee\": \"minim anim irure\",\n \"size\": -54438299,\n \"memo\": \"ea sed in\",\n \"number_of_cycles\": 84096105,\n \"contract_address\": \"eiusmod\",\n \"contract_name\": \"Duis quis amet mollit incididunt\",\n \"burn_block_height\": 42720324,\n \"delegate_to\": \"in reprehenderit in\",\n \"pox_addr\": \"Duis pariatur non\"\n },\n \"required_public_keys\": [\n {\n \"address\": \"ex anim dolor\",\n \"sub_account\": {\n \"address\": \"ut dolore\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"consequat fugiat do\",\n \"sub_account\": {\n \"address\": \"velit eu\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a96f27cd-7c9c-4a26-b92e-96c1e2b6bc30","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"pariatur\",\n \"network\": \"ullamco culpa\",\n \"sub_network_identifier\": {\n \"network\": \"occ\",\n \"metadata\": {\n \"producer\": \"officia laboris\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 44802182,\n \"network_index\": 95834676\n },\n \"type\": \"laborum in\",\n \"related_operations\": [\n {\n \"index\": -76933542,\n \"network_index\": 45144584\n },\n {\n \"index\": 80397002,\n \"network_index\": -79117093\n }\n ],\n \"status\": \"velit sed Lorem proident eiusmod\",\n \"account\": {\n \"address\": \"eiusmod et\",\n \"sub_account\": {\n \"address\": \"reprehenderit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"eiusmod\",\n \"currency\": {\n \"symbol\": \"nostrud ad sunt\",\n \"decimals\": 3036694,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"lab\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -46476078,\n \"network_index\": 61950465\n },\n \"type\": \"consectetur nisi\",\n \"related_operations\": [\n {\n \"index\": 41336742,\n \"network_index\": 69650484\n },\n {\n \"index\": -47249334,\n \"network_index\": 63617279\n }\n ],\n \"status\": \"tempor\",\n \"account\": {\n \"address\": \"aute anim\",\n \"sub_account\": {\n \"address\": \"Excepteur occaecat velit commodo dolore\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"pariatur ipsum\",\n \"currency\": {\n \"symbol\": \"proident quis eiusmod velit\",\n \"decimals\": 62121101,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"occaecat velit nisi quis\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"voluptate enim\",\n \"currency\": {\n \"symbol\": \"commodo dolore non laborum consequat\",\n \"decimals\": -81758208,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"tempor\",\n \"currency\": {\n \"symbol\": \"ipsum qui\",\n \"decimals\": -98428459,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": 70982037\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"dee58951-ea02-4410-a342-7a090deead16","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":"8ab642b1-eb2b-41d3-8d5c-2887219a99f1","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\": \"sunt veniam reprehenderit Excepteur consequat\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9249b957-1c09-451a-8201-96485eb38f4b","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5e8d4f35-6603-4b18-9730-e307877aa5a7","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":"aff028e0-a151-4fae-8ac5-09b60b761ed5","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\": \"id ea ex tempor\",\n \"payloads\": [\n {\n \"hex_bytes\": \"et nulla\",\n \"address\": \"incididunt\",\n \"account_identifier\": {\n \"address\": \"amet Excepteur\",\n \"sub_account\": {\n \"address\": \"veniam ipsum aliqua\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"ecdsa_recovery\"\n },\n {\n \"hex_bytes\": \"velit co\",\n \"address\": \"incididunt exercitation pariatur\",\n \"account_identifier\": {\n \"address\": \"reprehenderit cillum eu ut dolor\",\n \"sub_account\": {\n \"address\": \"ea labore culpa ex\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"schnorr_1\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5e35e689-0a26-479d-8773-e929c826e19a","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"e21722ce-4c14-4359-b591-57fd832d26f2","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":"e366425f-5955-4735-a5d7-698075751fa0","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\": \"et anim culpa\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"74a36698-d3f6-4949-af61-6968fd98b572","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\": 70267456,\n \"message\": \"dolore sint\",\n \"retriable\": false,\n \"details\": {\n \"address\": \"in exercitation sint\",\n \"error\": \"sed do et\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"7257f5a2-9ad7-4e92-975e-4d979bb66b8a","name":"Search","description":{"content":"Read-only endpoints to search for accounts, blocks, smart contracts, and transactions","type":"text/plain"},"item":[{"id":"582100d3-023b-4d75-a490-44b5757467b9","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":"d4d8ad78-fdd1-41a6-8832-e885a1ef1cf1","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":"e952a510-d6a8-49e0-880e-b4f6df9f1a24","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":"7e315768-f0b1-4b4f-9dfa-f1d3e829b9a0","name":"Smart Contracts","description":{"content":"Read-only endpoints to obtain Clarity smart contract details","type":"text/plain"},"item":[{"id":"e3a81643-cb71-40e4-9bd3-3e23062097b6","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":"5173b5ad-3ec2-4445-b7e9-1d257d8a8eee","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":"96b66783-f953-41a2-8fb1-a32f6710120f","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":"8e70af67-987b-4440-a38c-5b5fc3796961","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 sed Duis qui consequat","description":"(Required) JSON abi of the trait."},{"disabled":false,"key":"limit","value":"3382498","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":"46567e51-b06e-40ce-8124-509c12216d91","name":"List of contracts implement given trait","originalRequest":{"url":{"path":["extended","v1","contract","by_trait"],"host":["{{baseUrl}}"],"query":[{"key":"trait_abi","value":"veniam sed Duis qui consequat"},{"key":"limit","value":"3382498"},{"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":"bf1ae84f-64ef-4afb-8e27-2650e2506065","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":"3382498","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":"24a92fb2-2f3e-401d-a183-75a087ef91f2","name":"List of events","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id","events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"3382498"},{"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":"485f4903-ed55-43c8-8e39-0c8deba54267","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 sed Duis qui consequat","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":"0796ffe4-1027-43cf-b337-955f3023d368","name":"Contract interface","originalRequest":{"url":{"path":["v2","contracts","interface",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"veniam sed Duis qui consequat"}],"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":"fc5ea6b6-721d-4b03-a029-b7d07a96b094","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":"3382498","description":"Returns object without the proof field when set to 0"},{"disabled":false,"key":"tip","value":"veniam sed Duis qui consequat","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":"1cea470a-f31e-4909-987a-129e8d1ea515","name":"Success","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"3382498"},{"key":"tip","value":"veniam sed Duis qui consequat"}],"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":"835b3624-93c1-4aea-a7c7-2fcec76d3689","name":"Failed loading data map","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"3382498"},{"key":"tip","value":"veniam sed Duis qui consequat"}],"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":"5e5c63e0-6d4b-43a4-812a-97d066418916","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":"3382498","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"veniam sed Duis qui consequat","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":"d8056f55-db4a-4201-97e9-63e7d27f2eb6","name":"Success","originalRequest":{"url":{"path":["v2","contracts","source",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"3382498"},{"key":"tip","value":"veniam sed Duis qui consequat"}],"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":"4cf22cf4-b0db-40f8-961e-c47965ff348b","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 sed Duis qui consequat","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":"10b2b6f2-20e3-4347-814a-c6f30ce04985","name":"Success","originalRequest":{"url":{"path":["v2","contracts","call-read",":contract_address",":contract_name",":function_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"veniam sed Duis qui consequat"}],"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":"516a3bf9-ba6f-4a8f-99cb-58781a323612","name":"Stacking Rewards","description":{"content":"Read-only endpoints to obtain Stacking reward details","type":"text/plain"},"item":[{"id":"778ed4ba-f9b8-4fc2-8051-5ced57609ff1","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":"a2bbc8d0-8de5-40b6-9de5-06879a90889c","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":"d2b76776-61ce-499f-abb7-91cfbbff6380","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":"3382498","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":"07eff3a5-eeab-4fe9-a893-e8e8e4d94452","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","reward_slot_holders",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"3382498"},{"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":"52f99412-fd37-4c46-8523-7c4573e4dbe3","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":"f44244df-daea-40d5-a70c-40300c7ba811","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":"c11a53c1-3b8a-42c8-810b-1adbd0ecdbba","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":"3382498","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":"d9c536fb-dc28-48cc-9cd4-8cfe148acaa0","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"3382498"},{"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":"8208552b-891e-4b45-9514-b7e63e3bad98","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":"263568bc-9008-4655-b47f-6b5b79ad77e6","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":"319b69da-6b78-40d1-8a70-638f00bd556d","name":"Transactions","description":{"content":"Endpoints to obtain transaction details and to broadcast transactions to the network","type":"text/plain"},"item":[{"id":"b28caf48-ea2d-4b7d-83aa-605d67c4a4bd","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":"contract_call","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":"16ed6d30-5680-47fc-8aa1-8274baed3d65","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":"poison_microblock"},{"key":"unanchored","value":"true"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 10,\n \"offset\": 0,\n \"total\": 101922,\n \"results\": [\n {\n \"tx_id\": \"0x20dedbef812e44d712569224411b27324b68ab4667321a4badd5e81ba76bf0eb\",\n \"nonce\": 269,\n \"fee_rate\": \"0\",\n \"sender_address\": \"SPQXK10DBF5ECAM30XVE3EJA8DNZF3VE0BK4MKV\",\n \"sponsored\": false,\n \"post_condition_mode\": \"deny\",\n \"post_conditions\": [],\n \"anchor_mode\": \"on_chain_only\",\n \"is_unanchored\": false,\n \"block_hash\": \"0x28a9e2749b82bdc058776781a5abd5c9a6efed38f05545a8a51152655b8e1f4b\",\n \"parent_block_hash\": \"0x3789b75ccfe7f2acf85c3f069fd5b8f95f73aba5332fa618243957d1c017a2a3\",\n \"block_height\": 21709,\n \"burn_block_time\": 1626286436,\n \"burn_block_time_iso\": \"2021-07-14T18:13:56.000Z\",\n \"canonical\": true,\n \"tx_index\": 0,\n \"tx_status\": \"success\",\n \"tx_result\": {\n \"hex\": \"0x0703\",\n \"repr\": \"(ok true)\"\n },\n \"microblock_hash\": \"\",\n \"microblock_sequence\": 2147483647,\n \"microblock_canonical\": true,\n \"event_count\": 0,\n \"events\": [],\n \"tx_type\": \"coinbase\",\n \"coinbase_payload\": {\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"90aa866a-8cb5-476c-a4a0-9a040a026f28","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":"","description":"Filter to only return transactions with this recipient address (only applicable for STX transfer tx types)."},{"disabled":false,"key":"address","value":"veniam sed Duis qui consequat","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":"46f9ec99-6a25-4e59-876b-6bc02c0a32e8","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 sed Duis qui consequat"},{"key":"address","value":"veniam sed Duis qui consequat"},{"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":"22abbda3-947f-4bbc-b38b-5c25a975d38a","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":"d8246818-b6b5-4eb6-a996-6902d5a2994a","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":"6881091b-9998-4a1c-a7a6-bce57d0c3bfd","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":"c52159a7-1cb8-4665-922b-9236ba430346","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":"76d0da4c-3fb5-4c68-bc74-bf678edb238d","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":"deserunt ut irure veniam sit","description":"(Required) Array of transaction ids"},{"disabled":false,"key":"tx_id","value":"esse occa","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":"9afbcabc-f38d-402f-a305-0db7cd8ca6cf","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 incididunt in"},{"key":"tx_id","value":"dolor nostrud cupidatat"},{"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":"0ee10d38-5537-42bf-9646-1a30f6ab30ef","name":"Could not find any transaction by ID","originalRequest":{"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"ut incididunt in"},{"key":"tx_id","value":"dolor nostrud cupidatat"},{"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":"4297e176-0dbd-4a68-9a66-69a893a65c90","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":"60b487b1-1f2f-45cc-9c4c-f747c7df29e7","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":"3fcd52f6-32d0-4c3f-af29-bf9f457f8a9b","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":"d8aa2c37-0e2c-4aa5-b428-b7170272a8ba","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":"e9661e2d-fd91-408f-8f9c-80465b076bbb","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":"c707d17d-995f-4940-b19a-d951df201dac","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":"be3419c2-6218-4d5f-9d24-c0717bb588f8","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":"fa4c671a-780f-4ae4-aa8a-f12bd06886a4","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":"faa6f908-ca49-47c1-bf74-b69cc93a5ccd","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":"9f107066-9fa1-4199-b676-03de1c3a381e","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":"e0b1551a-51da-48e1-ba18-2d521fa58e59","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":"116491b5-faa0-444d-9c0f-0ff6490f8e13","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":"44b9a7c0-cc69-4edb-ac56-bbd6a367dcc1","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":"a50bdcdb-802b-4c4c-8619-03be0303e184","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":"31e1fe58-d8cf-40d1-81d5-9e1422a39d14","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":"c93f51a8-b096-4742-a2fe-eb78fb26b489","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":"ad140457-0008-4c1e-b7a3-7ed5b809c610","name":"Success","originalRequest":{"url":{"path":["extended","v1","tx","events"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"0x29e25515652dad41ef675bd0670964e3d537b80ec19cf6ca6f1dd65d5bc642c5"},{"key":"address","value":"ST1HB64MAJ1MBV4CQ80GF01DZS4T1DSMX20ADCRA4"},{"key":"limit","value":"100"},{"key":"offset","value":"42000"},{"key":"type","value":"stx_lock"},{"key":"type","value":"stx_asset"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"events\": [\n {\n \"event_index\": 0,\n \"event_type\": \"non_fungible_token_asset\",\n \"tx_id\": \"0x05ccc123db703a2808afaaf88b6b3240f14391d14fde701bd20d7206c9133af6\",\n \"asset\": {\n \"asset_event_type\": \"transfer\",\n \"asset_id\": \"ST000000000000000000002AMW42H.bns::names\",\n \"sender\": \"STKVDRCTN8C81T22QHR9PG9GPD3V3WPQYBYFHPT4\",\n \"recipient\": \"STRWN68C36Z7WTDD1TJERTAZ4SXDRMMDB29M4VNQ\",\n \"value\": {\n \"hex\": \"0x0c00000002046e616d65020000000a62696c616c7465737435096e616d6573706163650200000003627463\",\n \"repr\": \"(tuple (name 0x62696c616c7465737435) (namespace 0x627463))\"\n }\n }\n },\n {\n \"event_index\": 1,\n \"event_type\": \"smart_contract_log\",\n \"tx_id\": \"0x05ccc123db703a2808afaaf88b6b3240f14391d14fde701bd20d7206c9133af6\",\n \"contract_log\": {\n \"contract_id\": \"ST000000000000000000002AMW42H.bns\",\n \"topic\": \"print\",\n \"value\": {\n \"hex\": \"0x0c000000010a6174746163686d656e740c00000003106174746163686d656e742d696e646578010000000000000000000000000000028304686173680200000014b472a266d0bd89c13706a4132ccfb16f7c3b9fcb086d657461646174610c00000004046e616d65020000000a62696c616c7465737435096e616d6573706163650200000003627463026f700d0000000d6e616d652d7472616e736665720974782d73656e646572051a27b6e19aaa1880e842bc709b4130b347b1f2d7f2\",\n \"repr\": \"(tuple (attachment (tuple (attachment-index u643) (hash 0xb472a266d0bd89c13706a4132ccfb16f7c3b9fcb) (metadata (tuple (name 0x62696c616c7465737435) (namespace 0x627463) (op \\\"name-transfer\\\") (tx-sender STKVDRCTN8C81T22QHR9PG9GPD3V3WPQYBYFHPT4))))))\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"f1954772-63bb-4899-87e9-0d145e4c5799","name":"Stacking","description":{"content":"","type":"text/plain"},"item":[{"id":"b5b05fed-997c-440e-a56e-23aeba984e3f","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":"3382498","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":"f60268c8-fcbc-4601-afe7-4780e062a74f","name":"Success","originalRequest":{"url":{"path":["extended","beta","stacking",":pool_principal","delegations"],"host":["{{baseUrl}}"],"query":[{"key":"after_block","value":"3382498"},{"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":"88b27772-feb8-49ae-b35c-2ea4a6bd777d","name":"Stacks Blockchain API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"Welcome to the API reference overview for the Stacks Blockchain API.\n\nDownload Postman collection\n","type":"text/plain"}}} \ No newline at end of file +{"item":[{"id":"e8412d36-6ecb-4415-b6ad-227569df1fbd","name":"Accounts","description":{"content":"Read-only endpoints to obtain Stacks account details","type":"text/plain"},"item":[{"id":"c0a81cda-31b1-4df2-801f-67e25622b275","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":"ipsum veniam","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":"a93e7715-7c06-4cd9-a98f-9bc470d20141","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","balances"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"ipsum veniam"}],"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":"547bae6f-b179-4d8e-8cdb-24b1feee18fd","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":"ipsum veniam","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":"2bea6f01-a001-4d4e-8912-da95f01180a5","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx"],"host":["{{baseUrl}}"],"query":[{"key":"unanchored","value":"true"},{"key":"until_block","value":"ipsum veniam"}],"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":"91793272-dcc3-4b16-b000-9f725de3b4f0","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":"ipsum veniam","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":"a92503b6-ae0a-4301-a975-a40296c1e6aa","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":"ipsum veniam"}],"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":"2eb99b23-a930-4c78-ab7b-c6d6b25bea28","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":"34bb8fac-c37d-4e18-adf2-4ad78d8d4c8e","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":"e964d303-664e-47bd-a7bb-4b7b01a85f56","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":"07969e96-d60d-41d5-b42a-0cf08703b519","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":"ipsum veniam","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":"702e285b-ea8b-449f-8844-96ace713e0ac","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":"ipsum veniam"}],"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":"990301a6-d03e-407a-9f22-af403e4c01b9","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":"ed1ded43-ed56-48a2-9053-0c2e3b41e985","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":"229bd037-6eb4-4462-b8c0-8dcc9ea3b716","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":"ipsum veniam","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":"13af4501-20fc-4664-86ac-cae5916fdfc7","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":"ipsum veniam"}],"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":"a518b865-99f2-4079-88c6-64fe56f4484e","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":"76212506","description":"number of items to return"},{"disabled":false,"key":"offset","value":"42000","description":"number of items to skip"},{"disabled":false,"key":"height","value":"31120004.42382805","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":"ipsum veniam","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":"d1f62d33-cd13-4964-9564-8eb104db314d","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","stx_inbound"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76212506"},{"key":"offset","value":"42000"},{"key":"height","value":"31120004.42382805"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"ipsum veniam"}],"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":"60d57da8-79f9-4a40-a3b6-4ed3f5efbc39","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":"76212506","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":"ipsum veniam","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":"4045f230-c0d6-425c-a810-681c251db86c","name":"Success","originalRequest":{"url":{"path":["extended","v1","address",":principal","nft_events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76212506"},{"key":"offset","value":"42000"},{"key":"unanchored","value":"true"},{"key":"until_block","value":"ipsum veniam"}],"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":"f5f1de51-2de9-4b62-8b87-16089b72989c","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":"76212506","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"esse laborum enim adipisicing","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":"b7df106e-24db-4689-b8b5-a96fb5773a8e","name":"Success","originalRequest":{"url":{"path":["v2","accounts",":principal"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"76212506"},{"key":"tip","value":"esse laborum enim adipisicing"}],"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":"446af64f-09e0-4b9a-bb5e-8c39f46d1520","name":"Blocks","description":{"content":"Read-only endpoints to obtain Stacks block details","type":"text/plain"},"item":[{"id":"81224cda-ac32-460a-876a-c9e5f87b54d9","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":"cbbac6b4-bddd-4b51-87ec-ab368a257e96","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":"2ad9732c-7575-4e74-a9d2-f85be4c70607","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":"d521212a-fba2-4104-b64d-c98fdba6cfb8","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":"c04b4afe-0737-48aa-88dc-6ad4f30e29b8","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":"b529fb14-c2b6-4d29-96d6-e55414c88aae","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":"a7c12e3e-a0ee-47e4-9415-3880b2c10055","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":"b1e25cf7-a2cb-4f2d-8a1f-3a0f54cf0b4e","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":"77298126-2205-4893-9973-a552aed67a6c","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":"4074c2a8-a667-48ff-9002-91667129f9b0","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":"0e289316-4454-4065-9286-0b1fe0732d35","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":"78f4b9c3-cee7-4ee0-b220-34b13b8d9bfc","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":"1a275ac9-e16f-4bb5-bc90-bb34f0ce173b","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":"013dfd6a-b619-4fd5-af74-2b0623721ebe","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":"bdd0df33-e3a5-4d23-8d5d-7adfb370308c","name":"Faucets","description":{"content":"Endpoints to request STX or BTC tokens (not possible on Mainnet)","type":"text/plain"},"item":[{"id":"28d46f7c-85ca-45d2-95a9-21a2ecc17948","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":"0e4e7cb5-aa28-4f3f-987c-95e15324a8ab","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":"7fd79c22-0fcc-4e2f-be9b-7eb8392b3b6c","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":"daafd66e-c2d7-414b-a33e-2d696ece9b52","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":"872741dd-af9a-4ebf-ae33-6ed1b04d1574","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":"2e491120-209d-497d-b23c-c5bab3f4d52f","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":"96d3da5a-cf4d-40b1-9745-e5ef59f4a3d1","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":"dbeb1eda-6ae9-413c-9527-fa225e4263ab","name":"Fees","description":{"content":"Read-only endpoints to obtain fee details","type":"text/plain"},"item":[{"id":"9e0ad0ea-5d67-4c52-b477-bc70b286e389","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":"b03d8618-2a14-4fd3-b790-f46ee53ddcd4","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":"d93ca6e7-37a7-4cf5-bcbb-22f69500c2f6","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":"1e722fda-5669-4e56-a111-2f3ba6048e0f","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":"4f1b29f0-49b3-43af-bec0-ff21f7a6f2de","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":"ad75151c-35e3-4803-8064-d99d9be60142","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":"d6c4339c-a5e3-42bc-a9b1-198affa7f9a2","name":"Fungible Tokens","description":{"content":"Read-only endpoints to obtain fungible token details","type":"text/plain"},"item":[{"id":"2f6993da-437f-466f-a428-2e605deea00a","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":"c7b60581-ee83-46a2-90bc-07954586b62b","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":"73d7ef60-05e3-4d7c-93ee-704fc8cabb3e","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":"e12f99e5-7521-4680-b72d-af21e5960374","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":"3ffc0aa7-d8ba-4a0d-b2df-b938057ed32b","name":"Info","description":{"content":"Read-only endpoints to obtain network, Proof-of-Transfer, Stacking, STX token, and node information","type":"text/plain"},"item":[{"id":"50829943-217b-4e1d-96a7-b63609036b37","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":"0040bb23-5a5e-4638-9985-447546c44049","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":"36c3f9be-9810-41f4-ad83-33a066e92fa7","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":"dfe6f8fa-bf4e-41f6-9fed-26f2c7b46511","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":"add092a7-eba7-474a-9211-f1383eae79a5","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":"e7d85e70-0e18-4af7-8db7-57c5ce48be9d","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":"9e5b7ca6-07d7-48ed-9614-bbd511a67da1","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":"82dc3097-2d3f-43e7-97e3-1e96daa28506","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":"63ef44b5-bcf8-43c2-ae67-c8f3b7f574d4","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":"e7950164-3d6e-469e-9de7-c1bfe7b39873","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":"62aa7652-4802-4f7f-ab88-9b58ca35f371","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":"e48e0140-e2a5-4976-8b11-9ec39ede866b","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":"bfa6b634-dfe0-46bc-9617-b2347eafaf92","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":"b49d7edf-7fc3-4b05-a64b-d64dd6fbb594","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":"7befdd36-11c0-4079-9c14-edab35011e7a","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":"a244c03a-fb92-40f6-8835-16197a213831","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":"1cad53ed-4346-4967-b864-b81c21ad9abf","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":"41ef9e61-4cb6-41f0-977c-b2392ff18fd8","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":"4bac0aaa-b519-4bc5-bd06-9148c9b6e04c","name":"Microblocks","description":{"content":"Read-only endpoints to obtain microblocks details","type":"text/plain"},"item":[{"id":"60df5af6-9f47-4ab3-a1f2-ca2fefe88da9","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":"b1fca37b-14b9-4645-a63d-9ec176f9fab6","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\": false,\n \"microblock_hash\": \"ea reprehenderit tempor minim\",\n \"microblock_sequence\": 89241546,\n \"microblock_parent_hash\": \"adipisicing ut non dolor\",\n \"block_height\": 24013717,\n \"parent_block_height\": -4069817,\n \"parent_block_hash\": \"esse incididunt consequat irure\",\n \"block_hash\": \"consequat\",\n \"txs\": [\n \"sint\",\n \"pariatur reprehenderit quis cupidatat\"\n ],\n \"parent_burn_block_time\": 22403384,\n \"parent_burn_block_time_iso\": \"tempor enim esse aliquip\",\n \"parent_burn_block_hash\": \"magna aliquip\",\n \"parent_burn_block_height\": -89738784\n },\n {\n \"canonical\": true,\n \"microblock_canonical\": true,\n \"microblock_hash\": \"dolore sit ut consequat\",\n \"microblock_sequence\": -30922320,\n \"microblock_parent_hash\": \"elit\",\n \"block_height\": -95805774,\n \"parent_block_height\": -9876428,\n \"parent_block_hash\": \"sit ut\",\n \"block_hash\": \"commodo et elit nostrud\",\n \"txs\": [\n \"in in\",\n \"reprehenderit\"\n ],\n \"parent_burn_block_time\": 23786137,\n \"parent_burn_block_time_iso\": \"nostrud ad\",\n \"parent_burn_block_hash\": \"et do\",\n \"parent_burn_block_height\": -90759577\n }\n ],\n \"limit\": -98210322,\n \"offset\": 0,\n \"total\": -31434234\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5338a979-981a-4928-8405-741fa5702c87","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":"03e263ad-ed74-4340-a895-2250c169f667","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\": false,\n \"microblock_hash\": \"Duis Lorem officia\",\n \"microblock_sequence\": -27231964,\n \"microblock_parent_hash\": \"et eu\",\n \"block_height\": 70262610,\n \"parent_block_height\": 68649495,\n \"parent_block_hash\": \"Excepteur sunt\",\n \"block_hash\": \"esse\",\n \"txs\": [\n \"in dolore minim\",\n \"anim Excepteur\"\n ],\n \"parent_burn_block_time\": 39538169,\n \"parent_burn_block_time_iso\": \"i\",\n \"parent_burn_block_hash\": \"reprehenderit id voluptate consectetur\",\n \"parent_burn_block_height\": -10466480\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2848ccd8-6969-44a0-a81c-a279919b10a6","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":"f9d74516-b840-43c5-b0eb-bfd051d518a7","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":"01b2d570-74c1-440a-9e44-3e76bac7a465","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\": -92761388\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"9b85253e-9523-4291-8580-7b7f14668667","name":"Names","description":{"content":"Read-only endpoints realted to the Blockchain Naming System on Stacks","type":"text/plain"},"item":[{"id":"edb6fe93-0927-4170-a582-ed414470a135","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":"4058d7ff-2d8d-4b31-946e-be3f7192a274","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\": \"si\",\n \"amount\": \"52231123\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"a5e6aacb-7bc7-4128-aef1-f36fb518f009","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":"771d3f5e-509e-4954-879b-7beebaf717e7","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\",\n \"amount\": \"161238417\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"cf880d0b-69c2-4e01-a15e-f8a6bb8e5f83","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":"f1c23a8b-fb8b-49fc-9252-907ae1074a60","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":"d356288f-00d1-4d69-9c1e-c5df7cfb3893","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":"e18d9108-0db7-4caf-a143-e2dddcd85e8f","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":"e6ec3835-1c78-447d-8fa8-a00bc81a2aa0","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":"15f1ad23-9ab0-4c24-b94c-030e034d9fa5","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":"2ec06930-22c9-419a-b7d0-8546af1a7744","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":"327a2aa8-a895-4b16-afc0-6da8acb277b9","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":"3c594864-d24f-4c43-abae-0a9b05e97258","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":"e7e6fe98-f1cd-4771-a577-7913f4e084de","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":"60fc335a-8cd9-427c-9db5-aa402705064b","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":"072bd990-5d5d-4b8d-b7f9-1cece57b59d6","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":"b604ea61-7751-4a82-ab7f-bf8b50f66a32","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":"f12bcea5-44df-462d-abed-86e3abe7532f","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":"7246239f-fd9f-46ed-951f-97b7be3ca783","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":"2997a7e3-c533-4ea7-b2b1-a48353f8977b","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":"fbc40487-8bb5-4456-922c-d6fdf5c26ea7","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":"48a371fc-4854-494c-9ade-d3a22b6c7b9f","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":"3b782cfd-a893-4cb7-86e4-745ef6bd010e","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":"8890c565-cff6-4e53-9e52-b77a1e9a4d25","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":"e015bb75-3b7c-48a0-bfee-a7c68b0a3822","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":"eec88ffb-dcda-47aa-a59a-7b62d16105c1","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":"d3a0eb2e-772d-4a84-9e31-d5d8280fcf83","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":"d091889e-ce89-4725-902c-e341831233d6","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":"bc88079a-efdc-43eb-aa48-95bf47f4b222","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":"a73999ed-bcb8-40e7-8f26-56944e6a94e4","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":"3c0bb9a2-1ffd-4607-8986-f53fafc7c4f4","name":"Non-Fungible Tokens","description":{"content":"Read-only endpoints to obtain non-fungible token details","type":"text/plain"},"item":[{"id":"729f5b43-c270-4aa4-9dff-63e1378a29cb","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":"cupidatat","description":"identifiers of the token asset classes to filter for"},{"disabled":false,"key":"asset_identifiers","value":"aliqua incididunt enim","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":"bbbe6068-c2f7-4878-979e-41365b27e810","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":"officia incididunt"},{"key":"asset_identifiers","value":"esse eu fugiat consectetur"},{"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":"9f4cc2e0-d4a3-458b-9f39-3efcacb32b92","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":"a3ee2d22-7825-42f7-acd2-a858ada8d79e","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":"060af97d-9c9b-4a4b-8ca0-3cb8f430e053","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":"1164814c-5fca-476c-8df9-c6ab5b160ea2","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":"641e21a6-c039-4661-9c43-783c3588f00f","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":"311f8db7-f293-488a-8220-f36dd58f0dd7","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":"0864cab2-410a-4a96-a0cb-42cb3f73262d","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":"esse laborum enim adipisicing","key":"contractId","description":"(Required) token's contract id"}]},"method":"GET","auth":null},"response":[{"id":"89318d60-2a99-4709-b46c-41d079d183da","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":"esse laborum enim adipisicing","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":"defd1638-21ad-4bd4-acf0-5e3ba892a7ed","name":"Rosetta","description":{"content":"Endpoints to support the Rosetta API open blockchain standard","type":"text/plain"},"item":[{"id":"ea129edd-f703-4618-971c-3576fcf5304d","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":"5ccf369e-ce22-4c37-905b-54cbb71dce94","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\": \"laboris\",\n \"network\": \"dolore Lore\",\n \"sub_network_identifier\": {\n \"network\": \"Excepteur aliquip Lorem\",\n \"metadata\": {\n \"producer\": \"Excepteur dolore velit\"\n }\n }\n },\n {\n \"blockchain\": \"ut culpa magna enim\",\n \"network\": \"et enim deserunt nulla\",\n \"sub_network_identifier\": {\n \"network\": \"velit eu Ut quis\",\n \"metadata\": {\n \"producer\": \"nostrud commodo ipsum eiusmod amet\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"66eb747c-62e4-4317-9587-c691ac8350af","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"3d9c4f0a-477b-464c-a79a-ee31894bb29e","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":"1e7f05f8-b60e-43f4-b1f5-7d0187677842","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\": \"nulla fugiat dolore dolore\",\n \"node_version\": \"Duis fugiat\",\n \"middleware_version\": \"anim ex\",\n \"metadata\": {}\n },\n \"allow\": {\n \"operation_statuses\": [\n {\n \"status\": \"dolore in veniam\",\n \"successful\": false\n },\n {\n \"status\": \"Excepteur tempor incididunt sed pariatur\",\n \"successful\": false\n }\n ],\n \"operation_types\": [\n \"eu ipsum\",\n \"reprehenderit dolore\"\n ],\n \"errors\": [\n {\n \"code\": -70966205,\n \"message\": \"dolore in\",\n \"retriable\": false\n },\n {\n \"code\": -25482097,\n \"message\": \"veniam nostrud mollit\",\n \"retriable\": true\n }\n ],\n \"historical_balance_lookup\": false\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0a434265-53e0-4789-b288-0c7b2c1ef938","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"5c6d78bb-f90f-4660-8c30-dc292320604a","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":"87e31382-a2a0-4b58-97fa-f3ef77ba7424","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\": 49879126,\n \"genesis_block_identifier\": {\n \"index\": 89371078,\n \"hash\": \"in ad ea Excepteur\"\n },\n \"peers\": [\n {\n \"peer_id\": \"offici\",\n \"metadata\": {}\n },\n {\n \"peer_id\": \"culpa mollit\",\n \"metadata\": {}\n }\n ],\n \"oldest_block_identifier\": {\n \"index\": 93102981,\n \"hash\": \"officia enim aliqua incididunt\"\n },\n \"sync_status\": {\n \"current_index\": 2717129,\n \"target_index\": -88229910,\n \"stage\": \"velit et veniam incididunt irure\",\n \"synced\": true\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"188ce369-05e5-4586-ade8-5f330570a2aa","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"2e97b776-a70b-4fcb-965f-04cd97c2e203","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":"3f0a3b4a-27c2-405e-888d-231c4b49a75a","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\": \"minim deserunt amet\",\n \"currency\": {\n \"symbol\": \"eu in\",\n \"decimals\": 95795514,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"ea esse minim id\",\n \"currency\": {\n \"symbol\": \"ea Excepteur\",\n \"decimals\": 62819684,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"coins\": [\n {\n \"coin_identifier\": {\n \"identifier\": \"in sunt ullamco minim culpa\"\n },\n \"amount\": {\n \"value\": \"veniam officia anim\",\n \"currency\": {\n \"symbol\": \"in si\",\n \"decimals\": -40598368,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n },\n {\n \"coin_identifier\": {\n \"identifier\": \"exercitation Duis qui et\"\n },\n \"amount\": {\n \"value\": \"minim sint non\",\n \"currency\": {\n \"symbol\": \"proident mollit\",\n \"decimals\": -31014931,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n }\n ],\n \"metadata\": {\n \"sequence_number\": -47258943\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3045ed66-a2aa-48df-a21f-cfe908fb0105","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"7d125092-e850-4e7a-bcd7-ad0d96cf3db0","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":"2628df57-6046-4f75-ab6e-c21b245c7eed","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\": 47300824,\n \"hash\": \"Lorem fugiat\"\n },\n \"timestamp\": 1226403,\n \"transactions\": [\n {\n \"transaction_identifier\": {\n \"hash\": \"ut\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 92850508,\n \"network_index\": -26334659\n },\n \"type\": \"veniam dolore ex in\",\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\": \"reprehenderit\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"cupidatat in mollit ut\",\n \"currency\": {\n \"symbol\": \"non nulla voluptate sed\",\n \"decimals\": -15465703,\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 \"operation_identifier\": {\n \"index\": -70134788,\n \"network_index\": 96144343\n },\n \"type\": \"laborum cillum consequat esse in\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"do eiusmod commodo sunt laborum\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"ut l\",\n \"currency\": {\n \"symbol\": \"ea laborum\",\n \"decimals\": 42210692,\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\": \"eiusmod nostrud\",\n \"size\": 97722568,\n \"lockTime\": -44355957\n }\n },\n {\n \"transaction_identifier\": {\n \"hash\": \"labore laborum pariatur incididunt\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -26528199,\n \"network_index\": 69216580\n },\n \"type\": \"esse laborum aliqua ut labo\",\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\": \"eu esse\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"nulla\",\n \"currency\": {\n \"symbol\": \"aute ad\",\n \"decimals\": -48519099,\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 \"operation_identifier\": {\n \"index\": -42466241,\n \"network_index\": -38151914\n },\n \"type\": \"amet cillum in\",\n \"related_operations\": [\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n },\n {\n \"index\": {\n \"value\": \"\"\n },\n \"network_index\": {\n \"value\": \"\"\n }\n }\n ],\n \"status\": \"ut repre\",\n \"account\": {\n \"address\": {\n \"value\": \"\"\n },\n \"sub_account\": {\n \"value\": \"\"\n },\n \"metadata\": {\n \"value\": \"\"\n }\n },\n \"amount\": {\n \"value\": \"dolore adipisicing aliqua aute\",\n \"currency\": {\n \"symbol\": \"ea ullamco pariatur\",\n \"decimals\": -2099971,\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\": \"mollit dolor\",\n \"size\": 10217831,\n \"lockTime\": 23930208\n }\n }\n ],\n \"metadata\": {\n \"transactions_root\": \"do ad\",\n \"difficulty\": \"voluptate aliquip\"\n }\n },\n \"other_transactions\": [\n {\n \"hash\": \"sunt et do\"\n },\n {\n \"hash\": \"dolor in tempor ut reprehenderit\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c334787c-7cf7-43f3-9397-e6547ce1a238","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"6311cc35-25b4-47b2-9e7e-d5eb3178e527","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":"71f1a21e-2539-479e-8a08-51d233d2a98a","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\": \"laborum laboris voluptate\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 98869055,\n \"network_index\": 99731099\n },\n \"type\": \"sed\",\n \"related_operations\": [\n {\n \"index\": 99149536,\n \"network_index\": 46286561\n },\n {\n \"index\": -28709332,\n \"network_index\": 91352270\n }\n ],\n \"status\": \"voluptate eu Duis ullamco\",\n \"account\": {\n \"address\": \"nulla quis sit est sed\",\n \"sub_account\": {\n \"address\": \"ut et\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"minim\",\n \"currency\": {\n \"symbol\": \"minim laboris\",\n \"decimals\": -90310719,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"tempor nisi\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -64167467,\n \"network_index\": -81890404\n },\n \"type\": \"sunt labore\",\n \"related_operations\": [\n {\n \"index\": -46603115,\n \"network_index\": -22195014\n },\n {\n \"index\": -97992769,\n \"network_index\": -81000286\n }\n ],\n \"status\": \"mollit eu\",\n \"account\": {\n \"address\": \"elit nisi\",\n \"sub_account\": {\n \"address\": \"culpa in ex labore ullamco\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"fugiat do\",\n \"currency\": {\n \"symbol\": \"ad\",\n \"decimals\": 51440948,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"tempor sit ut\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"nisi esse ea\",\n \"size\": -26855591,\n \"lockTime\": 86715481\n }\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0bced44a-19f2-4437-9ee0-6087f0311e90","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"3d5d7218-ea30-4d36-8f89-57a359270a9b","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":"0675a119-522e-481e-bba5-0c7b746f5134","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\": \"nostrud enim\"\n },\n {\n \"hash\": \"laborum nisi aliqua minim\"\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dc8001ef-5562-4364-bc4a-5c0ba795f4a2","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"e858d3dd-a989-4b8b-b4c5-daea7feb803a","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\": \"nulla labore et dolor ex\",\n \"network\": \"Ut dolore sint velit minim\",\n \"sub_network_identifier\": {\n \"network\": \"ut dolor adipisicing occaecat\",\n \"metadata\": {\n \"producer\": \"Lorem in\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"occaecat consectetur s\"\n }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"b5f5f70c-2b4e-4ca2-a305-45cccdac249d","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"nulla labore et dolor ex\",\n \"network\": \"Ut dolore sint velit minim\",\n \"sub_network_identifier\": {\n \"network\": \"ut dolor adipisicing occaecat\",\n \"metadata\": {\n \"producer\": \"Lorem in\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"occaecat consectetur s\"\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\": \"aliquip\"\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": 51300470,\n \"network_index\": -21859753\n },\n \"type\": \"in fugiat id voluptate cillum\",\n \"related_operations\": [\n {\n \"index\": 28533097,\n \"network_index\": 57558077\n },\n {\n \"index\": 7149431,\n \"network_index\": -64242907\n }\n ],\n \"status\": \"non commodo\",\n \"account\": {\n \"address\": \"nisi ex\",\n \"sub_account\": {\n \"address\": \"ut dolore proident et in\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"proident commodo ut\",\n \"currency\": {\n \"symbol\": \"occaecat est\",\n \"decimals\": 41149472,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"id ut labore\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 62686319,\n \"network_index\": 64820024\n },\n \"type\": \"dolor adi\",\n \"related_operations\": [\n {\n \"index\": -9821083,\n \"network_index\": -2005675\n },\n {\n \"index\": -41554222,\n \"network_index\": 66310865\n }\n ],\n \"status\": \"irure cupidatat\",\n \"account\": {\n \"address\": \"Excepteur fugiat\",\n \"sub_account\": {\n \"address\": \"magna fugiat sit ad\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"et Dui\",\n \"currency\": {\n \"symbol\": \"reprehenderit aute proident Ut\",\n \"decimals\": 1395550,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"labore irure\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {\n \"memo\": \"in magna\",\n \"size\": -77551939,\n \"lockTime\": 4823497\n }\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8ceeba40-d6eb-4ea3-bb39-61d2a516c5b8","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","mempool","transaction"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"nulla labore et dolor ex\",\n \"network\": \"Ut dolore sint velit minim\",\n \"sub_network_identifier\": {\n \"network\": \"ut dolor adipisicing occaecat\",\n \"metadata\": {\n \"producer\": \"Lorem in\"\n }\n }\n },\n \"transaction_identifier\": {\n \"hash\": \"occaecat consectetur s\"\n }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f279b079-8a45-4927-8d3c-05c1052e7e6f","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":"e73fd9b2-a3d4-46a5-b3e0-1b36226a3da4","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\": \"non sed\",\n \"account_identifier\": {\n \"address\": \"consectetur in ut in\",\n \"sub_account\": {\n \"address\": \"qui\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dfb75043-0c0a-42a8-9b4f-eacddafc73d2","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"8f08c885-ec0a-40f2-abe0-bac6ae368954","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":"af51292c-0ed2-4dc5-91f8-b1d8231a657b","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\": \"sit Ut quis eu\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"26557f4e-d5f3-493d-8a10-924186f8b4f2","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"f1a6c2c0-9e79-402b-a667-ae672749eadc","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":"dbf52d9c-e652-4c18-9ea4-301e319c0c5b","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\": 77809613,\n \"recent_block_hash\": \"tempor sunt esse\"\n },\n \"suggested_fee\": [\n {\n \"value\": \"cillum ad\",\n \"currency\": {\n \"symbol\": \"consequat et exercitation fugiat\",\n \"decimals\": 11248939,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"deserunt fugiat aliquip\",\n \"currency\": {\n \"symbol\": \"in reprehenderit ut\",\n \"decimals\": 49139808,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3f099d1e-ba47-4dba-98e3-dc440e0ad206","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"6a5545c8-8756-4a9d-9bb4-06f5cb6398ce","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\": \"ea id eiusmod\",\n \"network\": \"consequat\",\n \"sub_network_identifier\": {\n \"network\": \"adipisicing ex magna ea\",\n \"metadata\": {\n \"producer\": \"ut elit laborum sint\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"aute officia id ut\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"f5b57667-b7f5-4b32-8b18-9073b2e74179","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"ea id eiusmod\",\n \"network\": \"consequat\",\n \"sub_network_identifier\": {\n \"network\": \"adipisicing ex magna ea\",\n \"metadata\": {\n \"producer\": \"ut elit laborum sint\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"aute officia id ut\"\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\": 86901844,\n \"network_index\": 71767861\n },\n \"type\": \"sit deserunt do\",\n \"related_operations\": [\n {\n \"index\": -97846500,\n \"network_index\": -39707004\n },\n {\n \"index\": 64028184,\n \"network_index\": -4565225\n }\n ],\n \"status\": \"Ut in dolore\",\n \"account\": {\n \"address\": \"esse consectetur anim non dolore\",\n \"sub_account\": {\n \"address\": \"cu\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"dolor voluptate non incididunt\",\n \"currency\": {\n \"symbol\": \"magna\",\n \"decimals\": 69525952,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"irur\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -85651129,\n \"network_index\": 11632081\n },\n \"type\": \"do Lorem cillum id\",\n \"related_operations\": [\n {\n \"index\": -35560041,\n \"network_index\": -59242005\n },\n {\n \"index\": -62148349,\n \"network_index\": -43293299\n }\n ],\n \"status\": \"esse dolor\",\n \"account\": {\n \"address\": \"eiusmod in\",\n \"sub_account\": {\n \"address\": \"et aute reprehenderit officia\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"commodo\",\n \"currency\": {\n \"symbol\": \"nulla aliquip\",\n \"decimals\": 22090025,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"do ut sit nostrud\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"signers\": [\n \"sit reprehenderit eu\",\n \"proident\"\n ],\n \"account_identifier_signers\": [\n {\n \"address\": \"sunt dolor tempor anim\",\n \"sub_account\": {\n \"address\": \"in in anim aliqua magna\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"dolore in\",\n \"sub_account\": {\n \"address\": \"laboris fugiat tempor sit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8cd65e61-e80d-4181-a93a-9dfe7befd3c3","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","parse"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"ea id eiusmod\",\n \"network\": \"consequat\",\n \"sub_network_identifier\": {\n \"network\": \"adipisicing ex magna ea\",\n \"metadata\": {\n \"producer\": \"ut elit laborum sint\"\n }\n }\n },\n \"signed\": true,\n \"transaction\": \"aute officia id ut\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"9f404f59-9352-4d51-a7da-a87b737ce856","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\": \"irure mollit enim\",\n \"network\": \"labore et ut dolor\",\n \"sub_network_identifier\": {\n \"network\": \"officia minim consequat aliqua\",\n \"metadata\": {\n \"producer\": \"anim minim consequat dolor reprehenderit\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -2584400,\n \"network_index\": 98373887\n },\n \"type\": \"laborum nulla\",\n \"related_operations\": [\n {\n \"index\": 84010900,\n \"network_index\": -47570530\n },\n {\n \"index\": 5919516,\n \"network_index\": -20094117\n }\n ],\n \"status\": \"magna anim Ut\",\n \"account\": {\n \"address\": \"id dolore eu\",\n \"sub_account\": {\n \"address\": \"aliquip et\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"ullamco sed reprehenderit\",\n \"currency\": {\n \"symbol\": \"tempor Lorem\",\n \"decimals\": -93447924,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"nulla deserunt\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": -17424622,\n \"network_index\": 2528543\n },\n \"type\": \"voluptate Excepteur dolor\",\n \"related_operations\": [\n {\n \"index\": -35467527,\n \"network_index\": -40458576\n },\n {\n \"index\": -29723682,\n \"network_index\": -51255470\n }\n ],\n \"status\": \"dolor\",\n \"account\": {\n \"address\": \"esse non sed\",\n \"sub_account\": {\n \"address\": \"magna laboris elit\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"non sunt minim\",\n \"currency\": {\n \"symbol\": \"ea irure commodo et\",\n \"decimals\": 59431791,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"ex nostrud dolor\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"magna fugiat\",\n \"currency\": {\n \"symbol\": \"veniam labore cupidatat Lorem\",\n \"decimals\": 78483345,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"dolore Ut fugi\",\n \"currency\": {\n \"symbol\": \"quis consequat reprehenderit in\",\n \"decimals\": 31415878,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": 27550256\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4f7671ba-9769-444e-b17e-8f2fa9b8e242","name":"Success","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"ullamco Lorem eiusmod\",\n \"network\": \"in proident quis in\",\n \"sub_network_identifier\": {\n \"network\": \"consequat in\",\n \"metadata\": {\n \"producer\": \"cupidatat adipisicing Lorem sit\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -71045762,\n \"network_index\": 43111235\n },\n \"type\": \"proident et\",\n \"related_operations\": [\n {\n \"index\": -94302399,\n \"network_index\": 91807087\n },\n {\n \"index\": -94830724,\n \"network_index\": -53808861\n }\n ],\n \"status\": \"deserunt\",\n \"account\": {\n \"address\": \"nostrud ut\",\n \"sub_account\": {\n \"address\": \"non exercitation eu\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"esse consectet\",\n \"currency\": {\n \"symbol\": \"irure fugiat ci\",\n \"decimals\": -90889682,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"mollit nulla\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 73856324,\n \"network_index\": 18136649\n },\n \"type\": \"deserunt cillum\",\n \"related_operations\": [\n {\n \"index\": 49951895,\n \"network_index\": -30999872\n },\n {\n \"index\": 99191477,\n \"network_index\": 72438080\n }\n ],\n \"status\": \"ut qui dolore\",\n \"account\": {\n \"address\": \"do labore sunt\",\n \"sub_account\": {\n \"address\": \"dolor commodo deserunt occaecat\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"minim in\",\n \"currency\": {\n \"symbol\": \"Duis qui nostrud\",\n \"decimals\": 868487,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"irure ut i\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"Excepteur ipsum et sunt\",\n \"currency\": {\n \"symbol\": \"officia sint labore\",\n \"decimals\": 67116159,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"incididunt deserunt officia\",\n \"currency\": {\n \"symbol\": \"veniam\",\n \"decimals\": 48228306,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": 12299485\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"options\": {\n \"sender_address\": \"culpa nostrud\",\n \"type\": \"aliquip minim dolor ut enim\",\n \"status\": \"ex aute quis\",\n \"token_transfer_recipient_address\": \"laboris labore pariatur reprehenderit\",\n \"amount\": \"nisi occa\",\n \"symbol\": \"fugiat et\",\n \"decimals\": -69856682,\n \"gas_limit\": -60633363.721518174,\n \"gas_price\": -74006203.87362173,\n \"suggested_fee_multiplier\": 52943340.056158364,\n \"max_fee\": \"Duis eiusmod consequa\",\n \"fee\": \"exercitation est laboris tempor\",\n \"size\": -85030132,\n \"memo\": \"irure adipisicing\",\n \"number_of_cycles\": 50696226,\n \"contract_address\": \"commodo irure\",\n \"contract_name\": \"in aliqua laborum Lorem\",\n \"burn_block_height\": -44093220,\n \"delegate_to\": \"ad adipisicing\",\n \"pox_addr\": \"ex tempor commodo\"\n },\n \"required_public_keys\": [\n {\n \"address\": \"ut i\",\n \"sub_account\": {\n \"address\": \"quis in\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"address\": \"ex\",\n \"sub_account\": {\n \"address\": \"mollit ullamco laboris\",\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5240589-a7b4-4801-a8b6-0725689dc667","name":"Error","originalRequest":{"url":{"path":["rosetta","v1","construction","preprocess"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"method":"POST","body":{"mode":"raw","raw":"{\n \"network_identifier\": {\n \"blockchain\": \"ullamco Lorem eiusmod\",\n \"network\": \"in proident quis in\",\n \"sub_network_identifier\": {\n \"network\": \"consequat in\",\n \"metadata\": {\n \"producer\": \"cupidatat adipisicing Lorem sit\"\n }\n }\n },\n \"operations\": [\n {\n \"operation_identifier\": {\n \"index\": -71045762,\n \"network_index\": 43111235\n },\n \"type\": \"proident et\",\n \"related_operations\": [\n {\n \"index\": -94302399,\n \"network_index\": 91807087\n },\n {\n \"index\": -94830724,\n \"network_index\": -53808861\n }\n ],\n \"status\": \"deserunt\",\n \"account\": {\n \"address\": \"nostrud ut\",\n \"sub_account\": {\n \"address\": \"non exercitation eu\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"esse consectet\",\n \"currency\": {\n \"symbol\": \"irure fugiat ci\",\n \"decimals\": -90889682,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"mollit nulla\"\n },\n \"coin_action\": \"coin_spent\"\n },\n \"metadata\": {}\n },\n {\n \"operation_identifier\": {\n \"index\": 73856324,\n \"network_index\": 18136649\n },\n \"type\": \"deserunt cillum\",\n \"related_operations\": [\n {\n \"index\": 49951895,\n \"network_index\": -30999872\n },\n {\n \"index\": 99191477,\n \"network_index\": 72438080\n }\n ],\n \"status\": \"ut qui dolore\",\n \"account\": {\n \"address\": \"do labore sunt\",\n \"sub_account\": {\n \"address\": \"dolor commodo deserunt occaecat\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"amount\": {\n \"value\": \"minim in\",\n \"currency\": {\n \"symbol\": \"Duis qui nostrud\",\n \"decimals\": 868487,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"coin_change\": {\n \"coin_identifier\": {\n \"identifier\": \"irure ut i\"\n },\n \"coin_action\": \"coin_created\"\n },\n \"metadata\": {}\n }\n ],\n \"metadata\": {},\n \"max_fee\": [\n {\n \"value\": \"Excepteur ipsum et sunt\",\n \"currency\": {\n \"symbol\": \"officia sint labore\",\n \"decimals\": 67116159,\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n {\n \"value\": \"incididunt deserunt officia\",\n \"currency\": {\n \"symbol\": \"veniam\",\n \"decimals\": 48228306,\n \"metadata\": {}\n },\n \"metadata\": {}\n }\n ],\n \"suggested_fee_multiplier\": 12299485\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"code\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"e76f33e6-1906-4c78-913d-143f8312d1b6","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":"6011cbff-5d24-4b9d-97fa-1a3f27f3c997","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\": \"est eu do\"\n },\n \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8ba78e93-85e3-4fba-a2b9-c2e1b27590da","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"b9927e75-0b13-47d9-81c5-c435bc24263b","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":"6e3cbd01-c7df-4ea6-9825-d1598824951a","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\": \"et eu\",\n \"payloads\": [\n {\n \"hex_bytes\": \"tempor Lorem\",\n \"address\": \"magna et aliqua ut\",\n \"account_identifier\": {\n \"address\": \"enim qui\",\n \"sub_account\": {\n \"address\": \"eu ad do anim\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"ecdsa\"\n },\n {\n \"hex_bytes\": \"exercit\",\n \"address\": \"deserunt adipisicing\",\n \"account_identifier\": {\n \"address\": \"ullamco dolor\",\n \"sub_account\": {\n \"address\": \"fugiat\",\n \"metadata\": {}\n },\n \"metadata\": {}\n },\n \"signature_type\": \"schnorr_1\"\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa419fac-5a4d-4847-a78e-38807de898d9","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]},{"id":"6211b19b-1e6e-4a7d-8e97-76fdb3077902","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":"3078a30b-db66-4938-ad6b-c2584088c2ad","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\": \"occaecat ex voluptate tempor\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90f6ce77-c1f3-4481-86f5-8aa85060a347","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\": 92180398,\n \"message\": \"ullamco amet sed exercitation\",\n \"retriable\": true,\n \"details\": {\n \"address\": \"sunt dolore non Excepteur\",\n \"error\": \"cupidatat et e\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"37d9325b-96d6-48c5-91fa-368e99468214","name":"Search","description":{"content":"Read-only endpoints to search for accounts, blocks, smart contracts, and transactions","type":"text/plain"},"item":[{"id":"51ebe884-9127-405e-85ae-e34bfcdad1f4","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":"fc64dd88-ca9e-4237-b534-0960da332cea","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":"fa7536c7-ac43-445a-88eb-54625af13a65","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":"ae5e3c15-c42a-4d36-a20b-85d1e53e4e20","name":"Smart Contracts","description":{"content":"Read-only endpoints to obtain Clarity smart contract details","type":"text/plain"},"item":[{"id":"c4200f74-f3ef-46fa-9ebc-4908f839c998","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":"27e15923-d392-4ef7-a53c-fdf767006423","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":"707bdac4-f29f-4955-a105-3a2ba683dfa2","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":"740c7c89-a23f-4926-9ebb-ca3dba4d5647","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":"esse laborum enim adipisicing","description":"(Required) JSON abi of the trait."},{"disabled":false,"key":"limit","value":"76212506","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":"6d24ce1a-0ead-4f04-afe6-9fec367117f2","name":"List of contracts implement given trait","originalRequest":{"url":{"path":["extended","v1","contract","by_trait"],"host":["{{baseUrl}}"],"query":[{"key":"trait_abi","value":"esse laborum enim adipisicing"},{"key":"limit","value":"76212506"},{"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":"736d38b3-f9bd-4ac7-b3c8-06a377ba9a28","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":"76212506","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":"7d02e765-f336-4b61-9969-5fb0fb84af48","name":"List of events","originalRequest":{"url":{"path":["extended","v1","contract",":contract_id","events"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76212506"},{"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":"61d4ffaf-75ae-4e4d-a550-1ddc51d13317","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":"esse laborum enim adipisicing","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":"6abe4966-7a25-457a-acff-8a8139e4c61c","name":"Contract interface","originalRequest":{"url":{"path":["v2","contracts","interface",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"esse laborum enim adipisicing"}],"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":"fd8997b2-b19d-4edb-bab2-6821f6f2c033","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":"76212506","description":"Returns object without the proof field when set to 0"},{"disabled":false,"key":"tip","value":"esse laborum enim adipisicing","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":"5e33985c-a798-423e-972e-c5ea47311c32","name":"Success","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"76212506"},{"key":"tip","value":"esse laborum enim adipisicing"}],"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":"c38fa4f9-cd31-4c87-a20d-eab57398f745","name":"Failed loading data map","originalRequest":{"url":{"path":["v2","map_entry",":contract_address",":contract_name",":map_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"76212506"},{"key":"tip","value":"esse laborum enim adipisicing"}],"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":"0466254f-fc19-404a-a178-8137d66d6567","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":"76212506","description":"Returns object without the proof field if set to 0"},{"disabled":false,"key":"tip","value":"esse laborum enim adipisicing","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":"4cdf222c-b345-488d-a7ba-68ab6b40ba1d","name":"Success","originalRequest":{"url":{"path":["v2","contracts","source",":contract_address",":contract_name"],"host":["{{baseUrl}}"],"query":[{"key":"proof","value":"76212506"},{"key":"tip","value":"esse laborum enim adipisicing"}],"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":"9e898467-0732-4afd-97b3-1ce564070de7","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":"esse laborum enim adipisicing","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":"774a7e4f-9ea8-488a-aeff-53d6c2184d66","name":"Success","originalRequest":{"url":{"path":["v2","contracts","call-read",":contract_address",":contract_name",":function_name"],"host":["{{baseUrl}}"],"query":[{"key":"tip","value":"esse laborum enim adipisicing"}],"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":"637cc82e-96f1-47fe-b615-9a92e00532ae","name":"Stacking Rewards","description":{"content":"Read-only endpoints to obtain Stacking reward details","type":"text/plain"},"item":[{"id":"695ba888-1e5a-4872-8bd6-821aed874d0f","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":"f456b41e-23fc-44f5-912f-498e72f5c46e","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":"40ffd429-9e25-4de4-be6b-5ed60e576eb2","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":"76212506","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":"3847f0a5-2d7e-44e6-aca3-ab58dcdb907e","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","reward_slot_holders",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76212506"},{"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":"dfcea1a5-0758-4265-b675-5f0717bc0091","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":"d2ecdd21-8dcb-4139-8840-fb8dad6ddc35","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":"f9f7b384-22df-4ab6-9f3f-9c64cd2306a0","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":"76212506","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":"14c1b7f7-ac62-4016-a840-e67a9913be66","name":"List of burnchain reward recipients and amounts","originalRequest":{"url":{"path":["extended","v1","burnchain","rewards",":address"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"76212506"},{"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":"1ba5a27e-9c57-4add-a66b-89fe2aa920bf","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":"f11b91f1-287f-491a-903a-4b7c700a2a16","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":"be82bc1d-e1db-4460-934d-404de5854615","name":"Transactions","description":{"content":"Endpoints to obtain transaction details and to broadcast transactions to the network","type":"text/plain"},"item":[{"id":"f156d617-b7fb-4dd7-9639-18ef51ab9a92","name":"Get recent transactions","request":{"name":"Get recent transactions","description":{"content":"Retrieves all recently mined transactions\n\nIf using TypeScript, import typings for this response from our types package:\n\n`import type { TransactionResults } from '@stacks/stacks-blockchain-api-types';`\n","type":"text/plain"},"url":{"path":["extended","v1","tx"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"100","description":"max number of transactions to fetch"},{"disabled":false,"key":"offset","value":"42000","description":"index of first transaction to fetch"},{"disabled":false,"key":"type","value":"contract_call","description":"Filter by transaction type"},{"disabled":false,"key":"type","value":"token_transfer","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":"bf28566d-06aa-4e7d-8887-b2e13531b472","name":"List of transactions","originalRequest":{"url":{"path":["extended","v1","tx"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"42000"},{"key":"type","value":"poison_microblock"},{"key":"type","value":"coinbase"},{"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":"afb42b66-e2d9-4dc0-9531-acf7bdc58b4e","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":"esse laborum enim adipisicing","description":"Filter to only return transactions with this recipient address (only applicable for STX transfer tx types)."},{"disabled":false,"key":"address","value":"esse laborum enim adipisicing","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":"b23dcacb-8e70-469b-8aa8-eb7dd878a281","name":"List of mempool transactions","originalRequest":{"url":{"path":["extended","v1","tx","mempool"],"host":["{{baseUrl}}"],"query":[{"key":"sender_address","value":"SP1GPBP8NBRXDRJBFQBV7KMAZX1Z7W2RFWJEH0V10"},{"key":"recipient_address","value":"esse laborum enim adipisicing"},{"key":"address","value":"esse laborum enim adipisicing"},{"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":"216e28f0-fae3-4bf1-96cc-2d6496bae756","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":"6cb2d2aa-841f-4d19-adda-1d7fc27e7be8","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":"496ebbd4-69e5-4d82-bd9e-bf71a243066a","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":"1249176e-b729-43db-928d-665a74df57ca","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":"64e52cf9-25fd-4ec2-825b-cf23782739da","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":"ullamco cillum eiusmod tempor id","description":"(Required) Array of transaction ids"},{"disabled":false,"key":"tx_id","value":"fugiat amet","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":"55f35717-5d31-4ff2-b216-b7fcb4d909e3","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":"eu dolore ut sint"},{"key":"tx_id","value":"reprehenderit id nostrud do"},{"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":"b198a5c2-c3c4-4a1d-b297-a58d25200b97","name":"Could not find any transaction by ID","originalRequest":{"url":{"path":["extended","v1","tx","multiple"],"host":["{{baseUrl}}"],"query":[{"key":"tx_id","value":"eu dolore ut sint"},{"key":"tx_id","value":"reprehenderit id nostrud do"},{"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":"2b949cdf-ddeb-45f2-a536-7022f0c86914","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":"b4d2d3be-0505-41a5-881a-606273659c1b","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":"fdfc8ae8-5060-4bd3-8f4e-cd293f1d01fa","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":"fb5455eb-7dac-44f3-8fb3-608366d17178","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":"b3ad9977-e164-4bbf-9eab-cb5187cb8660","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":"1115c652-7e4b-426a-9c1e-e52644bf1788","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":"518bf4fc-9fd0-42cb-95c4-46c04cd396f3","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":"1a806f68-cf3d-4bdb-ba05-929815405ee1","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":"38528a33-1a40-47ba-8ccd-cbbc080e2cb8","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":"38307bc8-4036-4659-8853-779422be2bc2","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":"c00cd4f0-a9a8-4287-bfe8-6ed1be590b44","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":"13beaaee-14b1-4a28-8579-1d973f0fb6dd","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":"9163fcf5-23f8-4746-878f-19425c962fac","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":"9da4730d-0647-479a-98ba-6d6305ed5f6c","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":"52fada8e-04f5-42f1-91ae-5d40af246c6d","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":"5bea8f55-fc0f-4dc6-bd5c-f0a76d051696","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":"stx_asset","description":"Filter the events on event type"}],"variable":[]},"method":"GET","auth":null},"response":[{"id":"65b4fecb-3dd6-4d3a-957d-6ff341d08e29","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":"stx_lock"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"limit\": 96,\n \"offset\": 0,\n \"events\": [\n {\n \"event_index\": 0,\n \"event_type\": \"non_fungible_token_asset\",\n \"tx_id\": \"0x05ccc123db703a2808afaaf88b6b3240f14391d14fde701bd20d7206c9133af6\",\n \"asset\": {\n \"asset_event_type\": \"transfer\",\n \"asset_id\": \"ST000000000000000000002AMW42H.bns::names\",\n \"sender\": \"STKVDRCTN8C81T22QHR9PG9GPD3V3WPQYBYFHPT4\",\n \"recipient\": \"STRWN68C36Z7WTDD1TJERTAZ4SXDRMMDB29M4VNQ\",\n \"value\": {\n \"hex\": \"0x0c00000002046e616d65020000000a62696c616c7465737435096e616d6573706163650200000003627463\",\n \"repr\": \"(tuple (name 0x62696c616c7465737435) (namespace 0x627463))\"\n }\n }\n },\n {\n \"event_index\": 1,\n \"event_type\": \"smart_contract_log\",\n \"tx_id\": \"0x05ccc123db703a2808afaaf88b6b3240f14391d14fde701bd20d7206c9133af6\",\n \"contract_log\": {\n \"contract_id\": \"ST000000000000000000002AMW42H.bns\",\n \"topic\": \"print\",\n \"value\": {\n \"hex\": \"0x0c000000010a6174746163686d656e740c00000003106174746163686d656e742d696e646578010000000000000000000000000000028304686173680200000014b472a266d0bd89c13706a4132ccfb16f7c3b9fcb086d657461646174610c00000004046e616d65020000000a62696c616c7465737435096e616d6573706163650200000003627463026f700d0000000d6e616d652d7472616e736665720974782d73656e646572051a27b6e19aaa1880e842bc709b4130b347b1f2d7f2\",\n \"repr\": \"(tuple (attachment (tuple (attachment-index u643) (hash 0xb472a266d0bd89c13706a4132ccfb16f7c3b9fcb) (metadata (tuple (name 0x62696c616c7465737435) (namespace 0x627463) (op \\\"name-transfer\\\") (tx-sender STKVDRCTN8C81T22QHR9PG9GPD3V3WPQYBYFHPT4))))))\"\n }\n }\n }\n ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[]}],"event":[]},{"id":"1cd7519a-c5fd-43ce-939f-7d43b7d2595f","name":"Stacking","description":{"content":"","type":"text/plain"},"item":[{"id":"cc7b7c6b-99ab-40c0-9e40-0f7a1d4831ad","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":"76212506","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":"529a4e57-7028-4ef0-a4bb-f3dca30af809","name":"Success","originalRequest":{"url":{"path":["extended","beta","stacking",":pool_principal","delegations"],"host":["{{baseUrl}}"],"query":[{"key":"after_block","value":"76212506"},{"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":"3aad4621-41be-4958-ba2e-000c547f255f","name":"Stacks Blockchain API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"Welcome to the API reference overview for the Stacks Blockchain API.\n\nDownload Postman collection\n","type":"text/plain"}}} \ No newline at end of file