Skip to main content

/extended/v1/info/network_block_times REST API Endpoint

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

Updated on
Oct 4, 2023

/extended/v1/info/network_block_times REST API Endpoint

Parameters

This method does not accept any parameters

Returns

object
object
GET request that returns network target block times
mainnet
object
Information about the mainnet network.
mainnet.target_block_time
integer
The target block time in seconds for the mainnet network.
testnet
object
Information about the testnet network.
testnet.target_block_time
integer
The target block time in seconds for the testnet network.
Request
1
curl -X 'GET' \
2
'https://docs-demo.stacks-mainnet.quiknode.pro/extended/v1/info/network_block_times' \
3
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free