Queries

block-time

Seconds per block, detected from the chain (12.0 mainnet, 0.25 fast-blocks).

View as Markdown

Category: Chain

Parameters

This read takes no parameters.

CLI

btcli query block-time --json

Python

Typed namespace method (autocomplete, signature help):

import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.chain.block_time()

Or dispatch by name, as an agent would:

result = await client.read("block_time")