Skip to main content
GET
/
api
/
agent
/
positions
A wallet's stake positions
curl --request GET \
  --url https://staking.x402layer.cc/api/agent/positions
{
  "wallet": "<string>",
  "positions": [
    {
      "amount": 123,
      "stakedAt": 123,
      "unlockAt": 123,
      "cooldownEndsAt": 123,
      "claimableUnlock": true,
      "rewardsOwedUsdc": 123,
      "rewardsOwedSgl": 123,
      "valueUsd": 123
    }
  ],
  "totals": {
    "stakedSgl": 123,
    "stakedValueUsd": 123,
    "claimableUsdc": 123,
    "claimableSgl": 123,
    "positionCount": 123
  }
}

Query Parameters

wallet
string
required

Solana wallet address (base58).

Response

Positions

wallet
string
positions
object[]
totals
object