transactions
List transactions info
Changed onReturns a paginated list of transactions. Supports filtering by status, message type, time range, and block height. Pass messages=true to include message details in each result.
get/tx
Request
- Base URLapi-mainnet.celenium.io (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header apikey
Query parameters
limitinteger
Count of requested entities
offsetinteger
Offset
sort'asc' | 'desc'
Sort order
statusstring[]
Comma-separated status list
msg_typestring[]
Comma-separated message types list
excluded_msg_typestring[]
Comma-separated message types list which should be excluded
frominteger
Time from in unix timestamp
tointeger
Time to in unix timestamp
heightinteger
Block number
messagesboolean
If true join messages
cursorinteger
Last entity id which is used for cursor pagination
Response
OK
Example response
[
{
"codespace": "sdk",
"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": [
{
"height": 100,
"id": 321,
"position": 2,
"size": 2,
"time": "2023-07-04T03:10:57+00:00",
"tx_id": 11
}
],
"messages_count": 1,
"position": 11,
"signers": [
{
"celestials": {
"image_url": "https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC",
"name": "name",
"primary": true,
"status": "VERIFIED"
},
"hash": "celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60"
}
],
"time": "2023-07-04T03:10:57+00:00"
}
]Changes
- info
added the new optional
queryrequest parametercursor
- info
- info
endpoint added
- info