For the complete documentation index, see llms.txt. This page is also available as Markdown.

🚲Pool Transaction API

Returns recent swap transactions from specified PiperX pool addresses. > Supports real-time monitoring of on-chain trading activity for analytics and debugging.

Overview Use this endpoint to fetch recent swap transactions from specified pools. This is helpful for analyzing trading activity and user behavior in real time.


Endpoint

[GET] https://piperxdb.piperxprotocol.workers.dev/api/piperxapi/recentSwaps


Request Body

{
  "pairAddresses": [
    "0x4a170A20Dd1ff838C99d49Ac18b517a339206E83"
  ]
}

Example Request

curl -X POST \
  -H "Content-Type: application/json" \
  -d '{"pairAddresses": ["0x4a170A20Dd1ff838C99d49Ac18b517a339206E83"]}' \
  https://piperxdb.piperxprotocol.workers.dev/api/piperxapi/recentSwaps

Example Response

amountUSD has 6 decimals.

Last updated