> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

![Aerodrome Get LP Positions logo](https://aerodrome.finance/images/AERO/logo-512.png)
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

**Workflow node**

```json
{
  "type": "aerodrome-get-lp-positions",
  "payload": {
    "chainId": 8453,
    "walletAddress": "0x0000000000000000000000000000000000000000"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -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"
  }
}'
```

**Use expressions for dynamic values**

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.