Aerodrome Stake LP
Stakes LP tokens in an Aerodrome gauge to earn AERO emissions on Base. Handles LP token approval to gauge automatically. Use aerodrome-get-lp-positions to find pools with gauges. Ideal for: yield farming, emission harvesting, DeFi automation.
Catalog action EVM Onchain wallet Gas send
Stakes LP tokens in an Aerodrome gauge to earn AERO emissions on Base. Handles LP token approval to gauge automatically. Use aerodrome-get-lp-positions to find pools with gauges. Ideal for: yield farming, emission harvesting, DeFi automation.
This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.
At a Glance
| Field | Value |
|---|---|
| Action ID | aerodrome-stake-lp |
| Category | EVM Onchain |
| Connector | wallet |
| Requires gas | Yes |
| Funds movement | send |
| Tags | defi, staking, base, onchain, write |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
chainId | number | Yes | Chain ID. Supported: Base (8453) |
poolAddress | string | Yes | Address of the Aerodrome LP pool |
amount | string | Yes | Amount of LP tokens to stake in raw units |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
transactionHash | string | Yes | - |
poolAddress | string | No | - |
gaugeAddress | string | Yes | - |
amount | string | No | - |
Examples
json{ "type": "aerodrome-stake-lp", "payload": { "chainId": 8453, "poolAddress": "0x0000000000000000000000000000000000000000", "amount": "1000000" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/aerodrome-stake-lp/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "chainId": 8453, "poolAddress": "0x0000000000000000000000000000000000000000", "amount": "1000000" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
