curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "ots_getBlockTransactions",
"params": [
1000,
0,
10
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"txs": [],
"receipts": [],
"firstPage": true,
"lastPage": true
}
}
Get paginated list of transactions in a block on Hyperliquid EVM. Supports pagination for large blocks.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "ots_getBlockTransactions",
"params": [
1000,
0,
10
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"txs": [],
"receipts": [],
"firstPage": true,
"lastPage": true
}
}
ots_getBlockTransactions
JSON-RPC method retrieves paginated transactions for a specific block on the Hyperliquid EVM blockchain. This Otterscan-specific method optimizes data transfer by removing verbose fields like logs and providing pagination support for blocks with many transactions.
fullblock
— the complete block information
number
— block numberhash
— block hashparentHash
— parent block hashtimestamp
— block timestampgasLimit
— block gas limitgasUsed
— total gas usedbaseFeePerGas
— base fee per gasreceipts
— array of transaction receipts (simplified, without logs)
transactionHash
— hash of the transactionstatus
— success status (0x1 for success, 0x0 for failure)cumulativeGasUsed
— cumulative gas used up to this transactiongasUsed
— gas used by this transactioneffectiveGasPrice
— actual gas price paidcontractAddress
— contract address created (if applicable)txs
— array of transactions for the requested page
curl -X POST https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "ots_getBlockTransactions",
"params": [1000, 0, 10],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"fullblock": {
"number": "0x3e8",
"hash": "0xe8399bf41516f5ca663c79bc30db02b4989385c2f3a96f42958dea5753cbf4a9",
"parentHash": "0x7c8f6a0e4d3b2a1c9e5f8b7d4a6c3e9f2b8d5a7c1e4f9b3a6d8c2e5f7a9b4c6d",
"timestamp": "0x6734e8d0",
"gasLimit": "0x1c9c380",
"gasUsed": "0xa410",
"baseFeePerGas": "0x7"
},
"receipts": [
{
"transactionHash": "0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381",
"status": "0x1",
"cumulativeGasUsed": "0x5208",
"gasUsed": "0x5208",
"effectiveGasPrice": "0x3b9aca00",
"contractAddress": null
}
],
"txs": [
{
"hash": "0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381",
"from": "0x1234567890abcdef1234567890abcdef12345678",
"to": "0x5555555555555555555555555555555555555555",
"value": "0xde0b6b3a7640000",
"gas": "0x5208",
"gasPrice": "0x3b9aca00",
"input": "0x",
"nonce": "0x0",
"transactionIndex": "0x0"
}
]
}
}
// Page 0: transactions 0-9
params: [1000, 0, 10]
// Page 1: transactions 10-19
params: [1000, 1, 10]
// Page 2: transactions 20-29
params: [1000, 2, 10]
ots_getBlockTransactions
method is essential for:
Successful response with paginated transaction list
The response is of type object
.