Apibara test options

CLI options

Notice: for an always up-to-date list of CLI options, you can run apibara test --help.

Options

--name, -n

Set the name of the snapshot.

--override, -o

Regenerate the snapshot if it already exists.

--num-batches, -b

Number of blocks to stream to generate the test dataset.

--starting-block, -s

Override the indexer's starting block.

--stream-url

Override the indexer's stream url.

Snapshot options

You can specify test-specific options by updating the testOptions property inside a snapshot.

Options

floatingPointDecimals

The number of decimal places used when comparing two numbers in the snapshot.

Last modified
Apibara

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.

© 2024 GNC Labs Limited. All rights reserved.