Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

pair_params

Enumerate per-pair parameters; paginated.

Signature

def pair_params(
    self,
    *,
    start_after: PairId | None = None,
    limit: int = 30,
) -> dict[PairId, PairParam]

Example

from dango.info import Info
from dango.utils.constants import MAINNET_API_URL
 
info = Info(MAINNET_API_URL, skip_ws=True)
params = info.pair_params()
for pair_id, p in params.items():
    print(pair_id, p["tick_size"])

Parameters

start_afterPairId | None, optional. Cursor for the next page. Default: None (start from the first pair).

limitint, optional. Page size. Default: 30.

Returns

dict[PairId, PairParam] — map of pair id to per-pair parameters, in chain-sorted order.

See also