Aerodrome Get LP Positions
Discovers LP positions for a wallet on Aerodrome Finance (Base). Returns pool details, token amounts, staked/unstaked breakdown, and pending AERO emissions. Use before add/remove liquidity or gauge operations.
Catalog action Blockchain Data
Discovers LP positions for a wallet on Aerodrome Finance (Base). Returns pool details, token amounts, staked/unstaked breakdown, and pending AERO emissions. Use before add/remove liquidity or gauge operations.
At a Glance
| Field | Value |
|---|---|
| Action ID | aerodrome-get-lp-positions |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | defi, liquidity, base, onchain, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
chainId | number | Yes | Chain ID. Supported: Base (8453) |
walletAddress | string | Yes | Wallet address to query LP positions for. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
totalPositions | number | Yes | - |
positions | array | Yes | - |
Examples
json{ "type": "aerodrome-get-lp-positions", "payload": { "chainId": 8453, "walletAddress": "0x0000000000000000000000000000000000000000" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/aerodrome-get-lp-positions/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "chainId": 8453, "walletAddress": "0x0000000000000000000000000000000000000000" }}'
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.
