Beacon related data
View data about a block
GET https://testnet.siro.pichisdns.com:5006/chain/block/<block>
Path Parameters
Name
Type
Description
<block>*
1
the block number of which you want to view the info of
{"result":{"height":1,"messages":"6e756c6c","miningData":{"difficulty":1,"miner":"0x3f119Cef08480751c47a6f59Af1AD2f90b319d44","miningTarget":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","nonce":1,"proof":"0x3852a35b7fe676c8e5719acf90e3b6037e817d6c9b07c5bf2eb16e52f9fe185c"},"parent":"0x5bc433ef89f253a953e6a128f0ff1313e3ddb1f2155a742e8e70b300696fba53","son":"0xf22572c6b871ba8d0c134fee1601b819a8f911d82d1ffafabecd59bbe239e094","timestamp":1642083860,"transactions":[]},"success":true}View data about a block using a block hash
GET https://testnet.siro.pichisdns.com:5006/chain/blockByHash/<blockhash>
Path Parameters
Name
Type
Description
<blockhash>*
0x3852a35b7fe676c8e5719acf90e3b6037e817d6c9b07c5bf2eb16e52f9fe185c
the block hash of which you want to view the info of
{"result":{"height":1,"messages":"6e756c6c","miningData":{"difficulty":1,"miner":"0x3f119Cef08480751c47a6f59Af1AD2f90b319d44","miningTarget":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","nonce":1,"proof":"0x3852a35b7fe676c8e5719acf90e3b6037e817d6c9b07c5bf2eb16e52f9fe185c"},"parent":"0x5bc433ef89f253a953e6a128f0ff1313e3ddb1f2155a742e8e70b300696fba53","son":"0xf22572c6b871ba8d0c134fee1601b819a8f911d82d1ffafabecd59bbe239e094","timestamp":1642083860,"transactions":[]},"success":true}Get info about the last block
GET https://testnet.siro.pichisdns.com:5006/chain/getlastblock
{"result":{"height":3862,"messages":"6e756c6c","miningData":{"difficulty":4798438522.806718,"miner":"0x4baE9F81a30b148Eb40044F6268B5496861Cb313","miningTarget":"0xe523b3ddd866f8000000000000000000000000000000000000000000","nonce":11358707,"proof":"0x000000004833e43e8b70d772870475f7e37f66fae67e8737bb0817eb2c3db79a"},"parent":"0x00000000d23e1c7596122cfeb7ace1c701766a339cf204f77205960d152d5890","son":"","timestamp":1652104682,"transactions":[]},"success":true}Get the difficulty, target and last block hash
GET https://testnet.siro.pichisdns.com:5006/chain/miningInfo
Get the current height of the blockchain
GET https://testnet.siro.pichisdns.com:5006/chain/length
Last updated