Updated on 2024-11-14 GMT+08:00

net_version

Introduction

This API returns the current version of the network. It consumes 1 CU.

Parameter Description

This method does not accept any parameters.

Return Value

The current network version.

Request

curl https://your-http-endpoint/v1/<API-KEY> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"net_version","params": [],"id":1}'