Queries

crowdloan-contributors

Contributors and amounts for a crowdloan, with amounts in TAO.

View as Markdown

Category: Leases & crowdloans

Parameters

ParameterTypeDescription
crowdloan_idintegerId of the crowdloan whose contributors to list.

CLI

btcli query crowdloan-contributors --crowdloan-id <integer> --json

Python

import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("crowdloan_contributors", crowdloan_id=1)