Create stake

Create stake on Aero

Base
Base

Acts onchain

Stakes AERO in the Aero voting escrow for a chosen number of weeks and receives the stake in the wallet. The wallet approves the escrow and calls createStake itself, since the escrow mints the new stake to msg.sender; the stake ends on the weekly epoch boundary the length reaches, at most 208 weeks out. The new stake's id is returned. Reach for it to turn AERO into voting power, coiling the stake id into vote in the same plug.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Aero · 10