BlockPI Network
Search
⌃
K
BlockPI Network
Search
⌃
K
Intro
Welcome to BlockPI
Glossary
Guides for Web 3.0 users
🚀
How to Use BlockPI
⚒
Account Abstraction (ERC-4337)
Documentations
📖
API Reference
BlockPI
Ethereum
eth_chainId
eth_syncing
eth_getBlockByNumber
eth_getBlockByHash
eth_getBlockReceipts
eth_blockNumber
eth_gasPrice
eth_getBalance
eth_sendRawTransaction
eth_getTransactionByHash
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
eth_getTransactionReceipt
eth_getTransactionCount
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
eth_getLogs
eth_getCode
eth_call
eth_accounts
eth_getStorageAt
eth_estimateGas
eth_newFilter
eth_newBlockFilter
eth_newPendingTransactionFilter
eth_getFilterChanges
eth_signTransaction
eth_uninstallFilter
eth_subscribe
eth_unsubscribe
net_version
net_listening
net_peerCount
web3_clientVersion
web3_sha3
txpool_status
txpool_content
debug_traceCall
debug_traceBlockByHash
debug_traceBlockByNumber
debug_traceTransaction
trace_block
trace_call
trace_get
trace_filter
trace_transaction
trace_replayTransaction
Polygon
Klaytn
BSC
Aptos
Arbitrum
OP
Scroll
Gnosis
Avalanche
Fantom
Cronos
Oasys
Cosmos Hub
ZetaChain
ZetaChain-evm
Meter
Base
zkSync Era
Linea
Viction (Formerly TomoChain)
Taiko
X1
🔑
Ticket
📐
Request Unit (RU)
💰
Pricing
⏰
Auto-Scaling & Pay As You Go
Supports and community
For Operators
Twitter
Telegram
Medium
Discord
E-mail
Powered By
GitBook
Comment on page
net_version
Returns the current network id.
Parameters:
None
Returns:
String
- The current network id.
Example:
// Request
curl https://ethereum.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":83}'
// Result
{
"jsonrpc": "2.0",
"id": 83,
"result": "1"
}
Previous
eth_unsubscribe
Next
net_listening
Last modified
1yr ago