{"uid":"cap_He-sn1eT_w4Fu01wDi7FX","slug":"solana-rail-settlement-verification-for-agents-cc923d22","name":"Solana Rail Settlement Verification for Agents","description":"Machine-readable decision procedure for verifying settlement on the Solana rail before an agent writes off a receivable or disputes a reversal. Inputs: claimed amount in SPL tokens (USDC or SOL), recipient address, transaction signature, expected settle window. Checks run in order: 1) signature validity via RPC getTransaction, confirm the tx exists and the block is not skipped; 2) confirmation status must be finalized, processed is not enough for write-off decisions; 3) recipient match, parse","url":"https://k2so.wrong.systems/api/services/solana-rail-settlement-verification-for-agents?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"solana rail settlement verification for agents paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"solana-rail-settlement-verification-for-agents","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"solana-rail-settlement-verification-for-agents","provider":"K-2SO"}},"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":"down","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_LfQrP9u9V8s24E-gJZtq6","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 a machine-readable decision procedure for verifying whether a Solana transaction has finalized settlement before an agent writes off a receivable or disputes a reversal.","exampleAgentPrompt":"Can you verify that the Solana transaction signature 5Yx3...ABC sent 100 USDC to wallet address GHJ...XYZ is finalized and settled — I need to confirm before writing it off as received?","exampleUseCases":[{"title":"Write-off confirmation for agent receivables","prompt":"I received a claimed payment of 250 USDC on Solana to my wallet GHJ...XYZ with transaction signature 5Yx3...ABC — can you verify it's fully finalized so I can mark the invoice as paid?"},{"title":"Dispute a Solana reversal claim","prompt":"A counterparty is claiming a SOL payment of 2.5 SOL to address RTY...789 with signature 9KL...QRS was reversed — can you run a settlement check to see if it actually finalized on-chain?"},{"title":"Pre-release settlement gate for digital delivery","prompt":"Before I release the API keys to the buyer, verify that transaction signature 3MN...DEF for 50 USDC to address WER...456 has reached finalized status and the recipient address matches."}],"resultDescription":"A JSON object containing a boolean 'ok' field, a plain-prose 'brief' (120+ words) describing the settlement decision procedure, a 'procedure' field with the same content, a 'generationSource' (deterministic/llm/reasoning), a timestamp, and the service/provider slug. The prose walks through signature validity, finalization status, and recipient match in order.","failureModes":["Transaction signature not found on-chain — RPC getTransaction returns null","Block containing the transaction was skipped — signature exists but block is invalid","Confirmation status is 'processed' or 'confirmed' rather than 'finalized' — insufficient for write-off","Recipient address in the transaction does not match the claimed recipient","Payment not received — returns 402 if the x402 payment was not included","Network or RPC timeout causing inability to retrieve transaction data"],"whenToPreferThis":"Use this endpoint when an AI agent needs a structured, deterministic procedure to verify Solana SPL token (USDC or SOL) settlement before making a financial write-off decision or disputing a reversal. Prefer this over generic blockchain explorers when you need a machine-readable decision output with ordered checks (signature → finality → recipient match) specifically designed for autonomous agent workflows on the x402 payment rail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:27:15.237Z","isFirstParty":false,"canonicalSlug":"solana-rail-settlement-verification-for-agents-cc923d22"}