Skip to main content
Solana Pulse AI Agent Gateway turns raw transaction logs into structured, human-readable summaries. Instead of parsing RPC logMessages yourself, you send a signature and receive a category (Swap, MemeCoin, or Transfer), a one-line summary, and key details your agent can use in prompts or decision logic.
1

Obtain a transaction signature

Find the signature you want to decode. You can get one from:
  • A wallet history call to /api/solana/transactions
  • Solana Explorer or Solscan
  • Your own application logs
A signature looks like this:
2

Call the decode endpoint

Send the signature to /api/solana/decode-tx with your API key. You can request mainnet-beta (default) or devnet.
3

Interpret the response

The gateway returns a structured breakdown you can feed directly into an LLM prompt.
Key fields for agents:
string
required
One of Swap, MemeCoin, or Transfer. Use this to branch agent logic.
string
required
A one-line human-readable description of what happened.
string
required
A pre-formatted sentence combining category, summary, and status. Ideal for dropping into a prompt template.
string
required
SUCCESS or FAILED. Check this before acting on the transaction.
4

Use in an agent prompt

Feed the decoded result into your agent context:

Category reference

The gateway detects categories from program logs:

Swap

Jupiter, Raydium, or other DEX aggregator interactions.

MemeCoin

Pump.fun mints or swaps. Flagged for higher risk review.

Transfer

Native SOL or SPL token transfers between wallets.

Error handling

Result

You can now turn any Solana signature into a structured, LLM-ready summary in a single API call. Use category to route agent behavior, summary for user-facing explanations, and llm_context for prompt injection.

Next steps