Celenium API Docs
PlansExplorer
PlansExplorer
  1. Search
  • 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 count of blocks in network
      • Get block info
      • List blobs which was pushed in the block
      • Count of blobs which was pushed in block
      • Get events from begin and end of block
      • Get messages contained in the block
      • ODS for block
      • Get block stats by height
    • 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
        GET
    • 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. Search

Search by hash

Mainnet
https://api-mainnet.celenium.io
Mainnet
https://api-mainnet.celenium.io
GET
https://api-mainnet.celenium.io
/v1/search
search
Last modified:2024-12-11 10:59:20
Endpoint finds entity by hash (block, address, validator, namespace and tx). It returns array of responses.SearchItem entities.

Block#

Block will be found by its hash. Hash example: 652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF.
Hash should be hexadecimal and has a length of 64.

Example response#

{
    "type": "block",
    "result": {
        "id": 1,
        "hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
        // ... rest fields from response.Block type
    }
}

Tx#

Tx will be found by its hash. Hash example: 652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF.
Tx should be hexadecimal and has a length of 64.

Example response#

{
    "type": "tx",
    "result": {
        "id": 1,
        "hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
        // ... rest fields from response.Tx type
    }
}

Address#

The Address will be found by its hash.
Hash example: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60.
Address has prefix celestia and has length 47.
Also, it should be decoded by bech32.

Example response#

{
    "type": "address",
    "result": {
        "id": 1,
        "hash": "celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60",
        "height": 100,
        "balance": "6525472354"
    }
}

Namespace#

Namespace can be found by base64 hash and identity pair version + namespace id.
Hash example: U3dhZ2dlciByb2Nrcw==.
Identity pair example: 014723ce10b187716adfc55ff7e6d9179c226e6b5440b02577cca49d02

Example response#

{
    "type": "namespace",
    "result": {
        "id": 1,
        "hash": "U3dhZ2dlciByb2Nrcw==",
        "version": 1,
        "namespace_id": "4723ce10b187716adfc55ff7e6d9179c226e6b5440b02577cca49d02"
        // ... rest fields from response.Namespace type
    }
}

Validator#

Validator can be found by moniker prefix.
For example: names Node 1 and Node 2 can be found with query string Node

Example response#

{
    "type": "validator",
    "result": {
        "id": 1,
        "moniker": "Node 1",
        // ... rest fields from response.Validator type
    }
}

Rollup#

Rollup can be found by name prefix.
For example: rollup with names Rollup 1 and Rollup 2 can be found with query string Rol

Example response#

{
    "type": "rollup",
    "result": {
        "id": 1,
        "moniker": "Rollup 1",
        // ... rest fields from response.Rollup type
    }
}

Request

Query Params
query
string 
required
Search string
Example:
search-string

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/search?query=search-string'

Responses

🟢200OK
application/json
Body
array of:
result
object 
optional
Search result. Can be one of folowwing types: Block, Address, Namespace, Tx, Validator, Rollup
type
string 
optional
Result type which is in the result. Can be 'block', 'address', 'namespace', 'tx', 'validator', 'rollup'
Example
[
  {
    "result": {},
    "type": "string"
  }
]
🟢204No Content
đźź 400Bad Request
đź”´500Internal Server Error
Modified at 2024-12-11 10:59:20
Previous
Get rollup stats
Next
Get histogram for namespace with precomputed stats
Built with