Transaction Callbacks
Get notified about on-chain transactions in real-time, parsed and summarized.
Last updated
Was this helpful?
Get notified about on-chain transactions in real-time, parsed and summarized.
Last updated
Was this helpful?
for a Merkle tree indexer using Transaction Callbacks.
To create powerful event-driven systems, you need to be able to monitor transactions happening on a blockchain in real-time. You can set up transaction callbacks to watch specific addresses, and whenever a transaction occurs on those addresses, you'll receive a notification to your backend through a POST request. You can also setup filters for different types of transactions you want to be notified about, such as NFT sales, token transfers, NFT burns, and more.
The best part is that when you receive these callbacks, they come with structured information about the transaction, including its type and detailed data, so you don't need to make additional requests to the blockchain. This makes it easier to build applications that react to specific blockchain activities.
You can create callbacks programmatically through our APIs, Postman or Swagger UI.
There are 3 major parts in the response structure
events: It is an array of parsed anchor events containing data and name of events emitted in the transaction. These are automatically parsed if an IDL is provided.
raw: This is the standard Solana jsonParsed transaction
You can check out different transactions on Translator and see their response structures and understand better.
actions: The most important section. An array containing structured information about the transaction. it contains type, source_protocol and info. The main action summary is present under info and will differ based on the transaction type. You can check various actions and their response structures .