Distribute
Othentic CLI enables distributing rewards to the AVS Operators.
Read More
You can choose one of these options:
1. Eigen Rewards V2
Prerequisites
Access to AVS governance multisig owner
Unpause Eigen Payments Flow
By default, Eigen Payments rewards distribution is paused. Unpause Eigen Payments by running the following command:
otcli network unpause-flowPass --browser-sign flag to connect your wallet and sign using a web browser UI.
When prompted
enter the private key of AVS governance multisig
select > Eigen Payments.
enter Attestation center contract address
If you have already unpaused, Skip this step.
Calculate Required Amount to Deposit and Rewards Batch Parameters
This step calculates time range for EigenLayer Rewards Request Submission. It automatically determines the optimal startTimestamp, duration, fromOperatorId, and toOperatorId for each reward batch.
It also calculates the total amount of tokens the AVS needs to deposit to fund the rewards. It considers factors like retroactive reward limits, reward duration, and the total number of operators.
otcli network rewards calc-eigen-rewards-paramsPass --browser-sign flag to connect your wallet and sign using a web browser UI.
When prompted enter the private key of the AVS Governance Multisig.
If the AVS was deployed prior to this update, the cli will prompt for the AVS deployment block number.
Review Output
The command will output:
A series of pre-filled commands for submitting the EigenLayer rewards requests using
othentic-cli network rewards eigen-batch-request, each with batch-specific parameters.A summary of reward economics, including:
Operation cost
Current treasury balance
Total amount required to deposit for distribution across all batches (in both raw units and notional token value)
This helps the AVS determine the exact amount of tokens it needs to deposit for executing the reward distribution.
Example
otcli network rewards calc-eigen-rewards-params
? Enter your private key: *****************************
use for batch number 1: othentic-cli network rewards eigen-batch-request \
--startTimestamp 1729728000 --duration 6048000 \
--fromOperatorId 1 --toOperatorId 3
use for batch number 2: othentic-cli network rewards eigen-batch-request \
--startTimestamp 1735776000 --duration 6048000 \
--fromOperatorId 1 --toOperatorId 3
use for batch number 3: othentic-cli network rewards eigen-batch-request \
--startTimestamp 1741824000 --duration 1814400 \
--fromOperatorId 1 --toOperatorId 3
Operation cost: 200000000000000000000
Current treasury balance: 900000000000000000000
Total rewards to deposit for AVS operation: 199100000000000000000 (notional amount: 199.1)
💬 Copy and paste each
eigen-batch-requestcommand into your terminal and run them one by one to complete this step.
EigenLayer Batch Request
This command submits the actual request for EigenLayer rewards. It is is designed to handle large numbers of operators by breaking down the request into manageable batches. Before running the command please ensure
This command should be called on a Weekly basis.
otcli network rewards eigen-batch-request [options]Pass --browser-sign flag to connect your wallet and sign using a web browser UI.
Example
Submit an EigenLayer rewards request for operators 1 to 10, starting from timestamp 1672531200 for a duration of 604800 seconds (one week):
otcli network rewards eigen-batch-request \
--startTimestamp 1672531200 --duration 604800 \
--fromOperatorId 1 --toOperatorId 10Important Considerations for AVSs:
Optimal Calling Times: EigenLayer requires calling rewards functions with rounded parameters where both
startTimestampanddurationmust be multiples ofONE_WEEKtime. The duration can be 1, 2, or up to max 10 weeks. Since rewards accumulate continuously and not per epoch, it's advised to check optimal calling times, which are slightly after the end of the each epoch.

Designated Claimers: Earners can set designated claimer addresses on the
RewardsCoordinatorcontract. If not configured, the Earner address can claim their earnings.
2. Batch Reward Distribution
Prerequisites
Othentic CLI installed (Install instructions)
Access to AVS governance multisig owner
Unpause Batch Payments Flow
By default, Batch Payments request flow is paused. Unpause BATCH_PAYMENT_REQUEST_FLOW by running the following command:
otcli network unpause-flowWhen prompted
enter the private key of AVS governance multisig
select > Batch Payments.
If already unpaused, skip this step.
Request Batch Payment
Execute requestBatchPayment method on the Attestation Center contract. This method can only be called by the AVS governance MultiSig or PAYMENT_REQUESTS role.
3. Fixed Rewards
Execute createEigenRewardsSubmission method on the AVS Governance contract. This method can only be called by the AVS governance MultiSig address.
Last updated