83trust / 100

Solana Priority Fee

by Oblique Markets in Onchain & crypto

x402 APIPassing, checked 7 min ago

Use when a Solana-side agent needs the current network state before sending a transaction, as often as it likes. Returns the current slot, block height and block time (unix and ISO) plus a prioritization-fee summary (min, median, p75, max in microlamports per compute unit, slots sampled, suggested fee = p75) from the public RPC, optionally scoped to up to five writable accounts. $0.002 per call via x402 on Solana or Base, or MPP on Tempo; no accounts.

GET https://api.oblique.markets/api/v1/paid/solana-priority-fee

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
188 ms typical, 188 ms slowest 5%
Last check
7 min ago
Next check
in 26 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.oblique.markets/api/v1/paid/solana-priority-fee?accounts=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.oblique.markets%2Fapi%2Fv1%2Fpaid%2Fsolana-priority-fee
const res = await pay("https://api.oblique.markets/api/v1/paid/solana-priority-fee?accounts=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v");
console.log(await res.json());

Example input

{
  "accounts": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
}

Example output

{
  "block_height": 423288514,
  "block_time": "2026-09-07T22:01:05.000Z",
  "block_time_unix": 1788818465,
  "chain": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
  "commitment": "confirmed",
  "freshness": {
    "cache": "miss",
    "cache_age_seconds": 0,
    "served_at": "2026-09-07T22:01:06.418Z",
    "ttl_seconds": 8
  },
  "priority_fee": {
    "accounts": [],
    "basis": "p75 of per-slot minimum prioritization fees over the sampled slots",
    "max": 200000,
    "median": 1,
    "min": 0,
    "p75": 2500,
    "scope": "network",
    "slot_range": {
      "from": 445131058,
      "to": 445131207
    },
    "slots_sampled": 150,
    "suggested_priority_fee": 2500,
    "unit": "microlamports_per_compute_unit",
    "zero_fee_slots": 61
  },
  "receipt": {
    "payer": "AisyQi7zL7cR3q6sftsv7aVAcLGKb5PR23u3nwwBtaJy",
    "payment_network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "sku": "solana-priority-fee"
  },
  "retrieved_at": "2026-09-07T22:01:06.412Z",
  "rpc": {
    "endpoint_class": "public",
    "hosts": [
      "solana-rpc.publicnode.com"
    ],
    "methods": [
      "getSlot",
      "getRecentPrioritizationFees",
      "getBlockHeight",
      "getBlockTime"
    ]
  },
  "slot": 445131207
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
7 min agoPassed402188 ms$0.002
3 h agoPassed40246 ms$0.002
9 h agoPassed402497 ms$0.002