Skip to content

chainabit chain period list ​

Published (2.2.0) ​

This command is not included in Published (2.2.0). It is available in Development (2.2.0).

Development (2.2.0) ​

List chain periods

Synopsis ​

text
chainabit chain period list <chainId> [options]

Arguments ​

ArgumentDescriptionDefault
<chainId>Required.—

Options ​

OptionDescriptionDefault
--limit <n>Results per page—
--cursor <cursor>Continue from a previous page—
--status <status>Status—

Options shared by every command are described in Global options and shared behavior.

Behavior ​

Lists the periods of the chain you name. --status keeps only periods with that status, for example completed.

Returns one page at a time. --limit sets the page size (1 to 50, default 20) and --cursor continues from the previous page. When more results exist, the table ends with a hint such as For the next page, repeat with --cursor 20. An invalid limit or cursor is refused before anything is requested.

Output ​

The table shows the period ID, its start date, its end date and its status. With --json the output has data (the rows) and meta with total, hasNextPage and nextCursor (null on the last page). Each row includes id, chainId, scheduleId, periodStart, periodEnd, status and completedCount.

Authentication and permissions ​

You must be signed in. The server decides whether your account may read this chain.

Examples ​

bash
chainabit chain period list 00000000-0000-4000-8000-000000000001
chainabit chain period list 00000000-0000-4000-8000-000000000001 --status completed --limit 10

Built with purpose. chainabit.com