Skip to content

Latest commit

 

History

History
781 lines (745 loc) · 31.7 KB

api-blocks.md

File metadata and controls

781 lines (745 loc) · 31.7 KB

Blocks

{% api-method method="get" host="https://api.helium.io" path="/v1/blocks/height" %}

{% api-method method="get" host="https://api.helium.io" path="/v1/blocks" %} {% api-method-summary %}

{% endapi-method-summary %}

{% api-method-description %} Retrieves block descriptions.
Blocks descriptions are paged. A cursor field will be in the response when more results are available. {% endapi-method-description %}

{% api-method-spec %} {% api-method-request %} {% api-method-query-parameters %} {% api-method-parameter name="cursor" type="string" required=false %} Cursor for page to fetch {% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}

{
    "data": [
        {
            "transaction_count": 25,
            "time": 1595978521,
            "snapshot_hash": "",
            "prev_hash": "BLlAdSn-TV2SLQzj-52UYRckLCE-D5BrZir09eVEEcQ",
            "height": 435215,
            "hash": "qqLVA7QELYoVFE0hoTUFy-5ZR6pPueORPYU3N8rLoQs"
        },
        {
            "transaction_count": 118,
            "time": 1595978467,
            "snapshot_hash": "",
            "prev_hash": "NiK7bLdPOopqKQ8m0HF-Da6gK_UvRlypPgnjOFEooBg",
            "height": 435214,
            "hash": "BLlAdSn-TV2SLQzj-52UYRckLCE-D5BrZir09eVEEcQ"
        },
        {
            "transaction_count": 83,
            "time": 1595978414,
            "snapshot_hash": "",
            "prev_hash": "xEsMbaiIjK_LLChHdEG78X7vsrl1CZOStEB3GHGe7g8",
            "height": 435213,
            "hash": "NiK7bLdPOopqKQ8m0HF-Da6gK_UvRlypPgnjOFEooBg"
        },
        {
            "transaction_count": 39,
            "time": 1595978361,
            "snapshot_hash": "",
            "prev_hash": "m34Ky28U-Eqy7FjSYJ5hCXs9dRCfyPKuJoQT2F52bBA",
            "height": 435212,
            "hash": "xEsMbaiIjK_LLChHdEG78X7vsrl1CZOStEB3GHGe7g8"
        },
        {
            "transaction_count": 111,
            "time": 1595978305,
            "snapshot_hash": "",
            "prev_hash": "C61I8DM_sq6nXNxVo7oNkV67GMzRpU21eOTrb3cRPz8",
            "height": 435211,
            "hash": "m34Ky28U-Eqy7FjSYJ5hCXs9dRCfyPKuJoQT2F52bBA"
        },
        {
            "transaction_count": 80,
            "time": 1595978251,
            "snapshot_hash": "",
            "prev_hash": "DFy2DrhBjXg_9me2tj5lYso1WSD1In-5TBEsxMdKCTc",
            "height": 435210,
            "hash": "C61I8DM_sq6nXNxVo7oNkV67GMzRpU21eOTrb3cRPz8"
        },
        {
            "transaction_count": 60,
            "time": 1595978198,
            "snapshot_hash": "",
            "prev_hash": "MyTG04W_ShUktv34KIeQVeomGBIET_SHU2IAM7KQCtg",
            "height": 435209,
            "hash": "DFy2DrhBjXg_9me2tj5lYso1WSD1In-5TBEsxMdKCTc"
        },
        {
            "transaction_count": 101,
            "time": 1595978145,
            "snapshot_hash": "",
            "prev_hash": "5LHAyQ5GhydrQhNT1D1E8q6OnyjfiFTMEEwMx8G77lM",
            "height": 435208,
            "hash": "MyTG04W_ShUktv34KIeQVeomGBIET_SHU2IAM7KQCtg"
        },
        {
            "transaction_count": 78,
            "time": 1595978091,
            "snapshot_hash": "",
            "prev_hash": "KMLLGN0v590zMEoAgW6yXWuYtdePDRza74_TF5cZNDY",
            "height": 435207,
            "hash": "5LHAyQ5GhydrQhNT1D1E8q6OnyjfiFTMEEwMx8G77lM"
        },
        {
            "transaction_count": 108,
            "time": 1595978035,
            "snapshot_hash": "",
            "prev_hash": "i6NtsS96nGoj3H1QAU4bYjPsRTotAfG1m6CYU0gt_R0",
            "height": 435206,
            "hash": "KMLLGN0v590zMEoAgW6yXWuYtdePDRza74_TF5cZNDY"
        },
        {
            "transaction_count": 96,
            "time": 1595977982,
            "snapshot_hash": "",
            "prev_hash": "L-kane8sS3lN5VqGXjl-VwgMvQ9gdw2Nh8rXgCgSZ4c",
            "height": 435205,
            "hash": "i6NtsS96nGoj3H1QAU4bYjPsRTotAfG1m6CYU0gt_R0"
        },
        {
            "transaction_count": 106,
            "time": 1595977929,
            "snapshot_hash": "",
            "prev_hash": "il2OTxAn9kb-AkSBendovVQdISb2ooRrn4yE73qv6jI",
            "height": 435204,
            "hash": "L-kane8sS3lN5VqGXjl-VwgMvQ9gdw2Nh8rXgCgSZ4c"
        },
        {
            "transaction_count": 107,
            "time": 1595977869,
            "snapshot_hash": "",
            "prev_hash": "ASznLcdOo4xX7Vl-zy17l-XuJ-oO5NvShR9QrLM8Etg",
            "height": 435203,
            "hash": "il2OTxAn9kb-AkSBendovVQdISb2ooRrn4yE73qv6jI"
        },
        {
            "transaction_count": 55,
            "time": 1595977816,
            "snapshot_hash": "",
            "prev_hash": "IFf8Mv0rihCic2wGLA-d2ticcmDp5baPXjqSEzt_Q-w",
            "height": 435202,
            "hash": "ASznLcdOo4xX7Vl-zy17l-XuJ-oO5NvShR9QrLM8Etg"
        },
        {
            "transaction_count": 104,
            "time": 1595977735,
            "snapshot_hash": "",
            "prev_hash": "4Bbk2hlXB9Ophgn4jk-2QH_6HeAzn12yom04WtkoPbM",
            "height": 435201,
            "hash": "IFf8Mv0rihCic2wGLA-d2ticcmDp5baPXjqSEzt_Q-w"
        }
    ],
    "cursor": "eyJiZWZvcmUiOjQzNTIwMX0"
}

