Get the network target block time

Retrieves the target block times for mainnet and testnet.

GET

/extended/v1/info/network_block_times

Retrieves the target block times for mainnet and testnet. The block time is hardcoded and will change throughout the implementation phases of testnet.

Parameters

No parameters.

Status codeDescription
200Success
Terminal
curl -L \
  "https://api.mainnet.hiro.so/extended/v1/info/network_block_times" \
  -H 'Accept: application/json'

GET request that returns network target block times

Example response
{
  "mainnet": {
    "target_block_time": 0
  },
  "testnet": {
    "target_block_time": 0
  }
}