curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionCount",
"params": [
"0xFC1286EeddF81d6955eDAd5C8D99B8Aa32F3D2AA",
"latest"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1a"
}
Returns the number of transactions sent from an address (the nonce).
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionCount",
"params": [
"0xFC1286EeddF81d6955eDAd5C8D99B8Aa32F3D2AA",
"latest"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1a"
}
address
(string, required) — The 20-byte account addressblock
(string, required) — Block identifier: "latest"
(only the latest block is supported on Hyperliquid)"latest"
block parameter is supported for this method. The "pending"
state is not supported on the default RPC.Successful response with the transaction count
The response is of type object
.