Skip to main content
GET
/
pools
/
{address}
/
transactions
Recent Transactions
curl --request GET \
  --url https://api.hadron.fi/pools/{address}/transactions
{
  "data": [
    {
      "signature": "XK7Cu5FSNkBP55ZMXLcMv1ZVUTB2cYCVrngtWHWf7ci8L3XjuVgnw1FwNQa7vsVNZ2QrHdwGVHkQqboLENp4Qj2",
      "timestamp": 1773239503,
      "slot": 405713326,
      "ix_index": 0,
      "instruction_type": "UpdateDeltaStaleness",
      "success": true,
      "error": null
    },
    {
      "signature": "5ZVLukBf3HfmT7d9Emte1fobjhtHsjps5TXtNZboTK3di76NbVUxHsLDFuzcnyhnjYLNnVdJajKg9k5NJCs9CLCi",
      "timestamp": 1773239448,
      "slot": 405713180,
      "ix_index": 0,
      "instruction_type": "SwapExactIn",
      "success": true,
      "error": null
    }
  ],
  "next_cursor": "eyJpZCI6ImozZDd4a203...",
  "has_more": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.hadron.fi/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

address
string
required
The pool config PDA address.

Query Parameters

limit
integer
default:"50"
Page size — number of transactions to return per request. Maximum 200.
cursor
string
Opaque pagination cursor. Omit on the first request; on subsequent requests, pass the next_cursor value from the previous response to fetch the next page. When the server returns next_cursor: null (equivalently has_more: false), you have reached the end of the pool’s history.
instruction_type
string
Filter by instruction type (e.g. SwapExactIn, Deposit). See the Instruction Types table below for possible values. When set, only transactions matching this type are returned. Pages may contain fewer than limit results.
cluster
string
default:"mainnet-beta"
Solana cluster — mainnet-beta or devnet.

Response

data
array
Array of transaction records on this page, ordered by most recent first.
next_cursor
string | null
Cursor to pass as ?cursor=... on the next request to fetch the following page. null when there are no more transactions (end of history).
has_more
boolean
true if more transactions are available beyond this page, false if this is the last page.

Instruction Types

TypeDescription
InitializePool initialization
DepositLiquidity deposit
WithdrawLiquidity withdrawal
SwapExactInSwap with exact input amount
SetCurvePrice curve update
UpdateMidpriceOracle midprice update
InitializeFeeConfigGlobal fee config initialization
UpdateFeeConfigGlobal fee config update
SetRiskCurveRisk curve update
UpdateBaseSpreadBase spread factor update
UpdateMidpriceAndBaseSpreadCombined midprice and spread update
SwitchPriceCurveSwitch active price curve slot
SwitchRiskCurveSwitch active risk curve slot
InitializeSpreadConfigSpread config initialization
UpdateSpreadConfigSpread config update
UpdateDeltaStalenessDelta staleness parameter update
NominateAuthorityNominate new pool authority
AcceptAuthorityAuthority transfer acceptance
SubmitCurveUpdatesBatch curve update submission
ApplyCurveUpdatesApply pending curve updates
ClosePoolClose and reclaim pool rent
SetPoolStatePool state change (pause/freeze/resume)
AllocateCurvePrefabsAllocate curve prefab storage
SetQuotingAuthoritySet quoting authority
RotateFeeAdminRotate fee admin key
InitializePoolFeeConfigPer-pool fee config initialization
UpdatePoolFeeConfigPer-pool fee config update
{
  "data": [
    {
      "signature": "XK7Cu5FSNkBP55ZMXLcMv1ZVUTB2cYCVrngtWHWf7ci8L3XjuVgnw1FwNQa7vsVNZ2QrHdwGVHkQqboLENp4Qj2",
      "timestamp": 1773239503,
      "slot": 405713326,
      "ix_index": 0,
      "instruction_type": "UpdateDeltaStaleness",
      "success": true,
      "error": null
    },
    {
      "signature": "5ZVLukBf3HfmT7d9Emte1fobjhtHsjps5TXtNZboTK3di76NbVUxHsLDFuzcnyhnjYLNnVdJajKg9k5NJCs9CLCi",
      "timestamp": 1773239448,
      "slot": 405713180,
      "ix_index": 0,
      "instruction_type": "SwapExactIn",
      "success": true,
      "error": null
    }
  ],
  "next_cursor": "eyJpZCI6ImozZDd4a203...",
  "has_more": true
}