get
/v4/analytics/transactions/{chainId}
Get states by transaction hashes (V2)Retrieves position states associated with the given transaction hashes from the V2 position_states table. Returns enriched state data including protocol, action, and token metadata derived from state descriptions.
Path parameters
chainIdnumber | stringrequired
Query parameters
txHashesstringrequired
positionKeyFilterstringtimestampsstringResponses
200Response for status 200
Schema
object
dataobject[]required
stateTypeenumpositionglobalblockNumbernumberblockTimestampnumberchainIdnumberstoringIdstringpositionKeystringpositionGranularityKeystringownerstringprotocolstringactionstringidentifierstringstateanytxHashesstring[]totalCountnumberrequired
Total number of states foundExample
{
"data": [
{
"stateType": "position",
"blockNumber": 0,
"blockTimestamp": 0,
"chainId": 0,
"storingId": "string",
"positionKey": "string",
"positionGranularityKey": "string",
"owner": "string",
"protocol": "string",
"action": "string",
"identifier": "string",
"state": null,
"txHashes": [
"string"
]
}
],
"totalCount": 0
}get
https://analytics.merkl.xyz/v4/analytics/transactions/{chainId}curl -X GET "https://analytics.merkl.xyz/v4/analytics/transactions/{chainId}"Fill the required path parameter chainId to send.