Celenium API Docs
PlansExplorer
PlansExplorer
  1. Namespace
  • 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
      • Get namespace blob by commitment on height
        POST
      • Get blob metadata by commitment on height
        POST
      • Get namespaces
        GET
      • Get namespace info
        GET
      • Get namespace info by id and version
        GET
      • Get blob metadata for namespace
        GET
      • Get namespace messages by id and version
        GET
      • List rollups using the namespace
        GET
      • Get namespace info by base64
        GET
      • Get namespace blobs on height
        GET
    • 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
    • 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. Namespace

Get namespace messages by id and version

Mainnet
https://api-mainnet.celenium.io
Mainnet
https://api-mainnet.celenium.io
GET
https://api-mainnet.celenium.io
/v1/namespace/{id}/{version}/messages
namespace
Last modified:2024-09-28 11:46:34
Returns namespace messages by version byte and namespace id

Request

Path Params
id
string 
required
Namespace id in hexadecimal
>= 56 characters<= 56 characters
Example:
0000000000000000000000000000000000000000b32b8afff6f3dabb
version
integer 
required
Version of namespace
Example:
0
Query Params
limit
integer 
optional
Count of requested entities
<= 100
Example:
10
offset
integer 
optional
Offset
Example:
0

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/namespace/0000000000000000000000000000000000000000b32b8afff6f3dabb/0/messages?limit=10&offset=0'

Responses