{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}

{% api-method method="get" host="https://api.helium.io" path="/v1/blocks/:height" %} {% api-method-summary %} Block at Height {% endapi-method-summary %}

{% api-method-description %} Get block descriptor for block at height {% endapi-method-description %}

{% api-method-spec %} {% api-method-request %} {% api-method-path-parameters %} {% api-method-parameter name="height" type="number" required=true %}

{% endapi-method-parameter %} {% endapi-method-path-parameters %} {% endapi-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}

{
    "data": {
        "transaction_count": 37,
        "time": 1582192928,
        "snapshot_hash": "",
        "prev_hash": "Xj6vrBi_IcP0vqHHawf0FFWkG1qn18I9thQKOEhblXg",
        "height": 213787,
        "hash": "o5o8cBL1Zvp1KmA1d8vYJ38wXXWVxf1HW2e1uZxVJYg"
    }
}

{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}

{% api-method method="get" host="https://api.helium.io" path="/v1/blocks/:height/transactions" %} {% api-method-summary %} Block at Height Transactions {% endapi-method-summary %}

{% api-method-description %} Get transactions for a block at a given height.
The list of returned transactions is paged. A cursor field is present if more results are available. {% endapi-method-description %}

{% api-method-spec %} {% api-method-request %} {% api-method-path-parameters %} {% api-method-parameter name="height" type="number" required=true %} Block height to fetch transaction for {% endapi-method-parameter %} {% endapi-method-path-parameters %}

{% api-method-query-parameters %} {% api-method-parameter name="cursor" type="string" required=false %} Cursor for the page to fetch {% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}

