Aerodrome Remove Liquidity logo

Catalog action EVM Onchain wallet Gas receive

Removes liquidity from an Aerodrome pool on Base. Burns LP tokens to receive the underlying token pair as ERC20 tokens (WETH, not native ETH). Use unwrap-eth after to convert WETH back to native ETH if needed. Handles LP token approval to Router automatically. Use aerodrome-get-lp-positions to discover your LP positions first. Ideal for: exit positions, rebalancing, 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

FieldValue
Action IDaerodrome-remove-liquidity
CategoryEVM Onchain
Connectorwallet
Requires gasYes
Funds movementreceive
Tagsdefi, liquidity, base, onchain, write

Payload Schema

FieldTypeRequiredDescription
chainIdnumberYesChain ID. Supported: Base (8453)
tokenAstringYesFirst token address
tokenBstringYesSecond token address
stablebooleanYesTrue for stable pool, false for volatile
liquiditystringYesAmount of LP tokens to remove in raw units
slippageBpsnumberNoSlippage tolerance in basis points (default: 50 = 0.5%)
deadlineMinutesnumberNoTransaction deadline in minutes from now (default: 20)

Result Schema

FieldTypeRequiredDescription
transactionHashstringYes-
poolAddressstringNo-
liquidityBurnedstringNo-

Examples

json
{ "type": "aerodrome-remove-liquidity", "payload": { "chainId": 8453, "tokenA": "ETH", "tokenB": "ETH", "stable": true, "liquidity": "example-liquidity" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

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.

Ask a question... ⌘I