Skip to content
pipeMARKET

Decode and simulate

Livesolana-rpc.pipedev.network

Simulate a transaction with its CPI call tree and balance changes, decode accounts and transactions with Anchor IDLs, and compact transactions with lookup tables.

Price
$0.00155 – $0.001625 per request
Pay with
x402 pay per request30-day plan
Network
Solana mainnet
Calls
7 endpoints

Ways to pay

Pay per request

$0.00155 – $0.001625a request, in USDC on Solana

  1. Send the request to Pipe Market’s gateway. It answers 402 Payment Required with the price, the USDC mint and the wallet to pay.
  2. Your x402 client signs a USDC transfer for that amount.
  3. It sends the request again with the payment in the PAYMENT-SIGNATURE header. The gateway settles it on Solana mainnet and returns the answer.

No account, no API key and no SOL: Pipe pays the network fee. The price includes $0.0015 for settling the payment. Paying by the request is switched off right now; a plan’s key reaches this service.

Set up an agent wallet

30-day plan

Or pay once for 30 days: a key from any of these plans reaches it. Plans are prepaid with Pipe credit.

  • Solana RPC Pay-As-You-Go$20 / 30 days
  • Solana RPC Builder$39 / 30 days
  • Solana RPC Growth$119 / 30 days
  • Solana RPC Scale$279 / 30 days
Compare plans

Get started

A first request

Paid by the request, with the script from the agent setup page. It shows the price and asks before it pays.

node pay.mjs \
  "https://pipe.network/api/market/v1/call/v2/programs/JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4/analytics"

Or straight to the service, with a key from an RPC plan.

curl -fsS -H "Authorization: Bearer $PIPE_API_KEY" \
  "https://solana-rpc.pipedev.network/v2/programs/JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4/analytics"

A prompt for your agent

Paste it into your agent’s chat; it loads the Pipe Market skill and this service’s details.

Use the Pipe Market skill: https://pipe.network/market/SKILL.md

Call Decode and simulate from Pipe Network on Solana mainnet.
Details: https://pipe.network/api/market/v1/services/decode-and-simulate
Endpoint: GET https://pipe.network/api/market/v1/call/v2/programs/JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4/analytics
Payment: x402, $0.00155 – $0.001625 per request in USDC on Solana, taken by Pipe Market's gateway. A key from a Pipe RPC plan works too.
Confirm the maximum USDC spend with me before paying for anything.

Endpoints 7

Served from https://solana-rpc.pipedev.network with a key. Paid by the request at https://pipe.network/api/market/v1/call, on the same path. Each price is for one request and includes the settlement fee; the services’ own quotes were read on November 25, 2026.

Endpoints of Decode and simulate
EndpointWhat it doesPer request
GET/v2/decode/account/<pubkey>Decode any on-chain account using its cached or on-chain Anchor IDL$0.00155
GET/v2/decode/tx/<signature>Decode transaction instructions and events using Anchor IDLs$0.00155
GET/v2/idl/<program>Fetch cached or on-chain Anchor IDL JSONNot sold by the request
POST/v2/idl/<program>Cache a custom Anchor or Codama IDL JSONNot sold by the request
GET/v2/programs/<program>/analyticsRecent call counts, CU usage, and instruction breakdown for a program$0.00155
POST/v2/simulatePre-execution simulation with nested CPI call tree, balance diffs, and stateOverrides$0.001625
POST/v2/tx/compactGreedy ALT set-cover compaction into smaller v0 wire transactions$0.00155

A value in angle brackets is part of the path and is required. The service does not describe these endpoints’ query parameters or JSON bodies in a form software can read. Anything not shown is checked when you call: a wrong or missing parameter is answered 400 with the reason, and a request that is refused is not charged.

Good to know

  • Simulation with state overrides before you send
  • Cached or on-chain Anchor and Codama IDLs
  • Per-program call counts and compute-unit use

Questions agents ask

Does Decode and simulate need an API key?

Not when you pay by the request: x402 needs no account and no key. The other way to pay is an RPC plan, which gives you a key.

What does it settle in?

USDC on Solana mainnet, paid by the request or as prepaid Pipe credit.

What if a payment is not accepted?

The gateway answers 402 again and says why in error. A payment that is not accepted is never sent to the chain, so nothing is taken. A request that reads is charged only when the service answers it.

Does the paying wallet need SOL?

No. It needs USDC only. The gateway pays the Solana network fee for every payment and covers it with the settlement fee included in the price.

How fresh is the data?

It comes from Pipe’s own execution of Solana mainnet, with no fallback to another provider. If the node is catching up, a request says so with an error rather than answering from stale state.

More in Solana RPC

  • x402 pay per request30-day plan

    Solana JSON-RPC

    Mainnet JSON-RPC over HTTPS: the standard Solana methods, the Digital Asset Standard API, ZK compression, Jito bundles and Pipe’s own trading and analytics methods, from one endpoint.

    $0.001525per request

  • x402 pay per request30-day plan

    Fast transaction sending

    Low-latency transaction submission and Jito bundles, with tip accounts, live tip floors and bundle status.

    $0.001525 – $0.00175per request

  • x402 pay per request30-day plan

    Enhanced transactions and webhooks

    Parsed, readable transaction history for an address or a batch of signatures, and webhooks that deliver matching transactions as they land.

    $0.00155per request

  • x402 pay per request30-day plan

    Parsed events

    Parsed events for transactions and address history, from Pipe’s own retained execution at confirmed or finalized commitment.

    $0.001525per request