Skip to content

Block

Get by Hash

This endpoint retrieves the block details of a given hash.

TIP

For blocks with a maximum of 20 transactions, this call returns all transaction IDs.

  • If a block has more than 20 transactions, only the first 20 transaction IDs are returned.
  • To retrieve the remaining IDs, see the Get Block Pages section.

HTTP Request

GET https://api.turingbitchain.io/api/tbc/blockByHash/hash/{hash}

Example Request

shell
curl --location --request GET "https://api.turingbitchain.io/api/tbc/blockByHash/hash/000000005c361f8e2b1d501021fd96e79586b1450dde80bb7f6de66c3d3fa168"

Example Response

json
{
  "code": "200",
  "message": "OK",
  "data": {
    "bits": "1d009804",
    "coinbase": "\u0003P�\f",
    "coinbasefee": 0,
    "coinbaseinfo": "A1CWDA==",
    "coinbasereward": 625000000,
    "coinbasetxid": "4b9583daa3a1539bc472813272293ad5d5544891b63daa7e2087445f744cf6bd",
    "confirmations": 84926,
    "difficulty": 1.68401171754548,
    "hash": "000000005c361f8e2b1d501021fd96e79586b1450dde80bb7f6de66c3d3fa168",
    "height": 824912,
    "merkleroot": "4b9583daa3a1539bc472813272293ad5d5544891b63daa7e2087445f744cf6bd",
    "nexthash": "0000000050b736dd1da6a01045991feb153cc366cf3e1b396e3e519a43bed998",
    "nonce": 88153498,
    "previoushash": "0000000071add0fc9b909a77b287cf7500f5c8cdef2a5aabaf729a29ba8047bc",
    "reward": 0,
    "size": 388,
    "time": 1708785357,
    "tx": [
      "4b9583daa3a1539bc472813272293ad5d5544891b63daa7e2087445f744cf6bd"
    ],
    "txcnt": 1,
    "version": 536870912,
    "versionhex": "20000000"
  }
}

URL Parameters

ParameterDescription
hashBlock hash.

Get by Height

This endpoint retrieves the block details of a given block height.

Note

For blocks with up to 20 transactions, this call returns all transaction IDs.

  • If the block has more than 20 transactions, only the first 20 transaction IDs are returned.
  • To get the remaining IDs, refer to the Get Block Pages section.

HTTP Request

GET https://api.turingbitchain.io/api/tbc/blockByHeight/height/{height}

Example Request

shell
curl --location --request GET "https://api.turingbitchain.io/api/tbc/blockByHeight/height/824190"

Example Response

json
{
    "code": "200",
    "message": "OK",
    "data": {
        "bits": "1d00efff",
        "coinbase":"~�\f",
        "coinbasefee": 0,
        "coinbaseinfo": "A36TDA==",
        "coinbasereward": 625000000,
        "coinbasetxid": "666a860f2af836985ea01ef20dbe7d0f012e6a399eaf2b8c997497c35c701f06",
        "confirmations": 85648,
        "difficulty": 1.066667751753772,
        "hash": "0000000058968601042df9b0d57e41b092c76d6f91f333dc231cdd4cc4fd861d",
        "height": 824190,
        "merkleroot": "666a860f2af836985ea01ef20dbe7d0f012e6a399eaf2b8c997497c35c701f06",
        "nexthash": "00000000741ce17614ba9283ce49dd43c8c46d174144c9e51cc05540696c67a7",
        "nonce": 563364325,
        "previoushash": "000000008cbb162a198ea6d21c2bff298d5cfed1f93454f616fa43a36290d710",
        "reward": 0,
        "size": 389,
        "time": 1708354684,
        "tx": [
            "666a860f2af836985ea01ef20dbe7d0f012e6a399eaf2b8c997497c35c701f06"
        ],
        "txcnt": 1,
        "version": 536870912,
        "versionhex": "20000000"
    }
}

URL Parameters

ParameterDescription
heightBlock height.

Get Headers

Retrieve the latest block information using pagination.

HTTP Request

GET https://api.turingbitchain.io/api/tbc/recentblocks/start/{start}/end/{end}

Example Request

shell
curl --location --request GET "https://api.turingbitchain.io/api/tbc/recentblocks/start/0/end/10"

Example Response

