Staking Guide

Pectra Compatibility

Our node APIs support both 0x01 type and 0x02 type validators depending on your needs. You can choose to stake either 0x02 type validators or 0x01 type validators through our Luganodes’ Node Provisioning APIs by setting the compounding parameter to true or false while calling the Provision Request API. Additonally, clients can set the amountPerValidator based on their requirements and it is set to 32 when compounding is set to false

Staking ETH:

To stake ETH, follow these steps using Luganodes’ Node Provisioning APIs:

  1. Initiate the provision of nodes by calling the Provision Request API. The API triggers the creation of nodes by Luganodes in the background.

  2. Retrieve unsigned transaction objects, specifically depositInput, by calling the Get Delegation Objects API. Use depositInput as transaction data to execute the deposit transaction on the Ethereum staking contract (ETH Staking Contract Address: 0x00000000219ab540356cBB839Cbe05303d7705Fa).

  3. Post deposit, allow approximately 15 hours for the protocol to verify details and queue your validators for activation.

  4. To check your validators’ status, use the Get Delegation Objects API.

Refer to the sequence diagram below for a detailed guide on using Node Provisioning APIs:

Exiting an Ethereum Validator:

Via Intent

  1. Call the Exit API with a signed challenge to initiate the validator exit. Refer to the Exit API documentation.

  2. After exiting, use the Get Delegation Objects API to check the status of your validators.

Via Withdrawal Address

  1. Partial withdrawals are triggered via the execution layer through the validators withdrawal address. This withdrawal is only possible for validators with 0x02 type withdrawal credentials.

  2. Call the Partial Exit API to receive an unsigned transaction which needs to be signed with your validator withdrawal address and broadcasted to the network.

EL Exit Contract (Mainnet)

To be added

EL Exit Contract (Hoodi)

0x00000961ef480eb55e80d19ad83579a64c007002 NOTE: An audited version of the contract will be available soon

  1. After exiting, use the Get Validator and Provision ID API to check the status of your validators

Last updated