Hyperliquid (HyperEVM)
Access the HyperEVM blockchain through JSON-RPC API. HyperEVM is the Ethereum-compatible smart contract layer of Hyperliquid, enabling direct integration with one of the most performant decentralized
Overview
HyperEVM is an Ethereum Virtual Machine (EVM) execution layer embedded within Hyperliquid's Layer 1 blockchain. It shares state with HyperCore (the trading engine) and is secured by the same HyperBFT consensus mechanism. This unique architecture allows smart contracts to directly access Hyperliquid's on-chain order books, spot trading, and perpetual markets.
Key Features
EVM Compatibility: Full Ethereum tooling support (Foundry, Hardhat, ethers.js, web3.js)
Unified State: Smart contracts can interact directly with HyperCore trading infrastructure
HyperBFT Consensus: Sub-second finality with high throughput
EIP-1559 Support: Cancun hardfork (without blobs) with base fee mechanism
Native HYPE Token: Gas payments in HYPE with 18 decimals
Fee Burning: Both base fees and priority fees are burned
Supported Network
Mainnet
999
✔
✔
Base URL
https://go.getblock.ushttps://go.getblock.iohttps://go.getblock.asiaAvailable API Methods
Standard Ethereum Methods
eth_blockNumber
Get current block number
-
eth_chainId
Get chain ID
-
eth_gasPrice
Get gas price for next small block
-
eth_getBalance
Get account balance
Latest block only
eth_getBlockByHash
Get block by hash
-
eth_getBlockByNumber
Get block by number
-
eth_getBlockReceipts
Get all receipts in block
-
eth_getBlockTransactionCountByHash
Get tx count by block hash
-
eth_getBlockTransactionCountByNumber
Get tx count by block number
-
eth_getCode
Get contract bytecode
Latest block only
eth_getLogs
Get event logs
Max 4 topics, 50 blocks
eth_getStorageAt
Get storage value
Latest block only
eth_getTransactionByHash
Get transaction by hash
-
eth_getTransactionByBlockHashAndIndex
Get tx by block hash and index
-
eth_getTransactionByBlockNumberAndIndex
Get tx by block number and index
-
eth_getTransactionCount
Get account nonce
Latest block only
eth_getTransactionReceipt
Get transaction receipt
-
eth_call
Execute call without transaction
Latest block only
eth_estimateGas
Estimate gas for transaction
Latest block only
eth_feeHistory
Get historical fee data
-
eth_maxPriorityFeePerGas
Get priority fee suggestion
Always returns 0
eth_syncing
Get sync status
Always returns false
net_version
Get network ID
-
web3_clientVersion
Get client version
-
HyperEVM-Specific Methods
eth_bigBlockGasPrice
Get gas price for next big block
eth_usingBigBlocks
Check if address uses big blocks
eth_getSystemTxsByBlockHash
Get HyperCore system transactions by block hash
eth_getSystemTxsByBlockNumber
Get HyperCore system transactions by block number
Quickstart
In this section, you will learn how to make your first call with either:
Axios
Python
Quickstart with Axios
Before you begin, you must have already installed npm or yarn on your local machine. If not, check out npm or yarn.
Set up your project using this command:
Install Axios using this command:
Create a new file and name it
index.js. This is where you will make your first call.Set the ES module
"type": "module"in yourpackage.json.Add the following code to the file (
index.js):Replace
<ACCESS_TOKEN>with your actual access token from GetBlock.Run the script:
The sequence number and authentication key log in your console like this:
Quickstart with Python and Requests
Before you begin, you must have installed Python and Pip on your local machine.
Set up your project using this command:
Set up a virtual environment to isolate dependencies:
Install the requests library:
Create a new file called
main.pyand insert the following code:Replace
<ACCESS_TOKEN>with your actual access token from GetBlock.Run the script:
Support & Resources
Last updated
Was this helpful?