# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fetchoracle.com/optional-configs/claim-tip-script-env-config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
