Skip to main content
The Database API provides read-only access to blockchain state including accounts, witnesses, and global properties. Use these endpoints to query information without modifying the blockchain.

find_accounts

Find detailed information about one or more accounts.

Parameters

string[]
required
Array of account names to retrieve
boolean
Whether to include delayed votes information

Response

ApiAccount[]
Array of account objects

get_dynamic_global_properties

Get current global blockchain properties including block height, supply, and witness information.

Parameters

This endpoint takes no parameters.

Response

number
Current head block number
string
Current head block ID
string
Current blockchain time
string
Name of current block producer
string | number
Total proof of work
NaiAsset
Virtual HIVE supply
NaiAsset
Current HIVE supply
NaiAsset
Current HBD supply
NaiAsset
Total HIVE in vesting fund
NaiAsset
Total vesting shares (VESTS)
number
Current HBD interest rate in basis points
number
Current HBD print rate
number
Maximum block size in bytes
number
Last irreversible block number
number
Witness participation count

find_witnesses

Find information about one or more witnesses.

Parameters

string[]
required
Array of witness account names
boolean
required
Whether to include delayed votes information

Response

ApiWitness[]
Array of witness objects with signing key, properties, and voting information

get_witness_schedule

Get the current witness schedule and median properties.

Parameters

This endpoint takes no parameters.

Response

string[]
Array of current witness account names in shuffled order
number
Number of scheduled witnesses
object
Median witness properties
string
Majority hardfork version

verify_authority

Verify that a transaction has the required authority signatures.

Parameters

ApiTransaction
required
The transaction to verify
TTransactionPackType
required
Transaction pack type (e.g., “hf26”)

Response

boolean
Whether the transaction has valid authority