Objects reference

Block

Block object

Name

Type

Description

hash

string

Block hash

height

number

Block number (block height)

lastBlock

string

Last block hash

commitHash

string

Commit hash

time

time string

Time when block is proposed

numTxs

number

Number of transactions in block

gasLimit

number

Block gas limit

gasUsed

number

Gas used by block

rewards

string

Block reward

proposerAddress

string

Address of block proposer

dataHash

string

Hash of transactions in block

logsBloom

number[]

Block's bloom

validatorHash

string

Hash of current validators group

nextValidatorHash

string

Hash of next validators group

appHash

string

hash of state after applying transactions from the previous block

evidenceHash

string

Hash of evidence in case validators group violate consensus

txs

object[]

List of transactions in block

receipts

object[]

List of transaction receipts

Block header object

Same as Block object but without txs and receipts field

Transaction

Transaction payload

Name

Type

Description

data

string

Transaction data

receiver

string

Address of receiver. Alias: to

amount

number

Transaction amount. Alias: value

nonce

number

Transaction nonce

gasPrice

number

Transaction's gas price.

gas

number

Transaction's gas limit. Alias: gasLimit

data

string

Transaction data in hex.

Transaction object

Name

Type

Description

blockHash

string

Hash of block containing the transaction

blockNumber

number

Height of block containing the transaction

time

time string

Time when block is proposed

from

string

Sender address

gas

number

Gas limit of transaction

gasPrice

number

Gas price of transaction

hash

string

Transaction hash

input

string

Data if transaction is a smart contract invocation

nonce

number

Transaction nonce

to

string

Receiver address

transactionIndex

number

Transaction index inside block

value

string

Transaction's amount

logsBloom

number[]

Transaction's bloom

Transaction receipt object

Name

Type

Description

blockHash

string

Hash of block containing the submitted transaction

blockHeight

number

Height of block containing the submitted transaction

from

string

Address of sender

gasUsed

number

Amount of gas used to execute the transaction

cumulativeGasUsed

number

Total gas used by all transactions in block

transactionHash

string

Transaction hash

to

string

Address of receiver

transactionIndex

number

Index of transaction in block

logs

object[]

Transaction's logs

logsBloom

number[]

Transaction's logs bloom

contractAddress

string

Smart contract address of transaction's interaction (if any)

root

string

Transaction intermediate state root

status

number

Transaction status. 1 if transaction is executed successfully, otherwise 0.

Validator

Name

Type

Description

name

string

Validator name

address

string

Address of validator's owner

smcAddress

string

Validator smart contract address

stakedAmount

string

Total staked amount in HYDRO

commissionRate

string

Validator's commission rate

totalDelegators

number

Number of validator's delegators

maxRate

string

Validator's max commission rate

maxChangeRate

string

Validator's max change commission rate

jailed

boolean

Indicate if validator is jailed or not

delegationShares

string

Total shares of delegators

accumulatedCommission

string

Current accumulated commission (in HYDRO) for delegators

ubdEntryCount

string

Information of an unbonding entry

updateTime

UNIX timestamp

Last updated time

status

number

Validator status

unbondingTime

number

Minimum waiting time required to withdraw unbonding amount.

unbondingHeight

number

Minimum block height required to withdraw unbonding amount.

signingInfo

object

delegators

object[]

List of delegators. (only available when withDelegators is true)

delegators[].address

string

Delegator's address

delegators[].stakedAmount

string

Delegator's staked amount

delegators[].reward

string

Delegator's reward

Log

Name

Type

Description

logIndex

number

Index position in the block. null when it's a pending log

transactionIndex

number

Transactions index position log was created from. null when it's a pending log.

transactionHash

string

Hash of the transactions this log was created from. null when it's a pending log.

blockHash

string

Hash of the block where this log was in. null when it's a pending log.

blockNumber

number

Block number where this log was in. null when it's a pending log.

address

string

Address from which this log originated.

data

string

Contains one or more 32 Bytes non-indexed arguments of the log.

topics

string[]

Array of 0 to 4 32-bytes data of indexed log arguments

removed

boolean

true when the log was removed, due to a chain reorganization. false if it's a valid log.

Last updated