Expand description
§Bittensor Types
Core type definitions for the Bittensor SDK including:
Hotkey: SS58-formatted Bittensor hotkey addressesBalance: TAO/RAO balance representation with arithmetic- Identity types:
ValidatorUid,MinerUid
Structs§
- Balance
- Balance representation for Bittensor tokens
- Hotkey
- Bittensor hotkey identifier in SS58 format
- Miner
Uid - Bittensor miner unique identifier (u16)
- Validator
Uid - Bittensor validator unique identifier (u16)
Constants§
- RAO_
PER_ TAO - Number of RAO per TAO (10^9)
Functions§
- account_
id_ to_ hotkey - Convert an AccountId to a Hotkey
- hotkey_
to_ account_ id - Convert a Hotkey to an AccountId
- rao_
to_ tao - Convert RAO to TAO
- tao_
to_ rao - Convert TAO to RAO