{"uid":"cap_btgStTEPh1ZQniUwaxw1w","slug":"avasis-sol-slot-chain-tip-clock-822e2ab0","name":"Avasis Sol-Slot Chain-Tip Clock","description":"Solana chain-tip clock for agents that poll: processed slot, confirmed block height, epoch and slot index from one batched PublicNode call, refreshed every 1 s while anyone is polling. Long-poll with ?since=<seq>&wait=25. Prepaid meter price $0.0002/call (packs at /v1/meter); SSE at /v1/stream/tips.","url":"https://agents.avasis.ai/v1/tip/sol-slot?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"seq":812,"data":{"epoch":1071,"slotIndex":230001,"slotsInEpoch":432000,"slotProcessed":462900001,"blockHeightConfirmed":440920000},"ageMs":420,"stale":false,"topic":"sol-slot","changed":true,"observedAt":"2026-10-29T12:00:00.000Z"}},"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_mra3p_web6cU3PbWOXVeA","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 the latest Solana chain-tip data—processed slot, confirmed block height, epoch, and slot index—from a single batched PublicNode call, refreshed every second with long-poll and SSE support.","exampleAgentPrompt":"What's the current Solana slot number, confirmed block height, and epoch info right now — and let me know if the data is fresh or stale?","exampleUseCases":[{"title":"Real-time slot gating for DeFi bot","prompt":"Before my Solana swap bot submits a transaction, check what the current processed slot and confirmed block height are so it can set an appropriate blockhash expiry window."},{"title":"Epoch boundary alert for staking agent","prompt":"I need to know which epoch Solana is in right now and how many slots are left in it — my staking agent needs to decide whether to re-delegate before the epoch ends."},{"title":"Chain-tip staleness monitor for data pipeline","prompt":"Keep polling the Solana chain tip every second and alert me if the age of the latest slot data goes above 2000 milliseconds or the stale flag turns true."}],"resultDescription":"A JSON object containing: sequence number (seq), epoch, slotIndex, slotsInEpoch, slotProcessed (latest processed slot), blockHeightConfirmed (latest confirmed block height), ageMs (milliseconds since last RPC observation), stale boolean, changed boolean, topic string, and observedAt ISO timestamp. Refreshed every ~1 second server-side; supports long-polling via ?since=<seq>&wait=25 to receive only new data.","failureModes":["Stale data returned if PublicNode RPC is lagging — indicated by stale:true and elevated ageMs","Long-poll timeout if no new slot arrives within the wait window — returns last known state","402 Payment Required if prepaid meter credit is exhausted — requires topping up at /v1/meter","Network timeout if agent holds connection longer than server wait limit","Invalid since parameter returns 400 Bad Request"],"whenToPreferThis":"Prefer this endpoint when an AI agent or trading bot needs a low-latency, batched, single-call source of Solana chain-tip state (slot, block height, epoch) without managing direct RPC connections. Especially useful for agents that need long-poll semantics to avoid busy-waiting, or that need server-side aggregation of multiple Solana RPC fields into one response. Less suited for historical slot queries or full block data retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:55.538Z","isFirstParty":false,"canonicalSlug":"avasis-sol-slot-chain-tip-clock-822e2ab0"}