{
    "data": [
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEUCIEtI0JUGWFDZxdZ-MqaamBibe9XA7Hu7KtppFxER2_VlAiEAjmdtV8WcdyTVOMF1wLSiRXtsim2cEndKnnhavPAj7ms",
            "secret_hash": "PDp3wlQDWQHOv3_cYO3iXSGO5lQPY-nk0nGZ-aCWj6U",
            "owner": "13RU6fRkU1uGviyWJzgSVJAiVDhyf97dqBDMTmVjHEAuBy5LN1F",
            "onion_key_hash": "T9wxjep44KOQrgw7L7nTBUlTp87BL1lvyCievMmxSHo",
            "location": "8c2a30650aad7ff",
            "lng": -71.1952338305713,
            "lat": 42.34690845297784,
            "height": 213787,
            "hash": "0XQR1wmeqRYF8BeIPLtqr7ZZQHLWAg7CavmKPrSxF8w",
            "fee": 0,
            "challenger": "11mxTwhQVMS9o5GqaQ3MW9NbJeQM8x89e52YG3Em4turgAHPSgs",
            "block_hash": "XcQXEO8eeJeCQ1V6hcCBMH06a1pOZXxrUBp-2NhM8Yg"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEUCIQCUJskKawMwc9G3Uv_ZRYrhSrHo4QoNuZT4amHVS3rkmQIgJ_RZ-9z3v9T5JNwnAtDTynwJpqO1cQ3KHPBeFGxRBQY",
            "secret_hash": "B7scyTy8h6nsXymcrXPaCt0MShUGki2fvPx7lsmRkXc",
            "owner": "13Wjb3U16ct477Qixg45nWEtRh4Jg2qTp2iuqgD2Adk8gQmF8Bo",
            "onion_key_hash": "1xip4moxB5lx8UO5Dwo35ppMfJi_ASSgxsYaLPaHLRU",
            "location": "8c44c13164947ff",
            "lng": -84.23063101246672,
            "lat": 33.85883850690923,
            "height": 213787,
            "hash": "6J8ZsZjDF2tiStMOVjtEG9jaKnpLZfAwY4jXx9bX1y4",
            "fee": 0,
            "challenger": "1181v5Saf87iUexQ8WtqA6xLrzbuF2UaS6dGY8R8p4yqoK1ZjMA",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIEEk2H6NFe9CY7ZtoPPr-9cyBDuDCTvrOOzKpPW7ldIAAiAfGXSl2cgqtVzN8um0PyCTr_dD8_Gmp2CwL8SEkuv1Ew",
            "secret_hash": "zCA4W7sUqVu6Gzpz-5TUbzxTTv8SbY0B74VCIp46Hys",
            "owner": "14MRMNbNQidNFTszjoYugvMPxQLqLoZyPADSwJKvvnzgd8UX2UZ",
            "onion_key_hash": "PyGkman-6k81fdcQn9_DS9dJLRo9r4P9ijpRxPnM4-E",
            "location": "8c2663d04684bff",
            "lng": -88.31876752603684,
            "lat": 40.10013118277986,
            "height": 213787,
            "hash": "_aOH3TaNbUXB-aETIk7bsUyH6p9HOWDfx3P5wXBxnQQ",
            "fee": 0,
            "challenger": "11K6YeKEqfwMJu2wy64YHdQhXT8Hy5aMA4SxFdvCR4zwQyF17Xo",
            "block_hash": "znLXFN1OaN6aosWTZRmpZ2SIu0wiT4LKG3VkDpf8oqA"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEUCIGCf9Mxj5P9aeuIwbhMrGkhVORX9ymsditZ8jwgrRGoTAiEAmv6oeps953HnAGjtW6b7yu6gKiGYDXneMJxOPPX5cN4",
            "secret_hash": "otNY8AVs8_JsIay-CA5XXAiKInVEx00lwXnLBIAfWKo",
            "owner": "135qJwSQD2eFBsDjcDWKRgJucKRocVLvxrunc1W9KhcJe9CAp4G",
            "onion_key_hash": "lEEBV1DODq5iFKYq4h6mmb-Oba-6dcYfQ3cMUjFhxHc",
            "location": "8c2a107a90b09ff",
            "lng": -74.21400962950572,
            "lat": 40.68133174681411,
            "height": 213787,
            "hash": "AqLEUGRylc9kfW_tyLMwTJPunVXmlqh5ZrzYVUWxBIE",
            "fee": 0,
            "challenger": "11cpn65Uuugxs9YAAvYc1i7J9xgWY2pjSj4Y2FFvaFypa8bccLq",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEUCIGPQZRXlxMMJXAiOyYAja70dC6HihyvXNoDRTno3Rw7gAiEAsKS_4qaQ0zLf42sW1SaLnqfb1mUquwFpHbU0-lo21yo",
            "secret_hash": "CZjCoW6RU6TejMQjhgePVXPc759u5yp04Y9z5ye5C28",
            "owner": "14gaNAfNSL8pPAVjTyy8LhRjVgw9t8JunooEmCSyXLAX9A3pfMF",
            "onion_key_hash": "mWsd00ByHhfa_2J-CpphhbhSIiqg58_tMiYkoOBEU6Y",
            "location": "8c2a340910313ff",
            "lng": -70.2707016518933,
            "lat": 43.655908895594315,
            "height": 213787,
            "hash": "bdkRW7Dxx-ESPSz7i_vxk-jXIqUfmFL9pZUWYmJOwYU",
            "fee": 0,
            "challenger": "112u5QmxT5LVrD9vdtT1hJ7bBEdqthhbbefTaNK1JCS5n4xbKRoo",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIDDdF3MhXzgLzVRHi6-x55ASjv9BtbIneBMyGekAThY0AiApKRRfmZRVYt-7Bx_le9uaUmmWYkWPv1IXDXRgCGR1Ww",
            "secret_hash": "Upa8MV8OvHZBddL-GLAyeNTJ7P80vTAxYFsTI25AnOk",
            "owner": "139fiM2t9SGU8yB1QG5GxRy9qztpcnjr1F5u7Paop9Lsh7G31sn",
            "onion_key_hash": "F2lzKJQyFet4zkgVaqR9FeO1i6SqICpaN5P1RfbM07E",
            "location": "8c44d9975282bff",
            "lng": -82.72848196624813,
            "lat": 35.533213738889785,
            "height": 213787,
            "hash": "c-6u-jO4YX0dgxXSUMK7HKxdPUmxbxwXCbHblKDbHjQ",
            "fee": 0,
            "challenger": "112oBX3SKsRdxXD97dNVL8k5ejnS6bYiKxjWeRS2yuj8gCkgLUb1",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIEQkbbVN05yp4ynRKCdnXbPBOADm645fVXXg3wQ5EGgJAiAqO__gcfiLdmPqtofKvf1XAnXL6oyTe2f6YSIkatGfMg",
            "secret_hash": "0RusqDuS5D1l6VxHHqOfYKN3_dRzS9glMuv9XhlHJOc",
            "owner": "14FrS6JfobouRDVf7FbYuvvR5uNzB688qESpQNXLoaCqd1zDN7P",
            "onion_key_hash": "VQuQlV7KfjAK2xT0CqP6a-qt_sZHBD5AQKeHOiSRMeE",
            "location": "8c2a122dbb893ff",
            "lng": -75.27858120362838,
            "lat": 40.236503579574276,
            "height": 213787,
            "hash": "CGjUzaSOqukYqnJK2zYd0YuvGea0MrNdlRCubhEPbag",
            "fee": 0,
            "challenger": "112a5Mzuhw4h9Er29yGhsYLi9FePQmzmgyKXZW53to8uXHzZYSS3",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEYCIQC0VJsxXtXeYR_NAOtoFz3C-tbOam3sQFKMAyufH0RdGgIhAKK0BBiCJYOOpDVikt1jbxMUscVz9q3gRTrw9ga1NNJ0",
            "secret_hash": "30jwhK8zdNvluN4ikCymnWo3GBwYfyWk1fALTBFYcHU",
            "owner": "13T8w9Y88SEqbuzRkDq49xHKfX57cJbbv5y1fTqMU79Wu1q1o5j",
            "onion_key_hash": "1oYPe7schX1Ph2ZpP4zGGOviXfBLoZlF_WK3usuelac",
            "location": "8c2a10564c437ff",
            "lng": -74.03002342945634,
            "lat": 41.04224197668894,
            "height": 213787,
            "hash": "E80uoOjygu6SbUqsnEu-lCXKjbzZW9WiHSrKx033-MI",
            "fee": 0,
            "challenger": "114PsNUa1rMT9Q2PpeAqs9RpJXjMgb5BNT5Azi9CaVQ6daijLRo",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIBYBRSno33FSUpXXZnMy51MK9ciU_MO__wWl9nk7UlLqAiA1OU26vJxQp8irF6NpdqPLynpTMBdTxSgEiAYTcr-0UA",
            "secret_hash": "G7PfwPRmL5NFwtVNhAA3y9F0-6_tfKLeV7Vq6fLUOEY",
            "owner": "14RhEs3bVE9WYryYjdBG3LksJVhd9Wp5fxPLRQeHebTrPKReeyE",
            "onion_key_hash": "miByk1ioQpmSoSlLmk5pSlhnoQHdK-GXZGsiNJQSvxc",
            "location": "8c2836156622bff",
            "lng": -121.02718668572189,
            "lat": 37.65368378785006,
            "height": 213787,
            "hash": "eLaP-eUAJbJJIQSIkb3u5wD-eQMjJ_qeI-zF8YWa-7o",
            "fee": 0,
            "challenger": "11F2cGbEYfB6qvmNLE7tXWnkgqLfWPvHpxsgyghNRidusGDKD41",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIBDls8CH7DspVWl0IC77XLzzt7wHygTukGlibTygCP3QAiAl9fR9dNgLgaSIkl4cqBrSqjtbtu_Eg1UeMjRqmi9mog",
            "secret_hash": "SR-livfqQa58lN3WX5a9jIBUW63DFOUUAgCC27WRu6I",
            "owner": "13BPvTrw32jdsBPJYnL7whYghwLboCqipTaJbhSEaaZVzgmEemm",
            "onion_key_hash": "R9GPq3ssxi6LW_iuj-7KqSwKSmZ_in7EdJEGWcVrWbs",
            "location": "8c489e3534f45ff",
            "lng": -97.68010436306147,
            "lat": 30.30448054652587,
            "height": 213787,
            "hash": "eMNvkAotMP4e3xAfN1gh5oc5CTXnIhf2sIxijE3oZXA",
            "fee": 0,
            "challenger": "117r6sxGnFD3n5GnMTqSfhLxYqoXcDvFpzjNkweD8ZhPr9YQLRU",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "type": "poc_receipts_v1",
            "time": 1582192928,
            "signature": "MEQCIGVhWn3s3_2HYQzGNFi2GmV3xsr8Nm2EemoHNyqPNb33AiAPOfTXQKEo6Ol1H6JnlNTihUDpK5qtVRM6JSEDaVNvYA",
            "secret": "AJswL6q6bm7bGIwk3jzzyH0kDGSJHb14ZnI2GgVApo8uBC3mU933j0w0_5rF3ejIZdLSusOmCZdzhoag7RtADi6OGXHHEdRNfTIDYR_41sddC0mqPE8A3NXXo2mzpqqkgo4",
            "path": [
                {
                    "witnesses": [],
                    "receipt": {
                        "timestamp": 1582192367974227200,
                        "signature": "MEUCIDD9BLjC_ghbIe7zhKQtDrhrlLD1BJgI_95ryQ6CFyyOAiEA1BZj_-faF_d7PFela0-EC6meWh3Wbe749I73Ta5gnyM",
                        "signal": 0,
                        "origin": "p2p",
                        "gateway": "112oQLEtxFFw4NrPZ7d1DFM1iScCunu5xvea99kVVTorNo16cBKg",
                        "data": "NJA"
                    },
                    "challengee": "112oQLEtxFFw4NrPZ7d1DFM1iScCunu5xvea99kVVTorNo16cBKg"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "112SVQqroQvvq2rQHKWYfxP2eRb91NLXU8qduBCLt1B1DmLK6Xj"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "112CGr8XwCuHtD4CmewgCWfz6ttQaRLK5Up8cjoUng37zpLN5kbi"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "11DpearQqzUSCy4Mdho5CN4LSqZffhHkAwkeRieeAvELnpQzfUP"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "11DRokFJ3U9UkDU4BFN2djb6fH7wAwLr2ysXPJsbhDoUoyGFvuV"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "112DWqhAqCd5ie5sbSxXBG7o3mrGZgPSdhEYumbvxSNA4G5ZSxNe"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "1125H31qsBackYPLiYQQYHvxi6bRxzcfjRK5aJv1gA2ZwKb7WYL7"
                }
            ],
            "onion_key_hash": "qDnv0zJGjHUvgZTmGyJspRiPZvktTqQ-enBE43xrceg",
            "height": 213787,
            "hash": "GJMR4wfeHPC2xBhGM4vQqu344dyQdn7TZUpzNFu3baA",
            "fee": 0,
            "challenger_owner": "13uJVUm1U2iFZHhmFNp4E6L6v9rkjoABicw1SFC424rqadj7Qg5",
            "challenger_loc": "8c48eba0b2d11ff",
            "challenger": "112fpjqDuU3MequG617EuQ3xhtdecz6ah2WxJK87XqfHL5jnSdvc"
        }
    ]
}

