Queries
crowdloan
A crowdloan's state (creator, deposit, raised, cap, end, target/call), or None.
Amounts are TAO; end is the block number at which contributions close.
Category: Leases & crowdloans
Parameters
| Parameter | Type | Description |
|---|---|---|
crowdloan_id | integer | Id of the crowdloan to look up. |
CLI
btcli query crowdloan --crowdloan-id <integer> --jsonPython
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.read("crowdloan", crowdloan_id=1)