Skip to main content
POST
net_version
Tempo API method that returns the current network ID. The Tempo mainnet network ID is 4217. The Moderato testnet network ID is 42431.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • none

Response

  • result — the network ID as a string (4217 for Tempo mainnet, 42431 for Moderato testnet)

net_version code examples

Body

application/json
jsonrpc
string
default:2.0
method
string
default:net_version
params
any[]
id
integer
default:1

Response

200 - application/json

The network ID

jsonrpc
string
id
integer
result
string

The network ID (42431 for Tempo Moderato testnet)

Last modified on June 25, 2026