{"uid":"cap_vAwvwIxWOkVR_Yf_fKTZ_","slug":"xrp-ledger-moment-image-generator-3dc6f73e","name":"XRP Ledger Moment Image Generator","description":"Ledger moment image (1200x675 PNG): one validated XRP Ledger ledger drawn as one tile per transaction in ledger order, colored by type (payments, DEX offers, trust lines, AMM, NFTs, other), failed transactions hollow, with counts, fees burned, XRP supply, and the ledger hash. Latest validated ledger by default. Useful for posts, reports, and newsletters about network activity.","url":"https://bruk-agent-api.fly.dev/v1/ledger-moment?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","required":[],"properties":{"format":{"enum":["json","png"],"type":"string","description":"json (default, base64 image plus data) or png."},"network":{"enum":["mainnet","testnet"],"type":"string","description":"XRP Ledger network. Default mainnet."},"ledger_index":{"type":"string","pattern":"^[0-9]+$","description":"Validated ledger number. Default latest."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eXdPjPc31DjePUYPLRSRO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a 1200x675 PNG image visualizing all transactions in a single XRP Ledger ledger as a colored tile grid, with metadata like fees burned, XRP supply, and ledger hash.","exampleAgentPrompt":"Can you generate a ledger moment image for the latest validated XRP mainnet ledger and give me the PNG so I can drop it into our weekly newsletter?","exampleUseCases":[{"title":"Weekly blockchain newsletter graphic","prompt":"Generate a ledger moment image for the latest validated XRP Ledger on mainnet — I want the PNG to include the tile grid of transactions colored by type for our weekly newsletter."},{"title":"Social media post about XRP activity","prompt":"Create a shareable 1200x675 image showing all the transactions in XRP Ledger number 89012345 on mainnet so I can post it to Twitter with our network activity update."},{"title":"Testnet ledger visualization for devs","prompt":"Can you render a ledger moment image for ledger index 5000100 on the XRP testnet? I need the JSON response with the base64 image and all the stats like fees burned and transaction counts."}],"resultDescription":"Returns either a JSON object containing a base64-encoded 1200x675 PNG image plus metadata (transaction counts by type, fees burned, XRP supply, ledger hash, ledger index, close time) or a raw PNG binary, depending on the format parameter. Each transaction is represented as a colored tile ordered by position in the ledger, with payment, DEX offer, trust line, AMM, NFT, and other transaction types in distinct colors, and failed transactions rendered as hollow tiles.","failureModes":["Requested ledger_index not yet validated — returns error indicating ledger not available","Invalid ledger_index format (non-numeric) — rejected by schema validation","Network connectivity issues to XRPL nodes — may return 503 or timeout","Testnet ledger index out of range — returns not-found error","Payment failure (x402) — returns 402 if USDC payment not provided or invalid"],"whenToPreferThis":"Choose this endpoint when you need a ready-made, publication-quality visual of a specific XRP Ledger ledger for use in newsletters, social media posts, reports, or dashboards. It uniquely combines ledger transaction tile visualization with on-chain metadata (fees burned, XRP supply, ledger hash) in a single image. Prefer this over raw XRPL data APIs when the goal is a human-readable graphic rather than raw transaction data. Best suited for content creators, blockchain journalists, and monitoring dashboards that want visual summaries without building custom charting infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:36:32.126Z","isFirstParty":false,"canonicalSlug":"xrp-ledger-moment-image-generator-3dc6f73e"}