Parse Transaction(s)

Parse individual Solana transactions.

Enhanced Transaction API V1 won't be updated while we work on V2.

The max number of transactions you can pass in to this endpoint is 100. We only parse NFT actions, Jupiter swaps, and SPL related transactions so far. Do not rely on these parsers for DeFi or non-NFT, Jupiter, and SPL transactions.

v0/transactions

Returns an array of enriched, human-readable transactions of the given transaction signatures. For a full list of Transaction Types and Sources, please see Transaction Types.

Mainnet URL: https://api.helius.xyz/v0/transactions Devnet URL: https://api-devnet.helius.xyz/v0/transactions

Code Samples

parseTransaction.js
const url = "https://api.helius.xyz/v0/transactions/?api-key=<your-key>";

const parseTransaction = async () => {
  const response = await fetch(url, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      transactions: ["your-txn-id-here"],
    }),
  });

  const data = await response.json();
  console.log("parsed transaction: ", data);
};

parseTransaction();

Last updated