🟢200OK
application/json
Body
array of:
data
object 
optional
Additional properties
integer  | number  | string  | boolean 
optional
height
integer <int64>
optional
Example:
100
id
integer <int64>
optional
Example:
321
namespace
object (responses.Namespace) 
optional
blobs_count
integer 
optional
Example:
10000
hash
string <base64>
optional
Example:
U3dhZ2dlciByb2Nrcw==
id
integer 
optional
Example:
321
last_height
integer <int64>
optional
Example:
100
last_message_time
string <date-time>
optional
Example:
2023-07-04T03:10:57+00:00
name
string <string>
optional
Example:
name
namespace_id
string <binary>
optional
Example:
4723ce10b187716adfc55ff7e6d9179c226e6b5440b02577cca49d02
pfb_count
integer 
optional
Example:
12
reserved
boolean 
optional
Example:
true
size
integer 
optional
Example:
12345
version
integer 
optional
position
integer <int64>
optional
Example:
2
time
string <date-time>
optional
Example:
2023-07-04T03:10:57+00:00
tx
object (responses.Tx) 
optional
codespace
string <string>
optional
Example:
sdk
error
string <string>
optional
Example:
events_count
integer <int64>
optional
Example:
2
fee
string <int64>
optional
Example:
9348
gas_used
integer <int64>
optional
Example:
4253
gas_wanted
integer <int64>
optional
Example:
9348
hash
string <binary>
optional
Example:
652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
height
integer <int64>
optional
Example:
100
id
integer <int64>
optional
Example:
321
memo
string <string>
optional
Example:
Transfer to private account
message_types
array[string]
optional
Allowed values:
MsgUnknownMsgSetWithdrawAddressMsgWithdrawDelegatorRewardMsgWithdrawValidatorCommissionMsgFundCommunityPoolMsgCreateValidatorMsgEditValidatorMsgDelegateMsgBeginRedelegateMsgUndelegateMsgCancelUnbondingDelegationMsgUnjailMsgSendMsgMultiSendMsgCreateVestingAccountMsgCreatePermanentLockedAccountMsgCreatePeriodicVestingAccountMsgPayForBlobsMsgGrantMsgExecMsgRevokeMsgGrantAllowanceMsgRevokeAllowanceMsgRegisterEVMAddressMsgSubmitProposalMsgExecLegacyContentMsgVoteMsgVoteWeightedMsgDepositIBCTransferMsgVerifyInvariantMsgSubmitEvidenceMsgSendNFTMsgCreateGroupMsgUpdateGroupMembersMsgUpdateGroupAdminMsgUpdateGroupMetadataMsgCreateGroupPolicyMsgUpdateGroupPolicyAdminMsgCreateGroupWithPolicyMsgUpdateGroupPolicyDecisionPolicyMsgUpdateGroupPolicyMetadataMsgSubmitProposalGroupMsgWithdrawProposalMsgVoteGroupMsgExecGroupMsgLeaveGroupMsgSoftwareUpgradeMsgCancelUpgradeMsgRegisterInterchainAccountMsgSendTxMsgRegisterPayeeMsgRegisterCounterpartyPayeeMsgPayPacketFeeMsgPayPacketFeeAsyncMsgTransferMsgCreateClientMsgUpdateClientMsgUpgradeClientMsgSubmitMisbehaviourMsgConnectionOpenInitMsgConnectionOpenTryMsgConnectionOpenAckMsgConnectionOpenConfirmMsgChannelOpenInitMsgChannelOpenTryMsgChannelOpenAckMsgChannelOpenConfirmMsgChannelCloseInitMsgChannelCloseConfirmMsgRecvPacketMsgTimeoutMsgTimeoutOnCloseMsgAcknowledgement
Example:
["MsgSend","MsgUnjail"]
messages
array[object (responses.Message) {9}] 
optional
messages_count
integer <int64>
optional
Example:
1
position
integer <int64>
optional
Example:
11
signers
array[object (responses.ShortAddress) {2}] 
optional
status
enum<string> 
optional
Allowed values:
successfailed
Example:
success
time
string <date-time>
optional
Example:
2023-07-04T03:10:57+00:00
timeout_height
integer <int64>
optional
Example:
0
type
enum<string> <string>
optional
Allowed values:
MsgWithdrawValidatorCommissionMsgWithdrawDelegatorRewardMsgEditValidatorMsgBeginRedelegateMsgCreateValidatorMsgDelegateMsgUndelegateMsgUnjailMsgSendMsgCreateVestingAccountMsgCreatePeriodicVestingAccountMsgPayForBlobsMsgGrantAllowance
Example:
MsgCreatePeriodicVestingAccount
Example
[
  {
    "data": {
      "property1": null,
      "property2": null
    },
    "height": 100,
    "id": 321,
    "namespace": {
      "blobs_count": 10000,
      "hash": "U3dhZ2dlciByb2Nrcw==",
      "id": 321,
      "last_height": 100,
      "last_message_time": "2023-07-04T03:10:57+00:00",
      "name": "name",
      "namespace_id": "4723ce10b187716adfc55ff7e6d9179c226e6b5440b02577cca49d02",
      "pfb_count": 12,
      "reserved": true,
      "size": 12345,
      "version": 0
    },
    "position": 2,
    "time": "2023-07-04T03:10:57+00:00",
    "tx": {
      "codespace": "sdk",
      "error": "",
      "events_count": 2,
      "fee": "9348",
      "gas_used": 4253,
      "gas_wanted": 9348,
      "hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
      "height": 100,
      "id": 321,
      "memo": "Transfer to private account",
      "message_types": [
        "MsgSend",
        "MsgUnjail"
      ],
      "messages": [
        {
          "data": {
            "property1": null,
            "property2": null
          },
          "height": 100,
          "id": 321,
          "position": 2,
          "size": 2,
          "time": "2023-07-04T03:10:57+00:00",
          "tx": {},
          "tx_id": 11,
          "type": "MsgUnknown"
        }
      ],
      "messages_count": 1,
      "position": 11,
      "signers": [
        {
          "hash": "celestia15hgtsr3sezr6tl6jsf0afdh3qlgpgq48czxqpw",
          "celestials": {
            "name": "celestials-id",
            "image_url": "https://pub-02b8085711a24a2894773a06b77a13b7.r2.dev/default.png"
          }
        }
      ],
      "status": "success",
      "time": "2023-07-04T03:10:57+00:00",
      "timeout_height": 0
    },
    "type": "MsgWithdrawValidatorCommission"
  }
]
🟢204No Content
🟠400Bad Request
🔴500Internal Server Error
Modified at 2024-09-28 11:46:34
Previous
Get blob metadata for namespace
Next
List rollups using the namespace
Built with