| title | timestamp |
|---|---|
| description | Current chain time (from the Timestamp pallet) and the block it was read at. |
{/* GENERATED by scripts/generate.py from the SDK registries — do not edit. */}
Category: Chain
This read takes no parameters.
btcli query timestamp --jsonNamespace method (autocomplete, signature help):
import bittensor as bt
sub = bt.Subtensor()
result = sub.chain.timestamp()Or dispatch by name, as an agent would:
result = sub.read("timestamp")Async is the same surface awaited: async with bt.Subtensor() as client:.