Network Given Block Time

Retrieves the target block time for a given network.

GET

/extended/v1/info/network_block_time/{network}

Retrieves the target block time for a given network. The network can be mainnet or testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.

Path Parameters

network
Required
string

the target block time for a given network (testnet, mainnet).

Example: "mainnet"Value in: "testnet" | "mainnet"
Status codeDescription
200Success
Terminal
curl -L \
  "https://api.mainnet.hiro.so/extended/v1/info/network_block_time/mainnet" \
  -H 'Accept: application/json'

GET request that target block time for a given network

Example Response
{
  "target_block_time": 0
}

Last updated on