Get a given network's target 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 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
}