Blockchain Inspection
Blockchain Inspection
get_block
Returns info about a specified block.
num
: height of the block to retrieve
get_account_count
Returns the number of accounts registered on the blockchain.
The number of registered accounts
get_global_properties
Returns the block chain’s slowly-changing settings.
This object contains all of the properties of the blockchain that are fixed or that change only once per maintenance interval (daily) such as the current list of witnesses, committee_members, block interval, etc.
See get_dynamic_global_properties()
for frequently changing properties.
The global properties.
get_dynamic_global_properties
Returns the block chain’s rapidly-changing properties. The returned object contains information that changes every block interval such as the head block number, the next witness, etc.See
get_global_properties()
for less-frequently changing properties
The dynamic global properties.
get_object
Returns the blockchain object corresponding to the given id.
This generic function can be used to retrieve any object from the blockchain that is assigned an ID. Certain types of objects have specialized convenience functions to return their objects e.g., assets have get_asset()
, accounts have get_account()
, but this function will work for any object.
id
: the id of the object to return.
Last updated