Celenium API Docs
PlansExplorer
PlansExplorer
  1. Block
  • Introduction
  • Celenium API
    • Address
      • Get addresses
      • Get count of addresses in network
      • Get address info
      • Get blobs pushed by address
      • Get delegations made by address
      • Get grants where address is grantee
      • Get grants made by address
      • Get address messages
      • Get redelegations made by address
      • Get address stats
      • Get address transactions
      • Get undelegations made by address
      • Get vesting for address
    • Namespace
      • List all blobs with filters
      • Get namespace blob by commitment on height
      • Get blob metadata by commitment on height
      • Get namespaces
      • Get namespace info
      • Get namespace info by id and version
      • Get blob metadata for namespace
      • Get namespace messages by id and version
      • List rollups using the namespace
      • Get namespace info by base64
      • Get namespace blobs on height
    • Block
      • Get blocks
        GET
      • Get count of blocks in network
        GET
      • Get block info
        GET
      • List blobs which was pushed in the block
        GET
      • Count of blobs which was pushed in block
        GET
      • Get events from begin and end of block
        GET
      • Get messages contained in the block
        GET
      • ODS for block
        GET
      • Get block stats by height
        GET
    • General
      • Get network constants
      • Get celenium enumerators
      • Get current indexer head
    • Gas
      • Get estimated gas for pay for blob
      • Get estimated gas price
    • Rollup
      • Get rollups
      • Get count of rollups in network
      • Get rollup by slug
      • Get rollup info
      • Get rollup blobs
      • Get rollup distribution
      • Export rollup blobs
      • Get rollup namespaces info
      • Get rollup stats
    • Search
      • Search by hash
    • Stats
      • Get histogram for namespace with precomputed stats
      • Get namespaces with sorting by size.
      • Get current TIA price
      • Get histogram with TIA price
      • Get histogram with precomputed stats
      • Get cumulative histogram with precomputed stats​
      • Get histogram for staking with precomputed stats
      • Get value by table and function
      • Get tps
    • Transactions
      • Get transactions
      • Get count of transactions in network
      • List genesis transactions info
      • Get transaction by hash
      • List blobs which was pushed by transaction
      • Count of blobs which was pushed by transaction
      • Get transaction events
      • Get transaction messages
    • Validator
      • Get validators
      • Get validator's count by status
      • Get validator info
      • Get blocks which was proposed by validator
      • Get validator's delegators
      • Get validator's jails
      • Get validator's uptime and history of signed block
    • Vesting
      • Periods vesting periods by id
    • Websocket
      • Websocket API
  1. Block

Get block info

Mainnet
https://api-mainnet.celenium.io
Mainnet
https://api-mainnet.celenium.io
GET
https://api-mainnet.celenium.io
/v1/block/{height}
block
Last modified:2024-09-28 11:48:05
Get block info

Request

Path Params
height
integer 
required
Block height
>= 1
Example:
10000
Query Params
stats
boolean 
optional
Need join stats for block
Example:
true

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-mainnet.celenium.io/v1/block/10000?stats=true'

Responses

🟢200OK
application/json
Body
app_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
consensus_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
data_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
evidence_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
height
integer 
optional
Example:
100
id
integer 
optional
Example:
321
last_commit_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
last_results_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
message_types
array[string]
optional
Example:
["MsgSend","MsgUnjail"]
next_validators_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
parent_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
proposer
object (responses.ShortValidator) 
optional
cons_address
string 
optional
Example:
E641C7A2C964833E556AEF934FBF166B712874B6
id
integer 
optional
Example:
321
moniker
string 
optional
Example:
Easy 2 Stake
stats
object (responses.BlockStats) 
optional
blobs_count
integer 
optional
Example:
100
blobs_size
integer 
optional
Example:
12354
block_time
integer 
optional
Example:
12354
bytes_in_block
integer 
optional
Example:
1234
commissions
string 
optional
Example:
123133
events_count
integer 
optional
Example:
18
fee
string 
optional
Example:
28347628346
fill_rate
string 
optional
Example:
0.0800
gas_limit
integer 
optional
Example:
1234
gas_used
integer 
optional
Example:
1234
inflation_rate
string 
optional
Example:
0.0800000
rewards
string 
optional
Example:
102102812
square_size
integer 
optional
Example:
16
supply_change
string 
optional
Example:
8635234
tx_count
integer 
optional
Example:
12
time
string 
optional
Example:
2023-07-04T03:10:57+00:00
validators_hash
string 
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
version_app
string 
optional
Example:
1
version_block
string 
optional
Example:
11
Example
{
  "app_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "consensus_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "data_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "evidence_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "height": 100,
  "id": 321,
  "last_commit_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "last_results_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "message_types": [
    "MsgSend",
    "MsgUnjail"
  ],
  "next_validators_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "parent_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "proposer": {
    "cons_address": "E641C7A2C964833E556AEF934FBF166B712874B6",
    "id": 321,
    "moniker": "Easy 2 Stake"
  },
  "stats": {
    "blobs_count": 100,
    "blobs_size": 12354,
    "block_time": 12354,
    "bytes_in_block": 1234,
    "commissions": "123133",
    "events_count": 18,
    "fee": "28347628346",
    "fill_rate": "0.0800",
    "gas_limit": 1234,
    "gas_used": 1234,
    "inflation_rate": "0.0800000",
    "rewards": "102102812",
    "square_size": 16,
    "supply_change": "8635234",
    "tx_count": 12
  },
  "time": "2023-07-04T03:10:57+00:00",
  "validators_hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "version_app": "1",
  "version_block": "11"
}
🟢204No Content
🟠400Bad Request
🔴500Internal Server Error
Modified at 2024-09-28 11:48:05
Previous
Get count of blocks in network
Next
List blobs which was pushed in the block
Built with