{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}

{% api-method method="get" host="https://api.helium.io" path="/v1/blocks/hash/:hash" %} {% api-method-summary %} Block at Hash {% endapi-method-summary %}

{% api-method-description %} Get block descriptor for the given block hash. {% endapi-method-description %}

{% api-method-spec %} {% api-method-request %} {% api-method-path-parameters %} {% api-method-parameter name="hash" type="string" required=true %} Block hash for the block to fetch {% endapi-method-parameter %} {% endapi-method-path-parameters %} {% endapi-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}

{
    "data": {
        "transaction_count": 37,
        "time": 1582192928,
        "snapshot_hash": "",
        "prev_hash": "Xj6vrBi_IcP0vqHHawf0FFWkG1qn18I9thQKOEhblXg",
        "height": 213787,
        "hash": "o5o8cBL1Zvp1KmA1d8vYJ38wXXWVxf1HW2e1uZxVJYg"
    }
}

{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}

{% api-method method="get" host="https://api.helium.io" path="/v1/blocks/hash/:hash/transactions" %} {% api-method-summary %} Block at Hash Transactions {% endapi-method-summary %}

{% api-method-description %} Get transactions for a block at a given block hash.
The list of returned transactions is paged. A cursor field is present if more results are available. {% endapi-method-description %}

