Get XDC block by hash

GET {{baseUrl}}/v3/xdc/block/:hash

1 credit per API call.


Get XDC block by block hash or block number.

RESPONSES

status: OK

{"number":6470657,"hash":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc","parentHash":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15","nonce":"0xfa1692f52a7ac672","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","logsBloom":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000","transactionsRoot":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704","stateRoot":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba","receiptsRoot":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704","miner":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B","difficulty":"3296820833","totalDifficulty":"23329673338013873","extraData":"0x","size":15296,"gasLimit":8000000,"gasUsed":7985124,"timestamp":1569600592,"transactions":[{"hash":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7","nonce":26836405,"blockHash":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137","blockNumber":6470854,"transactionIndex":3,"from":"0x81b7E08F65Bdf5648606c89998A9CC8164397647","to":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d","value":"1000000000000000000","gas":21000,"gasPrice":"1000000000","input":"0x","status":true,"gasUsed":21000,"cumulativeGasUsed":314159,"contractAddress":"0x81b7E08F65Bdf5648606c89998A9CC8164397647","logs":[{"address":"0x81b7E08F65Bdf5648606c89998A9CC8164397647","topics":["0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"],"data":"string","logIndex":0,"blockNumber":6470854,"blockHash":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc","transactionIndex":0,"transactionHash":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}],"logsBloom":null,"root":null}],"uncles":["0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"]}