Stake AVAX

To become a validator and to start staking on Avalanche requires infrastructure, AVAX, and carefully following some steps

Requirements

1. Requirements

  • Mainnet: A minimum of 2,000 AVAX per validator.

    • The minimum amount of time one can stake funds for validation is 2 weeks.

    • The maximum amount of time one can stake funds for validation is 1 year.

    • The maximum weight of a validator (their own stake + stake delegated to them) is the minimum of 3 million AVAX and 5 times the amount the validator staked. For example, if you staked 2,000 AVAX to become a validator, only 8,000 AVAX can be delegated to your node total (not per delegator).

  • Fuji Testnet: A minimum of 1 AVAX per validator

    • The minimum amount of time one can stake funds for validation is 24 hours

More on the Avalanche Staking docs.

1. Authenticate to the Bloq API

To use the Bloq API, visit authentication.md.

2. Create a new validator node

Create a validator node by calling the BloqStake API with the authentication token.

curl -X POST https://api.bloq.com/staking/avalanche/fuji/validators \
  -H 'Authorization: Bearer <auth-token>' \
  -H 'Content-Type: application/json'

This post call will return a nodeId value. Save it and wait a couple of minutes after creating the validator, then run the following command as follows:

curl -X GET https://api.bloq.com/staking/avalanche/fuji/validators/node-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
  -H 'Authorization: Bearer <auth-token>' \
  -H 'Content-Type: application/json'

The response will include the avalancheNodeId property of the validator and other status information. Take note of this avalancheNodeId value, as you'll need it for the next step.

3. Register and fund the validator on Avalanche Network

WARNING: Note that once you register the validator, there is no way to change the parameters. You can’t remove your stake early or change the stake amount, node ID, or reward address.

To register the validator, with the avalancheNodeId value taken from the previous step, follow one of these guides:

As the validator created needs to catch up with the Avalanche chain, after the deposit transaction is confirmed, it may take some time for the Validator to detect the new staking period.

Last updated