Queries
crowdloan-contributors
Contributors and amounts for a crowdloan, with amounts in TAO.
Category: Leases & crowdloans
Parameters
| Parameter | Type | Description |
|---|---|---|
crowdloan_id | integer | Id of the crowdloan whose contributors to list. |
CLI
btcli query crowdloan-contributors --crowdloan-id <integer> --jsonPython
Namespace method (autocomplete, signature help):
import bittensor as bt
sub = bt.Subtensor()
result = sub.leasing.crowdloan_contributors(crowdloan_id=1)Or dispatch by name, as an agent would:
result = sub.read("crowdloan_contributors", crowdloan_id=1)Async is the same surface awaited: async with bt.Subtensor() as client:.
On-chain implementation
- Storage
Crowdloan.Contributions
Every file is browsable under /code exactly as built into the runtime.