Aerodrome Unstake LP
Unstakes LP tokens from an Aerodrome gauge on Base. Returns LP tokens to your wallet. Use aerodrome-get-lp-positions to check staked balances. Ideal for: exiting yield farms, rebalancing positions, DeFi automation.
Catalog action EVM Onchain wallet Gas receive
Unstakes LP tokens from an Aerodrome gauge on Base. Returns LP tokens to your wallet. Use aerodrome-get-lp-positions to check staked balances. Ideal for: exiting yield farms, rebalancing positions, 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-unstake-lp |
| Category | EVM Onchain |
| Connector | wallet |
| Requires gas | Yes |
| Funds movement | receive |
| 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 unstake 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-unstake-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-unstake-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.
