Fetcher

Start And Stop Data Collection

If you are not an Orakl Network Data Feed Operator, you do not need to read the explanation on this page.

The Orakl Network CLI provides commands to

The Orakl Network Fetcher is used to regularly collect data based on the definitions in adapter. Collected and aggregated data are available to the Orakl Network Data Feed.

List Active Fetchers

The Orakl Network Fetcher can show the list of active Fetchers with fetcher active command.

orakl-cli fetcher active \
    --host ${host} \
    --port ${port}
  • example

orakl-cli fetcher active --host http://127.0.0.1 --port 5050

Start Single Data Feed Collection

The Orakl Network Fetcher can start an immediate data collection for a registered aggregator with fetcher start command. An aggregator can be registered under multiple chains so we need to specify the appropriate chain through the --chain parameter as well.

orakl-cli fetcher start \
    --id ${aggregatorhash} \
    --chain ${chainName} \
    --host ${host} \
    --port ${port}
  • example

orakl-cli fetcher start --id 0x12 --chain baobab --host http://127.0.0.1 --port 3030

Stop Single Data Feed Collection

Data collection performed by the Orakl Network Fetcher can be stopped with fetcher stop command.

orakl-cli fetcher stop \
    --id ${aggregatorhash} \
    --chain ${chainName} \
    --host ${host} \
    --port ${port}
  • example

orakl-cli fetcher stop --id 0x12 --chain baobab --host http://127.0.0.1 --port 3030

Last updated