# Polygon

S*napshots are taken automatically every 1 week.*

<table><thead><tr><th width="164">Node</th><th width="183">Type</th><th>Type</th><th width="205.3828125">Mode</th><th width="231">Age</th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td>h<strong>eimdall</strong></td><td>mainnet</td><td>amoy</td><td>full / pruned</td><td>26-05-10</td><td></td><td></td></tr><tr><td>bor</td><td>mainnet</td><td>amoy</td><td>archive / full / stateless</td><td>26-05-10</td><td></td><td></td></tr><tr><td>erigon</td><td>mainnet</td><td>amoy</td><td>minimal</td><td>26-05-10</td><td></td><td></td></tr></tbody></table>

Install zstd if needed

```bash
sudo apt install zstd
```

Download the file and extract

```bash
curl -L https://raw.githubusercontent.com/Stakepool-node/snapshot/refs/heads/main/snapshot.sh | bash -s -- <node> <type> <mode>
```

Download manual:

If you prefer to download files directly using the raw URLs.\
\
List all available snapshots:

```bash
curl -s https://snap.stakepool.work/snapshots-stakepool/list_snapshots.txt | \
awk '{print "https://snap.stakepool.work/snapshots-stakepool/" $4}'
```

Example direct download:

```bash
aria2c -x8 -s8 -c "URL"
```

or:

```bash
wget -c  "URL"
```


---

# 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.stakepool.dev.br/polygon/snapshots/polygon.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.
