{"uid":"cap_tNJvGLwX1NIR2diEspbwB","slug":"avasis-solana-priority-fee-tips-4fc6cdfd","name":"Avasis Solana Priority Fee Tips","description":"Solana priority-fee tip for agents that build transactions: p25/p50/p75/p90/max and non-zero percentiles of getRecentPrioritizationFees over the last ~150 slots, plus low/medium/high/veryHigh micro-lamport suggestions, refreshed every 2 s. Long-poll with ?since=<seq>&wait=25. Prepaid meter price $0.0002/call (packs at /v1/meter); SSE at /v1/stream/tips.","url":"https://premium.35-171-220-195.sslip.io/v1/tip/sol-priority-fee?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"wait":{"type":"integer","maximum":25,"minimum":0,"description":"long-poll: seconds to wait for a newer value (0..25); with a prepaid token an unchanged answer is free"},"since":{"type":"integer","minimum":0,"description":"long-poll: the seq you already have; answers as soon as a newer value exists"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["topic","seq","data"],"properties":{"seq":{"type":"integer"},"data":{"type":"object"},"topic":{"type":"string"},"observedAt":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jNivhg0Deaykfx91rfow9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time Solana priority-fee percentiles (p25/p50/p75/p90/max) and tiered micro-lamport suggestions (low/medium/high/veryHigh), refreshed every 2 seconds, with long-poll support.","exampleAgentPrompt":"What's the current Solana priority fee I should attach to my transaction — give me the p50 and the high-tier micro-lamport suggestion so I can set an appropriate tip?","exampleUseCases":[{"title":"Set optimal fee for urgent trade","prompt":"I'm about to submit a time-sensitive Solana swap — what's the current very-high priority fee in micro-lamports so I can make sure my transaction lands in the next slot?"},{"title":"Build fee-aware transaction pipeline","prompt":"Every time I construct a new Solana transaction, I want the latest p75 priority fee percentile and the medium-tier micro-lamport suggestion so I can attach a reasonable tip without overpaying."},{"title":"Monitor priority fee spikes during congestion","prompt":"Can you long-poll the Solana priority fee endpoint and tell me when there's a newer value than sequence 42 — I want to know if fees have spiked above the p90 level in the last few seconds?"}],"resultDescription":"A JSON object containing a topic string, sequence number, observedAt timestamp, and a data payload with priority-fee percentiles (p25, p50, p75, p90, max) derived from the last ~150 slots via getRecentPrioritizationFees, non-zero percentiles, and four tiered micro-lamport recommendations (low, medium, high, veryHigh) refreshed every 2 seconds.","failureModes":["Payment required (402) if no valid x402 prepaid meter token or per-call payment is provided","Timeout if long-poll wait parameter exceeds 25 seconds","Stale or unavailable data if Solana RPC node is experiencing issues","Rate limiting if calls exceed prepaid meter balance","Invalid query parameter values for 'since' or 'wait' fields"],"whenToPreferThis":"Choose this endpoint when your agent needs real-time Solana priority fee data to optimally set transaction tips before submitting to the network. It is especially valuable for agents building and submitting Solana transactions who need up-to-date percentile statistics and ready-made low/medium/high/veryHigh tier suggestions without computing them from raw RPC data. The 2-second refresh and long-poll capability make it ideal for reactive fee strategies during network congestion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:34:26.637Z","isFirstParty":false,"canonicalSlug":"avasis-solana-priority-fee-tips-4fc6cdfd"}