Blockchain height
GET/blockchain/height
Get the height of the last tendermint block
Request
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
chainId Network chain id from which the block comes from
hash Last block hash
height uint64
spamPowDifficulty int64
spamPowHashFunction Supported proof of work hash function
spamPowIncreasingDifficulty Boolean indicating whether increasing difficulty is allowed for using the
same height for more than `spam_pow_number_of_past_blocks` transactions
spamPowNumberOfPastBlocks int64
spamPowNumberOfTxPerBlock int64
{
"chainId": "string",
"hash": "string",
"height": "string",
"spamPowDifficulty": 0,
"spamPowHashFunction": "string",
"spamPowIncreasingDifficulty": true,
"spamPowNumberOfPastBlocks": 0,
"spamPowNumberOfTxPerBlock": 0
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...