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 code | Description |
---|---|
200 | Success |
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
{
"mainnet": {
"target_block_time": 0
},
"testnet": {
"target_block_time": 0
}
}