Solana Transaction API avatar

Solana Transaction API

Try for free

Pay $0.50 for 1,000 results

Go to Store
Solana Transaction API

Solana Transaction API

websift/solana-transaction-api
Try for free

Pay $0.50 for 1,000 results

Fetch comprehensive Solana transaction details with the Solana Transaction API. Retrieve token transfers, fees, DEX interactions, and more in a single request. Supports up to 10 transactions per query with real-time insights. Perfect for developers, traders, and analysts.

A powerful actor for retrieving detailed transaction information from the Solana blockchain. This actor allows you to fetch comprehensive transaction data for multiple Solana transactions in a single request.

Features

  • Fetch detailed transaction data from the Solana blockchain
  • Support for multiple transactions (up to 10) in a single request
  • Comprehensive transaction information including

Example Input

The actor accepts input in JSON format with the following structure:

1{
2    "transaction": [
3        "transaction_signature_1",
4        "transaction_signature_2",
5        ...
6    ]
7}

Important Notes

  • Maximum of 10 transaction signatures per request
  • Transaction signatures must be valid Solana transaction hashes

Output

The actor outputs detailed transaction information for each provided signature. Each transaction output includes:

  • Transaction ID and Solscan link
  • SOL and token balance changes
  • Detailed token information for all tokens involved
  • Transaction fees and computational costs
  • Transaction status and confirmation details
  • Timestamp and date information
  • DEX information
  • Account signers
  • Block information
  • Final transaction logs

Example Output

1[
2    {
3        "txn_id": "...", // Transaction signature
4        "txn_link": "https://solscan.io/tx/...",
5        "sol_balance_change": [
6            {
7                "address": "...",
8                "pre_balance": 233341175,
9                "post_balance": 4147932,
10                "change_amount": -229193243
11            },
12        ],
13        "token_balance_change": [
14            {
15                "address": "...",
16                "decimals": 9,
17                "change_amount": "91897675202",
18                "post_balance": "91897675202",
19                "pre_balance": 0,
20                "token_address": "23CTZMjEYNNZUE4itfn3iv6kgM4xn7X7dx1kVX1Gr8Xi",
21                "owner": "...",
22            }
23        ],
24        "tokens_involved": [
25            {
26                "token_address": "23CTZMjEYNNZUE4itfn3iv6kgM4xn7X7dx1kVX1Gr8Xi",
27                "token_name": "We Love Tits",
28                "token_symbol": "TITS",
29                "token_icon": "https://bafkreicf3guwowdmyrfwob5ikf4o4x2zlqzqtn7mckhb5p2bvpqq2dpgju.ipfs.nftstorage.link",
30                "token_decimals": 9,
31                "token_type": "token",
32                "price_usdt": 0.01141266
33            },
34            {
35                "token_address": "So11111111111111111111111111111111111111112",
36                "token_name": "Wrapped SOL",
37                "token_symbol": "SOL",
38                "token_icon": "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/So11111111111111111111111111111111111111112/logo.png",
39                "token_decimals": 9,
40                "token_type": "token",
41                "price_usdt": 212.77
42            },
43            {
44                "token_address": "So11111111111111111111111111111111111111111",
45                "token_decimals": 9,
46                "token_name": "SOL",
47                "token_symbol": "SOL",
48                "token_type": "token",
49                "token_icon": "https://statics.solscan.io/solscan-img/solana_icon.svg",
50                "price_usdt": 212.77
51            }
52        ]
53        "fee": 5000,
54        "priority_fee": 0,
55        "total_fee": 200000,
56        "tx_status": "finalized",
57        "confirmations": 32,
58        "txn_date": "2024-02-02 15:30:45",
59        "txn_timestamp": 1706891445,
60        "dex": {
61            "tag_id": "raydium",
62            "tag_name": "Raydium",
63            "tag_type": 1,
64            "tag_metadata": {
65                "icon": "https://statics.solscan.io/ex-img/5quBtoiQqxF9Jv6KYKctB59NT3gtJD2Y65kdnB1Uev3h.png",
66                "website": "https://raydium.io/"
67            }
68        },
69        "account_signers": ["..."],
70        "block_id": 12345678,
71        "recent_blockhash": "AotEM1wvDMcxGDJJXNYMiyndWZ9kNKfdL3z3vbSc4mZU"
72        "final_log": "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success"
73    }
74]

Limitations

  • Only processes up to 10 transactions per run to ensure reliable performance
  • Some tokens might have missing data fields marked as "N/A" if not available on

Error Handling

The actor provides clear error messages for common issues:

  • Invalid input format
  • Exceeding maximum transaction limit
  • Failed transaction fetches

Support

For issues, feature requests, or questions about this actor, please create an issue.

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 1 bookmark

  • >99% runs succeeded

  • Created in Feb 2025

  • Modified 21 days ago