Skip to main content

/extended/v1/info/network_block_time/{network} REST API Endpoint

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.

Updated on
Oct 4, 2023

/extended/v1/info/network_block_time/{network} REST API Endpoint

Path Parameters

network
string
REQUIRED
Which network to retrieve the target block time of. Possible values: "testnet", "mainnet".

Returns

target_block_time
integer
Target block time in integer format.
Request
1
curl -X 'GET' \
2
'https://docs-demo.stacks-mainnet.quiknode.pro/extended/v1/info/network_block_time/mainnet' \
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