{% api-method-spec %} {% api-method-request %} {% api-method-path-parameters %} {% api-method-parameter name="hash" type="string" required=true %} Hash of block to fetch transactions for {% endapi-method-parameter %} {% endapi-method-path-parameters %}

{% api-method-query-parameters %} {% api-method-parameter name="cursor" type="string" required=false %} Cursor for next page to fetch {% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}

{
    "data": [
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEUCIEtI0JUGWFDZxdZ-MqaamBibe9XA7Hu7KtppFxER2_VlAiEAjmdtV8WcdyTVOMF1wLSiRXtsim2cEndKnnhavPAj7ms",
            "secret_hash": "PDp3wlQDWQHOv3_cYO3iXSGO5lQPY-nk0nGZ-aCWj6U",
            "owner": "13RU6fRkU1uGviyWJzgSVJAiVDhyf97dqBDMTmVjHEAuBy5LN1F",
            "onion_key_hash": "T9wxjep44KOQrgw7L7nTBUlTp87BL1lvyCievMmxSHo",
            "location": "8c2a30650aad7ff",
            "lng": -71.1952338305713,
            "lat": 42.34690845297784,
            "height": 213787,
            "hash": "0XQR1wmeqRYF8BeIPLtqr7ZZQHLWAg7CavmKPrSxF8w",
            "fee": 0,
            "challenger": "11mxTwhQVMS9o5GqaQ3MW9NbJeQM8x89e52YG3Em4turgAHPSgs",
            "block_hash": "XcQXEO8eeJeCQ1V6hcCBMH06a1pOZXxrUBp-2NhM8Yg"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEUCIQCUJskKawMwc9G3Uv_ZRYrhSrHo4QoNuZT4amHVS3rkmQIgJ_RZ-9z3v9T5JNwnAtDTynwJpqO1cQ3KHPBeFGxRBQY",
            "secret_hash": "B7scyTy8h6nsXymcrXPaCt0MShUGki2fvPx7lsmRkXc",
            "owner": "13Wjb3U16ct477Qixg45nWEtRh4Jg2qTp2iuqgD2Adk8gQmF8Bo",
            "onion_key_hash": "1xip4moxB5lx8UO5Dwo35ppMfJi_ASSgxsYaLPaHLRU",
            "location": "8c44c13164947ff",
            "lng": -84.23063101246672,
            "lat": 33.85883850690923,
            "height": 213787,
            "hash": "6J8ZsZjDF2tiStMOVjtEG9jaKnpLZfAwY4jXx9bX1y4",
            "fee": 0,
            "challenger": "1181v5Saf87iUexQ8WtqA6xLrzbuF2UaS6dGY8R8p4yqoK1ZjMA",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIEEk2H6NFe9CY7ZtoPPr-9cyBDuDCTvrOOzKpPW7ldIAAiAfGXSl2cgqtVzN8um0PyCTr_dD8_Gmp2CwL8SEkuv1Ew",
            "secret_hash": "zCA4W7sUqVu6Gzpz-5TUbzxTTv8SbY0B74VCIp46Hys",
            "owner": "14MRMNbNQidNFTszjoYugvMPxQLqLoZyPADSwJKvvnzgd8UX2UZ",
            "onion_key_hash": "PyGkman-6k81fdcQn9_DS9dJLRo9r4P9ijpRxPnM4-E",
            "location": "8c2663d04684bff",
            "lng": -88.31876752603684,
            "lat": 40.10013118277986,
            "height": 213787,
            "hash": "_aOH3TaNbUXB-aETIk7bsUyH6p9HOWDfx3P5wXBxnQQ",
            "fee": 0,
            "challenger": "11K6YeKEqfwMJu2wy64YHdQhXT8Hy5aMA4SxFdvCR4zwQyF17Xo",
            "block_hash": "znLXFN1OaN6aosWTZRmpZ2SIu0wiT4LKG3VkDpf8oqA"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEUCIGCf9Mxj5P9aeuIwbhMrGkhVORX9ymsditZ8jwgrRGoTAiEAmv6oeps953HnAGjtW6b7yu6gKiGYDXneMJxOPPX5cN4",
            "secret_hash": "otNY8AVs8_JsIay-CA5XXAiKInVEx00lwXnLBIAfWKo",
            "owner": "135qJwSQD2eFBsDjcDWKRgJucKRocVLvxrunc1W9KhcJe9CAp4G",
            "onion_key_hash": "lEEBV1DODq5iFKYq4h6mmb-Oba-6dcYfQ3cMUjFhxHc",
            "location": "8c2a107a90b09ff",
            "lng": -74.21400962950572,
            "lat": 40.68133174681411,
            "height": 213787,
            "hash": "AqLEUGRylc9kfW_tyLMwTJPunVXmlqh5ZrzYVUWxBIE",
            "fee": 0,
            "challenger": "11cpn65Uuugxs9YAAvYc1i7J9xgWY2pjSj4Y2FFvaFypa8bccLq",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEUCIGPQZRXlxMMJXAiOyYAja70dC6HihyvXNoDRTno3Rw7gAiEAsKS_4qaQ0zLf42sW1SaLnqfb1mUquwFpHbU0-lo21yo",
            "secret_hash": "CZjCoW6RU6TejMQjhgePVXPc759u5yp04Y9z5ye5C28",
            "owner": "14gaNAfNSL8pPAVjTyy8LhRjVgw9t8JunooEmCSyXLAX9A3pfMF",
            "onion_key_hash": "mWsd00ByHhfa_2J-CpphhbhSIiqg58_tMiYkoOBEU6Y",
            "location": "8c2a340910313ff",
            "lng": -70.2707016518933,
            "lat": 43.655908895594315,
            "height": 213787,
            "hash": "bdkRW7Dxx-ESPSz7i_vxk-jXIqUfmFL9pZUWYmJOwYU",
            "fee": 0,
            "challenger": "112u5QmxT5LVrD9vdtT1hJ7bBEdqthhbbefTaNK1JCS5n4xbKRoo",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIDDdF3MhXzgLzVRHi6-x55ASjv9BtbIneBMyGekAThY0AiApKRRfmZRVYt-7Bx_le9uaUmmWYkWPv1IXDXRgCGR1Ww",
            "secret_hash": "Upa8MV8OvHZBddL-GLAyeNTJ7P80vTAxYFsTI25AnOk",
            "owner": "139fiM2t9SGU8yB1QG5GxRy9qztpcnjr1F5u7Paop9Lsh7G31sn",
            "onion_key_hash": "F2lzKJQyFet4zkgVaqR9FeO1i6SqICpaN5P1RfbM07E",
            "location": "8c44d9975282bff",
            "lng": -82.72848196624813,
            "lat": 35.533213738889785,
            "height": 213787,
            "hash": "c-6u-jO4YX0dgxXSUMK7HKxdPUmxbxwXCbHblKDbHjQ",
            "fee": 0,
            "challenger": "112oBX3SKsRdxXD97dNVL8k5ejnS6bYiKxjWeRS2yuj8gCkgLUb1",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIEQkbbVN05yp4ynRKCdnXbPBOADm645fVXXg3wQ5EGgJAiAqO__gcfiLdmPqtofKvf1XAnXL6oyTe2f6YSIkatGfMg",
            "secret_hash": "0RusqDuS5D1l6VxHHqOfYKN3_dRzS9glMuv9XhlHJOc",
            "owner": "14FrS6JfobouRDVf7FbYuvvR5uNzB688qESpQNXLoaCqd1zDN7P",
            "onion_key_hash": "VQuQlV7KfjAK2xT0CqP6a-qt_sZHBD5AQKeHOiSRMeE",
            "location": "8c2a122dbb893ff",
            "lng": -75.27858120362838,
            "lat": 40.236503579574276,
            "height": 213787,
            "hash": "CGjUzaSOqukYqnJK2zYd0YuvGea0MrNdlRCubhEPbag",
            "fee": 0,
            "challenger": "112a5Mzuhw4h9Er29yGhsYLi9FePQmzmgyKXZW53to8uXHzZYSS3",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEYCIQC0VJsxXtXeYR_NAOtoFz3C-tbOam3sQFKMAyufH0RdGgIhAKK0BBiCJYOOpDVikt1jbxMUscVz9q3gRTrw9ga1NNJ0",
            "secret_hash": "30jwhK8zdNvluN4ikCymnWo3GBwYfyWk1fALTBFYcHU",
            "owner": "13T8w9Y88SEqbuzRkDq49xHKfX57cJbbv5y1fTqMU79Wu1q1o5j",
            "onion_key_hash": "1oYPe7schX1Ph2ZpP4zGGOviXfBLoZlF_WK3usuelac",
            "location": "8c2a10564c437ff",
            "lng": -74.03002342945634,
            "lat": 41.04224197668894,
            "height": 213787,
            "hash": "E80uoOjygu6SbUqsnEu-lCXKjbzZW9WiHSrKx033-MI",
            "fee": 0,
            "challenger": "114PsNUa1rMT9Q2PpeAqs9RpJXjMgb5BNT5Azi9CaVQ6daijLRo",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIBYBRSno33FSUpXXZnMy51MK9ciU_MO__wWl9nk7UlLqAiA1OU26vJxQp8irF6NpdqPLynpTMBdTxSgEiAYTcr-0UA",
            "secret_hash": "G7PfwPRmL5NFwtVNhAA3y9F0-6_tfKLeV7Vq6fLUOEY",
            "owner": "14RhEs3bVE9WYryYjdBG3LksJVhd9Wp5fxPLRQeHebTrPKReeyE",
            "onion_key_hash": "miByk1ioQpmSoSlLmk5pSlhnoQHdK-GXZGsiNJQSvxc",
            "location": "8c2836156622bff",
            "lng": -121.02718668572189,
            "lat": 37.65368378785006,
            "height": 213787,
            "hash": "eLaP-eUAJbJJIQSIkb3u5wD-eQMjJ_qeI-zF8YWa-7o",
            "fee": 0,
            "challenger": "11F2cGbEYfB6qvmNLE7tXWnkgqLfWPvHpxsgyghNRidusGDKD41",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "version": 2,
            "type": "poc_request_v1",
            "time": 1582192928,
            "signature": "MEQCIBDls8CH7DspVWl0IC77XLzzt7wHygTukGlibTygCP3QAiAl9fR9dNgLgaSIkl4cqBrSqjtbtu_Eg1UeMjRqmi9mog",
            "secret_hash": "SR-livfqQa58lN3WX5a9jIBUW63DFOUUAgCC27WRu6I",
            "owner": "13BPvTrw32jdsBPJYnL7whYghwLboCqipTaJbhSEaaZVzgmEemm",
            "onion_key_hash": "R9GPq3ssxi6LW_iuj-7KqSwKSmZ_in7EdJEGWcVrWbs",
            "location": "8c489e3534f45ff",
            "lng": -97.68010436306147,
            "lat": 30.30448054652587,
            "height": 213787,
            "hash": "eMNvkAotMP4e3xAfN1gh5oc5CTXnIhf2sIxijE3oZXA",
            "fee": 0,
            "challenger": "117r6sxGnFD3n5GnMTqSfhLxYqoXcDvFpzjNkweD8ZhPr9YQLRU",
            "block_hash": "aCrKSvuKX1dAkUURkvaCRT1C0Z-WD5m6q4TgWr7gx5Y"
        },
        {
            "type": "poc_receipts_v1",
            "time": 1582192928,
            "signature": "MEQCIGVhWn3s3_2HYQzGNFi2GmV3xsr8Nm2EemoHNyqPNb33AiAPOfTXQKEo6Ol1H6JnlNTihUDpK5qtVRM6JSEDaVNvYA",
            "secret": "AJswL6q6bm7bGIwk3jzzyH0kDGSJHb14ZnI2GgVApo8uBC3mU933j0w0_5rF3ejIZdLSusOmCZdzhoag7RtADi6OGXHHEdRNfTIDYR_41sddC0mqPE8A3NXXo2mzpqqkgo4",
            "path": [
                {
                    "witnesses": [],
                    "receipt": {
                        "timestamp": 1582192367974227200,
                        "signature": "MEUCIDD9BLjC_ghbIe7zhKQtDrhrlLD1BJgI_95ryQ6CFyyOAiEA1BZj_-faF_d7PFela0-EC6meWh3Wbe749I73Ta5gnyM",
                        "signal": 0,
                        "origin": "p2p",
                        "gateway": "112oQLEtxFFw4NrPZ7d1DFM1iScCunu5xvea99kVVTorNo16cBKg",
                        "data": "NJA"
                    },
                    "challengee": "112oQLEtxFFw4NrPZ7d1DFM1iScCunu5xvea99kVVTorNo16cBKg"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "112SVQqroQvvq2rQHKWYfxP2eRb91NLXU8qduBCLt1B1DmLK6Xj"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "112CGr8XwCuHtD4CmewgCWfz6ttQaRLK5Up8cjoUng37zpLN5kbi"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "11DpearQqzUSCy4Mdho5CN4LSqZffhHkAwkeRieeAvELnpQzfUP"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "11DRokFJ3U9UkDU4BFN2djb6fH7wAwLr2ysXPJsbhDoUoyGFvuV"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "112DWqhAqCd5ie5sbSxXBG7o3mrGZgPSdhEYumbvxSNA4G5ZSxNe"
                },
                {
                    "witnesses": [],
                    "receipt": null,
                    "challengee": "1125H31qsBackYPLiYQQYHvxi6bRxzcfjRK5aJv1gA2ZwKb7WYL7"
                }
            ],
            "onion_key_hash": "qDnv0zJGjHUvgZTmGyJspRiPZvktTqQ-enBE43xrceg",
            "height": 213787,
            "hash": "GJMR4wfeHPC2xBhGM4vQqu344dyQdn7TZUpzNFu3baA",
            "fee": 0,
            "challenger_owner": "13uJVUm1U2iFZHhmFNp4E6L6v9rkjoABicw1SFC424rqadj7Qg5",
            "challenger_loc": "8c48eba0b2d11ff",
            "challenger": "112fpjqDuU3MequG617EuQ3xhtdecz6ah2WxJK87XqfHL5jnSdvc"
        }
    ]
}

{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}