Remove Validator
Learn how to remove a validator from an Avalanche L1.
Remove a Validator from an Avalanche L1
avalanche blockchain removeValidator <blockchainName>
Choose the Network
Choose the network where the validator is registered.
? Choose a network for the operation:
▸ Local Network
Devnet
Fuji Testnet
Mainnet
Choose P-Chain fee payer
Choose the key to pay for the transaction fees on the P-Chain.
? Which key should be used to pay for transaction fees on P-Chain?:
▸ Use stored key
Use ledger
Enter Node-ID of the Validator to Remove
Enter the Node-ID of the validator you want to remove.
✗ What is the NodeID of the node you want to remove as a blockchain validator?:
You can find the NodeID in the node's configuration file or the console when first started with avalanchego.
An example of a NodeID is NodeID-7Xhw2mDxuDS44j42TCB6U5579esbSt3Lg
Confirm the removal
Validator manager owner 0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC pays for the initialization of the validator's removal (Blockchain gas token)
RPC Endpoint: http://127.0.0.1:9652/ext/bc/2qmU6w47Mp7D7fGhbRuZm6Z1Nn6FZXZAxKpaeTMFiRQW9CBErh/rpc
Forcing removal of NodeID-7cQrriPWGXa5yuJGZUgsxxwH9j4T8pPkY as it is a PoS bootstrap validator
Using validationID: 228zzCgDmAmuaJDGnFkFgnVqbbJPRF7qF1Xpd3dhtqGDhMjJK2 for nodeID: NodeID-7cQrriPWGXa5yuJGZUgsxxwH9j4T8pPkY
ValidationID: 228zzCgDmAmuaJDGnFkFgnVqbbJPRF7qF1Xpd3dhtqGDhMjJK2
SetSubnetValidatorWeightTX fee: 0.000078836 AVAX
SetSubnetValidatorWeightTx ID: 2FUimPZ37DscPJiQDLrtKtumER3LNr48MJi6VR2jGXkYEKpCaq
✓ Validator successfully removed from the Subnet
Proof of Authority Networks
If the network is a Proof of Authority network, the validator must be removed from the network by the Validator Manager owner.
Proof of Stake Networks
If the network is a Proof of Stake network, the validator must be removed by the initial staker. Rewards will be distributed to the validator after the removal. It is important to note that the initial PoS Validator set are treated as bootstrap validators and are not elgible for rewards.
Is this guide helpful?