> For the complete documentation index, see [llms.txt](https://docs.fetchoracle.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fetchoracle.com/optional-configs/claim-tip-script-env-config.md).

# Claim Tip Script ENV Config

{% hint style="info" %}
This page contains a more advanced CLI version of the easier-to-use 'claim tips' section present in the [Fetch Dashboard](https://dashboard-staging.fetchoracle.com/#/).
{% endhint %}

`ACCT_PUBLIC_KEY=0x0000000000000000000000000000000000000000`

The public address of the account you're scanning tips for.

\
`ACCT_PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000000`

The private key of the same account above.

\
REACT\_APP\_DATAFEED\_FLEX\_SUBGRAPH\_BASEURL=[https://graphqlhost/subgraphs/name/fetch-oracle/fetchflex](http://localhost:8000/subgraphs/name/fetch-oracle/fetchflex)

Fetch Flex subgraph URL for the environment you're scanning tips for.

\
REACT\_APP\_DATAFEED\_AUTOPAY\_SUBGRAPH\_BASEURL=[https://graphqlhost](http://localhost:8000/subgraphs/name/fetch-oracle/fetchflex)/[subgraphs/name/fetch-oracle/autopay-pulse](http://localhost:8000/subgraphs/name/fetch-oracle/autopay-pulse)

AutoPay subgraph URL for the environment you're scanning tips for.

\
`AUTOPAY_ADDRESS=0x0000000000000000000000000000000000000000`

Auto Pay contract address for the environment you're scanning tips for.

\
PULSE\_NETWORK\_URL=<https://rpc.v4.testnet.pulsechain.com>

RPC URL for mainnet or testnet, according to the environment you're scanning.

\
`LISTENER_TIMEOUT_DURATION=120 # 120 seconds`

Time out for the tip listener. Can leave as is.

\
`BUFFER_TIME=43200 # 12 hours in seconds`

Buffer time to call the 'claim' function. Leave as is, as 12h is the minimum you need to wait to actually claim an available tip.

\
`REPORT_TIMESTAMP_TIMEOUT=2419200 # 4 weeks in seconds`

You can change this or leave as is, just keep in mind that you have to claim your tips within three months.

If this variable is met, it won't try to submit the 'claim' function when the threshold is set.

If the parameters to claim a tip are not met anyway, you'll just get a revert from the contract.<br>