json
{
    "code": "200",
    "message": "OK",
    "data": [
        {
            "bits": "1c4484da",
            "coinbase":"�\rF0D 0�{��K�~D�h$ɟ\b�Z��G�\n�h4� ?\\�����_c��N2�J�� Y3jU�<���",
            "coinbasefee": 782,
            "coinbaseinfo": "AxPiDUYwRAIgMAHie9neHEukGH5E9xZoGyTJnwiTWr0Ou0flCqloNK8CID9coPvmzsYRX2O87k4y4UqauiBZfzMFalXMPIujGxKe",
            "coinbasereward": 312500000,
            "coinbasetxid": "acc4a0cf01799142363bfa08edb42b6affbe021c0fc42ca145ce876aa2fc9a2f",
            "confirmations": 1,
            "difficulty": 3.736135601312828,
            "hash": "00000000093bebcc6fe692955534e22a60d3c9fbbbdc2b788eb6c3dacd84d75a",
            "height": 909843,
            "merkleroot": "c90b7e816ad0aff10ae34a6b3173bf4624e47e49b4bd8453214a15427207a278",
            "nexthash": "",
            "nonce": 1901533251,
            "previoushash": "0000000029f505a9922104e2027985a9e7b763e181b8ae444132573fd8c08c30",
            "reward": 0,
            "size": 4722,
            "time": 1758078708,
            "txcnt": 7,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c4399e9",
            "coinbase":"�\rF0D N� ὰ�-]��{��j�>�������ю�!�� K�`���ݳ\r�6�ó��\tґB8�n~���\f�",
            "coinbasefee": 19907,
            "coinbaseinfo": "AxLiDUYwRAIgTugg4b2wrS1doIh77qVqiD7S9qTrgfeqFxrRjtshgsoCIEvRYIXQ+N2zDa82tMOzgIcDCdKRQjjWbn7ZALbCAgy5",
            "coinbasereward": 312500000,
            "coinbasetxid": "6225657b3335b3d93590dfbf8cd573c57898128908b5cb35f6fa74bb0df16379",
            "confirmations": 2,
            "difficulty": 3.786856594556637,
            "hash": "0000000029f505a9922104e2027985a9e7b763e181b8ae444132573fd8c08c30",
            "height": 909842,
            "merkleroot": "53e44ecbf6cfd4453a7c1a24e2d4df75982856aba4c9d3116e971394ba96e2d2",
            "nexthash": "",
            "nonce": 2795153160,
            "previoushash": "00000000056db7ad88abb7b6a10199be53fb64426ab10cc201d69a36bee7f824",
            "reward": 0,
            "size": 230698,
            "time": 1758078593,
            "txcnt": 55,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c4350e3",
            "coinbase":"�\rF0D U�m�Z�8jFV�5����O�H��� Q\\\\�]�\u000b*��F��ne8f�!����$?�",
            "coinbasefee": 72022,
            "coinbaseinfo": "AxHiDUYwRAIgBlWcbaVamRkAOGpGVhSJNYqCF7CPAU8CxUgfspDfGgMCIFFcXJ1doQsq+fZGo65uZThmuiH/tQDNzpkDliQZET+X",
            "coinbasereward": 312500000,
            "coinbasetxid": "c48d9f8308f4b474ef7118f6bb9fd955f661995275f8dc0824c78790b656c969",
            "confirmations": 3,
            "difficulty": 3.80290319721626,
            "hash": "00000000056db7ad88abb7b6a10199be53fb64426ab10cc201d69a36bee7f824",
            "height": 909841,
            "merkleroot": "3d1f0a3a39b285b3cba3865092592f58568a046060f6008a84ef4331b5122c04",
            "nexthash": "",
            "nonce": 3111789581,
            "previoushash": "0000000032eb06d2425b2abbdd4ec0781ce59f6284768eee50c6a4eea1e3e2f6",
            "reward": 0,
            "size": 847860,
            "time": 1758078017,
            "txcnt": 196,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c43f2b2",
            "coinbase":"�\rG0E!�p��Fph垮��l\n�+��01�r�l5�0�U ]Ncn�V��;srO�7�Ͻ~A�)P�k��Y",
            "coinbasefee": 78965,
            "coinbaseinfo": "AxDiDUcwRQIhAOFwu+lGcGjlnq7M6GwK9isV8sAwMR76chuAbDWMMOBVAiBdTmNuvRJW6/M7c3IUT9M38M+9Bn5BHv4pUO9r2exZAg==",
            "coinbasereward": 312500000,
            "coinbasetxid": "dd29dfd5f1e5a35451c9ea06fb4aeb538c83c85e6ba2ac7c572d7dca1945d1ad",
            "confirmations": 4,
            "difficulty": 3.767527905642929,
            "hash": "0000000032eb06d2425b2abbdd4ec0781ce59f6284768eee50c6a4eea1e3e2f6",
            "height": 909840,
            "merkleroot": "1a0968255dd56f120e750dbadf79e0fe4c5a739341c08f602d501286ebfab8a0",
            "nexthash": "",
            "nonce": 1721390408,
            "previoushash": "0000000001420ba62a89e8dc41f4e8db88a93f397f4071af9eb0ba0424b4b27a",
            "reward": 0,
            "size": 946510,
            "time": 1758076805,
            "txcnt": 198,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c444f9e",
            "coinbase":"�\rG0E!�U�'B���I�>������\\AP\n��l�ɐ��� 9ɢ5B�O�7�k�/ь�uhW[CB1�\b",
            "coinbasefee": 23967,
            "coinbaseinfo": "Aw/iDUcwRQIhAOJV9idCuLbFSc8APqmTq6eDhVxBUAqk9myayZDjzw+vAiA5yaIENQRCuRVPpxY372upDi/RjIx1aA5XWw9DQjHlCA==",
            "coinbasereward": 312500000,
            "coinbasetxid": "e64000e008710666cede0c427d4e7649d815db953417b11f635965bd27abc0c9",
            "confirmations": 5,
            "difficulty": 3.747508839960418,
            "hash": "0000000001420ba62a89e8dc41f4e8db88a93f397f4071af9eb0ba0424b4b27a",
            "height": 909839,
            "merkleroot": "76e27e6596cb2d27a87adc52990c1d0966e0c91e53131190672d61df017e1f98",
            "nexthash": "",
            "nonce": 3154560531,
            "previoushash": "0000000002a2d09e1272ea7616d92524768526fed26eb2d0f61bf7da62a10b76",
            "reward": 0,
            "size": 292081,
            "time": 1758076213,
            "txcnt": 62,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c43ed74",
            "coinbase":"�\rF0D .���������&X[�z��.,��$n��V l=��|�˼�s��H�Q�>^�M�@��$�\u000b\bo",
            "coinbasefee": 80482,
            "coinbaseinfo": "Aw7iDUYwRAIgLqmSp6fZEfaiG9zPJh9YW556iLguLJ8YH+Ukbh+7tVYCIGw9rLN848u8mXOcEbFIj1G+Pl6HTbFAAaPrJAP6Cwhv",
            "coinbasereward": 312500000,
            "coinbasetxid": "8afb2bab1fa779c9cddb420ddfe047a1984ef6d8c39781f7cb745c274d6f1237",
            "confirmations": 6,
            "difficulty": 3.768663656580632,
            "hash": "0000000002a2d09e1272ea7616d92524768526fed26eb2d0f61bf7da62a10b76",
            "height": 909838,
            "merkleroot": "8451081996114d129d45f5d557908136c56ce80749b1f5231be20a19ae44c1c8",
            "nexthash": "",
            "nonce": 3993335105,
            "previoushash": "00000000115e64751eca9b8ed67f1657ea18b4765336c5c067d322209737a87e",
            "reward": 0,
            "size": 970450,
            "time": 1758075958,
            "txcnt": 193,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c43318d",
            "coinbase":"\r\rF0D iW��.��(t2�9����\f�ɟ�����F r�l����s�3�S~_�^��T�����P6�m",
            "coinbasefee": 72955,
            "coinbaseinfo": "Aw3iDUYwRAIgaVehwS4SsBuhKBUAdDKgEjmdoeW6DKHJnwL7o/eDv0YCIHLWbODA+8tznwMzkVN+X5Re+utU4uf38BaZUDbQbRcX",
            "coinbasereward": 312500000,
            "coinbasetxid": "af2f0414500010d777e01176f1f965b3209c0e75a444f15ee863aa355af9f6b2",
            "confirmations": 7,
            "difficulty": 3.809830917770177,
            "hash": "00000000115e64751eca9b8ed67f1657ea18b4765336c5c067d322209737a87e",
            "height": 909837,
            "merkleroot": "391905affa328180e9de08a2ec7bc91826959ec8a023f49507437d9481c41644",
            "nexthash": "",
            "nonce": 4113092611,
            "previoushash": "0000000014cfbfebae4f3c53849bf5031752c1380c1dce4347ac2dc38cf8fb4a",
            "reward": 0,
            "size": 884687,
            "time": 1758075377,
            "txcnt": 194,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c424901",
            "coinbase":"\f\rF0D Ae�Y�\u000b�Ig���lF6����\b'>��9��A MH:������f���y#ÜU����\t-",
            "coinbasefee": 109209,
            "coinbaseinfo": "AwziDUYwRAIgQWXLWbgLuElniQcYq98dbEY2vPOW9ggnPrvJDzn64UECIE1IAzrCFpWJGYsDrfpmx9bCeRAjGsOcGwBVq8G31Akt",
            "coinbasereward": 312500000,
            "coinbasetxid": "499d9fb69c79ba3a6e2c0a2b279391e708851f56ab056bcbb6bc40fcbfa8216b",
            "confirmations": 8,
            "difficulty": 3.862041659137237,
            "hash": "0000000014cfbfebae4f3c53849bf5031752c1380c1dce4347ac2dc38cf8fb4a",
            "height": 909836,
            "merkleroot": "6ce2716e296690780e430d0c661c3716104a5c9c17a7c9bcbeb93ae0770c675a",
            "nexthash": "",
            "nonce": 717748487,
            "previoushash": "0000000010b68e7b7c32b2874b1db8f7aa1e058908e579d21857e78c3b094e1b",
            "reward": 0,
            "size": 1308106,
            "time": 1758074624,
            "txcnt": 295,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c42940c",
            "coinbase":"\u000b\rG0E!�9�&�_:��k�j��>ҡa�Ο�t�k���}�W #�v�ė`��\u000b�2���8�K�Ct�\"E",
            "coinbasefee": 130086,
            "coinbaseinfo": "AwviDUcwRQIhAPw5+CaBXzrZ/GvGauvdPtKhYegCzp+FdKprvrzsfctXAiAOIxmyHRx24MSXH2Adn6sL5jIb7MfDOJoeS9dDdKIiRQ==",
            "coinbasereward": 312500000,
            "coinbasetxid": "e0039b948a44c2950991dca67057ff21d0101e2a07b4e33ca0e2b64b9ba1372a",
            "confirmations": 9,
            "difficulty": 3.845037536016516,
            "hash": "0000000010b68e7b7c32b2874b1db8f7aa1e058908e579d21857e78c3b094e1b",
            "height": 909835,
            "merkleroot": "a535766f1f605fbafec94413daf66ae15c6761deee64efd39a5082d7e0c7d10a",
            "nexthash": "",
            "nonce": 660153109,
            "previoushash": "0000000033af176c9f9176885301d2d63fdb820f33ee0ae711020af451754e7a",
            "reward": 0,
            "size": 1576821,
            "time": 1758073600,
            "txcnt": 301,
            "version": 536870912,
            "versionhex": "20000000"
        },
        {
            "bits": "1c4256d9",
            "coinbase":"\n\rG0E!�C\"�r֐�˭*��� �\t��~e�8Iƪl��e lP�,�����sB��mE�R2�8�:�<rpN�",
            "coinbasefee": 2360,
            "coinbaseinfo": "AwriDUcwRQIhALBDIhfEctaQmsutKo3niyDzCff5fmUasDhJxqpsstdlAiAabFCDLOzzv8vRc0LK321FgAZSMrIVOIkOOvc8cnBOzg==",
            "coinbasereward": 312500000,
            "coinbasetxid": "63fa88acfdd59ad56644f9f2593a22b7f47f8d6b0ace4567d16d9f1c62194758",
            "confirmations": 10,
            "difficulty": 3.858893474551184,
            "hash": "0000000033af176c9f9176885301d2d63fdb820f33ee0ae711020af451754e7a",
            "height": 909834,
            "merkleroot": "72d78ad2cd6923eac22dc8f080cad75fee345f9cc78bc6e691cc1ee066f094a1",
            "nexthash": "",
            "nonce": 3375065347,
            "previoushash": "000000001ae5f7796c66e246d43aeaebde3fc2f7bba6cb7d95af829f5c2c83e3",
            "reward": 0,
            "size": 28915,
            "time": 1758072529,
            "txcnt": 8,
            "version": 536870912,
            "versionhex": "20000000"
        }
    ]
}

