Parse Transaction(s)

Parse individual Solana transactions.

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

Endpoints

  • Mainnet https://api.helius.xyz/v0/transactions

  • Devnet – https://api-devnet.helius.xyz/v0/transactions

Parse Transaction(s)

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. The maximum number of transactions you can pass into this endpoint is 100.

We only parse NFT actions, Jupiter swaps, and SPL-related transactions. Do not rely on these parsers for DeFi or non-NFT, Jupiter, and SPL transactions.

Code Example

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