Aerodrome Add Liquidity logo

Catalog action EVM Onchain wallet Gas send

Adds liquidity to an Aerodrome pool on Base. Supports both stable (sAMM) and volatile (vAMM) pools. Handles token approvals automatically. IMPORTANT: Requires ERC20 tokens, not native ETH. Use wrap-eth first to convert ETH to WETH (0x4200000000000000000000000000000000000006). Use aerodrome-get-lp-positions to check existing positions first. Ideal for: yield farming, liquidity provision, 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-add-liquidity
CategoryEVM Onchain
Connectorwallet
Requires gasYes
Funds movementsend
Tagsdefi, liquidity, base, onchain, write

Payload Schema

FieldTypeRequiredDescription
chainIdnumberYesChain ID. Supported: Base (8453)
tokenAstringYesFirst token address
tokenBstringYesSecond token address
stablebooleanYesTrue for stable (sAMM) pool, false for volatile (vAMM) pool
amountADesiredstringYesDesired amount of tokenA in raw units
amountBDesiredstringYesDesired amount of tokenB in raw units
slippageBpsnumberNoSlippage tolerance in basis points (default: 50 = 0.5%)
deadlineMinutesnumberNoTransaction deadline in minutes from now (default: 20)

Result Schema

FieldTypeRequiredDescription
transactionHashstringYes-
poolAddressstringYes-
stablebooleanNo-

Examples

json
{ "type": "aerodrome-add-liquidity", "payload": { "chainId": 8453, "tokenA": "ETH", "tokenB": "ETH", "stable": true, "amountADesired": "1000000", "amountBDesired": "1000000" }, "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