URL Parameters

ParameterDescription
startStarting position or offset (integer).
endEnding position or offset (integer).

Get Block TX by Hash

This endpoint retrieves the block txs of a given hash.

HTTP Request

GET https://api.turingbitchain.io/api/tbc/txbyblockhash/blockhash/{blockhash}/start/{start}/end/{end}

Example Request

shell
curl --location --request GET 'https://api.turingbitchain.io/api/tbc/txbyblockhash/blockhash/0000000024397ca3f5ce32c6805f62abe8e8580ae558e853c54d960cb76c146b/start/0/end/10'

Example Response

json
{
    "code": "200",
    "message": "OK",
    "data": {
        "coinbase_txid": "73f4a248e76673ea4964fd54481f130cbd31614903667e01bab7d374282c89fb",
        "coinbase":"-�\rG0E!����\r��BT���|�B$�s�w����ۈ� |=�›��O�Z�\u000b�a�I�Ӿ�8Au\b��}�",
        "txs": [
            {
                "hash": "73f4a248e76673ea4964fd54481f130cbd31614903667e01bab7d374282c89fb",
                "height": 902445,
                "vin": [
                    {
                        "address": "coinbase",
                        "value": 0
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 109378063
                    },
                    {
                        "address": "16QPoVW1aKeg7ixny5wgNHccyS1NMAn5uh",
                        "value": 203130690
                    }
                ],
                "fee": 0,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "df907245270b0a8e8510a2c42d505db42f7d98fca67e20faf5e75638f5b0ec3f",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7390506
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7389626
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "0989a91d242d4587009f69c7f788afce016143d81670faa63191d04e14be5eb0",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7389626
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7388746
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "522b6188df1f4bccc9c3b277ff9dbb87375fd9a9b86b3aacbcee61b57e1f230a",
                "height": 902445,
                "vin": [
                    {
                        "address": "1QCYSuje1kdkjmzDg4fvXn1QBnYUavSMPZ",
                        "value": 295986
                    }
                ],
                "vout": [
                    {
                        "address": "1F54HCQeogRVCX2JREFP4HXq7dQ9xpX6m2",
                        "value": 100000
                    },
                    {
                        "address": "1QCYSuje1kdkjmzDg4fvXn1QBnYUavSMPZ",
                        "value": 195906
                    }
                ],
                "fee": 80,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "e6a20147a8c74c25679c0347bcbe2ed54e4e56268a6dc53f7a62385106dd4112",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7388746
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7387866
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "2d631af66aed766d1e4dc651fc744e59537b4b492cad398efff14c5cc78b5600",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7387866
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7386986
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "2e21baacadf91265dc7e88ead72aaf9fd554bbbba34c7f4bdc4e900da99f3a4d",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "1F54HCQeogRVCX2JREFP4HXq7dQ9xpX6m2",
                        "value": 100000
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "1F54HCQeogRVCX2JREFP4HXq7dQ9xpX6m2",
                        "value": 100175
                    }
                ],
                "fee": 325,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "daed7de1e130acf93f9221682685dd48f4799ad3b8df08e5b901546d7dd3e427",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 653183882248
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 10000
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 653137241579
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 46500677
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "1Fa6Uy64Ub4qNdB896zX2pNMx4a8zMhtCy",
                        "value": 139992
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 9008
                    }
                ],
                "fee": 992,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "8c570c1720425515c8ff337dcb4168171969ee1f049e827cc4782a0817a58e38",
                "height": 902445,
                "vin": [
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 46500677
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 9008
                    }
                ],
                "vout": [
                    {
                        "address": "1F54HCQeogRVCX2JREFP4HXq7dQ9xpX6m2",
                        "value": 46508685
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 920
                    }
                ],
                "fee": 80,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "abee32b2554755d86d68ba3c5768f99b2e256192789170c2892c8492a558197f",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7386986
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7386106
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            }
        ]
    }
}

