Lp position
lp_positionYour position in the APEX/XNT pool on XDEX (or another token/XNT pool): LP balance, the XNT and tokens it is worth at tradeable reserves, and your share of the pool. Also the live price, trade fee and depth. Read from chain.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>"
},
"name": "lp_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Token mint address, or APEX (default). | |
| wallet | Yes | Your X1 wallet public key. |