Transactions

List Transactions

Changed on

List transactions by reference ID.

get/v1/transactions

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/transactions
  • Auth
    HTTP basic

Query parameters

reference_idstring required

Developer-provided reference ID to filter transactions by.

Headers

privy-app-idstring required

ID of your Privy app.

Response

List of transactions matching the reference ID.

Example response

{
  "transactions": [
    {
      "id": "cm7oxq1el000e11o8iwp7d0d0",
      "wallet_id": "fmfdj6yqly31huorjqzq38zc",
      "status": "confirmed",
      "transaction_hash": "0x2446f1fd773fbb9f080e674b60c6a033c7ed7427b8b9413cf28a2a4a6da9b56c",
      "caip2": "eip155:8453",
      "created_at": 1631573050000
    }
  ]
}

Changes

    • info

      added the optional property // to the response with the status

    • breaking

      for the query request parameter reference_id, the minLength was increased from 0 to 1

    • warning

      for the query request parameter reference_id, the maxLength was set to 64