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}

Get a given network's target block time

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
/extended/v1/info/network_block_time/{network}

curl -X GET "https://api.hiro.so/extended/v1/info/network_block_time/mainnet"

{
  "target_block_time": 0
}