Skip to main content
POST
/
v1
/
{network}
/
{apikey}
curl --request POST \
  --url https://api.henlo-winnie.dev/v1/{network}/{apikey} \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "params": [],
  "id": 1
}
'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x4b7"
}

Path Parameters

network
enum<string>
default:mainnet
required

The blockchain network to use

Available options:
mainnet,
testnet
apikey
string
required

Your API key for authentication

Body

application/json

JSON-RPC Request

jsonrpc
enum<string>
default:2.0
required

JSON-RPC Version

Available options:
2.0
method
enum<string>
required

JSON-RPC method to call

Available options:
web3_clientVersion,
web3_sha3,
net_version,
net_listening,
net_peerCount,
eth_protocolVersion,
eth_syncing,
eth_coinbase,
eth_mining,
eth_hashrate,
eth_gasPrice,
eth_accounts,
eth_blockNumber,
eth_getBalance,
eth_getStorageAt,
eth_getTransactionCount,
eth_getBlockTransactionCountByHash,
eth_getBlockTransactionCountByNumber,
eth_getUncleCountByBlockHash,
eth_getUncleCountByBlockNumber,
eth_getCode,
eth_sign,
eth_sendTransaction,
eth_sendRawTransaction,
eth_call,
eth_estimateGas,
eth_getBlockByHash,
eth_getBlockByNumber,
eth_getTransactionByHash,
eth_getTransactionByBlockHashAndIndex,
eth_getTransactionByBlockNumberAndIndex,
eth_getTransactionReceipt,
eth_getUncleByBlockHashAndIndex,
eth_getUncleByBlockNumberAndIndex,
eth_getLogs,
eth_newFilter,
eth_newBlockFilter,
eth_newPendingTransactionFilter,
eth_uninstallFilter,
eth_getFilterChanges,
eth_getFilterLogs,
eth_pendingTransactions,
eth_feeHistory,
eth_maxPriorityFeePerGas,
debug_traceTransaction,
debug_traceCall,
debug_traceBlockByNumber,
debug_traceBlockByHash
id
default:1
required

Request identifier

params
string[]

Method parameters

Response

Successful JSON-RPC response

  • Option 1
  • Option 2
jsonrpc
enum<string>
required

JSON-RPC Version

Available options:
2.0
result
any
required

Request result

id
required

Request identifier