Updated on 2023-12-06 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}'