URL Parameters

ParameterDescription
hashBlock hash.
startStarting position or offset (integer).
endEnding position or offset (integer).

Get Block TX by Height

This endpoint retrieves the block txs of a given block height.

HTTP Request

GET https://api.turingbitchain.io/api/tbc/txbyblockheight/height/{height}/start/{start}/end/{end}

Example Request

shell
curl --location --request GET 'https://api.turingbitchain.io/api/tbc/txbyblockheight/height/902445/start/0/end/10'

Example Response

json
{
    "code": "200",
    "message": "OK",
    "data": {
        "coinbase_txid": "73f4a248e76673ea4964fd54481f130cbd31614903667e01bab7d374282c89fb",
        "coinbase":"-�\rG0E!����\r��BT���|�B$�s�w����ۈ� |=�›��O�Z�\u000b�a�I�Ӿ�8Au\b��}�",
        "txs": [
            {
                "hash": "73f4a248e76673ea4964fd54481f130cbd31614903667e01bab7d374282c89fb",
                "height": 902445,
                "vin": [
                    {
                        "address": "coinbase",
                        "value": 0
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 109378063
                    },
                    {
                        "address": "16QPoVW1aKeg7ixny5wgNHccyS1NMAn5uh",
                        "value": 203130690
                    }
                ],
                "fee": 0,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "df907245270b0a8e8510a2c42d505db42f7d98fca67e20faf5e75638f5b0ec3f",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7390506
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7389626
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "0989a91d242d4587009f69c7f788afce016143d81670faa63191d04e14be5eb0",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7389626
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7388746
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "522b6188df1f4bccc9c3b277ff9dbb87375fd9a9b86b3aacbcee61b57e1f230a",
                "height": 902445,
                "vin": [
                    {
                        "address": "1QCYSuje1kdkjmzDg4fvXn1QBnYUavSMPZ",
                        "value": 295986
                    }
                ],
                "vout": [
                    {
                        "address": "1F54HCQeogRVCX2JREFP4HXq7dQ9xpX6m2",
                        "value": 100000
                    },
                    {
                        "address": "1QCYSuje1kdkjmzDg4fvXn1QBnYUavSMPZ",
                        "value": 195906
                    }
                ],
                "fee": 80,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "e6a20147a8c74c25679c0347bcbe2ed54e4e56268a6dc53f7a62385106dd4112",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7388746
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7387866
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "2d631af66aed766d1e4dc651fc744e59537b4b492cad398efff14c5cc78b5600",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7387866
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7386986
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "2e21baacadf91265dc7e88ead72aaf9fd554bbbba34c7f4bdc4e900da99f3a4d",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "1F54HCQeogRVCX2JREFP4HXq7dQ9xpX6m2",
                        "value": 100000
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "1F54HCQeogRVCX2JREFP4HXq7dQ9xpX6m2",
                        "value": 100175
                    }
                ],
                "fee": 325,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "daed7de1e130acf93f9221682685dd48f4799ad3b8df08e5b901546d7dd3e427",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 653183882248
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 10000
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 653137241579
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 46500677
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "1Fa6Uy64Ub4qNdB896zX2pNMx4a8zMhtCy",
                        "value": 139992
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 9008
                    }
                ],
                "fee": 992,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "8c570c1720425515c8ff337dcb4168171969ee1f049e827cc4782a0817a58e38",
                "height": 902445,
                "vin": [
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 46500677
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 9008
                    }
                ],
                "vout": [
                    {
                        "address": "1F54HCQeogRVCX2JREFP4HXq7dQ9xpX6m2",
                        "value": 46508685
                    },
                    {
                        "address": "1A43vLjwyfxVrZq72XQcLmnoA4CD1SMR3c",
                        "value": 920
                    }
                ],
                "fee": 80,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            },
            {
                "hash": "abee32b2554755d86d68ba3c5768f99b2e256192789170c2892c8492a558197f",
                "height": 902445,
                "vin": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7386986
                    }
                ],
                "vout": [
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "",
                        "value": 500
                    },
                    {
                        "address": "",
                        "value": 0
                    },
                    {
                        "address": "19DGzcz5NPtorY2hfp5a4cXJFMi66jwu16",
                        "value": 7386106
                    }
                ],
                "fee": 380,
                "coinday": 0,
                "confirmations": 8157,
                "time": 1753603921
            }
        ]
    }
}

URL Parameters

ParameterDescription
heightBlock height.
startStarting position or offset (integer).
endEnding position or offset (integer).