chainabit chain view voxel
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)
Show activity by time bucket
Synopsis
text
chainabit chain view voxel <chainId> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<chainId> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--from <date> | Period start | — |
--to <date> | Period end | — |
--bucket <size> | Bucket size. Accepted values: day, week. | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Exports the activity of the chain you name grouped by time bucket. --from and --to limit the range and --bucket sets the bucket size to day or week; all three are optional. The command only reads.
Output
Human output shows the series under one heading; use --json for the complete response. With --json the output contains view (voxel) and cells, a series that is empty when nothing falls in the range. Each cell has timeBucket, density, chainCount, bitCount and isVoid.
Authentication and permissions
You must be signed in. The server decides whether your account may read this chain.
Examples
bash
chainabit chain view voxel 00000000-0000-4000-8000-000000000001
chainabit chain view voxel 00000000-0000-4000-8000-000000000001 --from 2032-10-01 --to 2032-10-08 --bucket week --json