Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.snapshot.box/llms.txt

Use this file to discover all available pages before exploring further.

No, it’s not needed.
Yes, we do. Please create report on the respective repository as showed below:
Yes. You can use https://testnet.snapshot.org with an ENS domain on Goerli Testnet.
We use IPFS to pin the receipts of the votes. You can have a more detailed look at the IPFS article.
Have a look at our documentation: webhooks
Yes you can, however we encourage everyone to apply for a key to ensure a continuous access to the service as the limits for the keyless access are much lower than with an API Key.Learn more here: api-keys
Head to api-keys to apply for a key and generate it for your own usage.
If you have filled in the API Request Key Form please have some patience and wait for our direct response to the contact you provided in it.If you haven’t filled in the form yet then please do so and we will reach out to you shortly.You can find more details about the process here: api-keys
Yes. Currently you can send 120 requests per every 20 seconds.After September 12th the limits will be updated:🔓 No API Key: 100 requests per minute.🔑 With the API Key: 2 million requests per month.\Learn how to apply and generate your API Key here: api-keys
Yes, same as for Hub API. When it comes to snapshot.js, refer to #utils in Snapshot.js documentation. Make sure to generate your API Key to get higher usage limits. One key can be used for all API services and limits are counted individually per service.

Snapshot.js

There is a high chance that something is missing in the proposal’s payload. Make sure you are following the proposal schema defined here → https://github.com/snapshot-labs/snapshot.js/blob/master/src/schemas/proposal.json
Make sure that you’re following the vote schema defined here → https://github.com/snapshot-labs/snapshot.js/blob/master/src/schemas/vote.json.A common mistake is using a wrong type (string instead of object) or extending a limit of a value (i.e. reason ).
No. If you are interested in building it, reach out to the team on the #developer channel!
Have a look at our documentation here: #create-or-edit-a-space

Adding a network

Follow our documentation to learn all the steps to add a new network to Snapshot: #add-a-new-network
You can send a request to the node and try to fetch the genesis block:
$ curl -H "content-type: application/json" -X POST --data '{"id":0,"jsonrpc":"2.0","method":"eth_getBalance","params":["<CONTRACT_HASH>","0x1"]}' <RPC_URL>
If you get a correct response without any errors, the Node is a Full Archive.

Creating voting strategies

You can browse through the existing staking strategies →https://snapshot.org/#/?type=strategies&q=stake.If none of them work for you, have a look at the options below.
  • In order to use the staking contract it has to have a balanceOf method which allows reading the balance of the staked tokens. You can use the erc20-balance-of strategy with it.
  • If your contract has a method getting the balance named differently, you can also use the contract-call strategy.
It usually takes around 72 hours so please have some patience. Once the PR is merged, you will also have to wait for a new release of the repository which can take another couple of days.
Yes. If it’s not supported yet you can create a custom voting strategy to enable delegation on your network. You can see an example here →https://snapshot.org/#/strategy/orbs-network-delegationTo learn more have a look at our documentation: voting-strategy
Most probably you are missing the delegationSpace parameter. Make sure to provide the ENS domain of the space you are testing.
If it doesn’t exist yet, you can create a new voting strategy. Have a look at our documentation to learn more: voting-strategy