{"uid":"cap_kjRUFSXzRi9yCaelFreDK","slug":"compass-settlement-cost-comparator-066edbe3","name":"Compass Settlement Cost Comparator","description":"What a USDC transfer actually costs on Base, Polygon, Arbitrum, Ethereum and XDC, measured rather than assumed: gas units simulated per chain against live prices and fresh chain heads, plus the rollup L1 data fee where it applies. Every figure ships with its inputs and the block it was read at, so you can recompute it. Cheapest first; a chain that cannot be measured is excluded, never estimated.","url":"https://api.402rates.com/v1/settlement/costs","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":{"chains":{"type":"string","pattern":"^(base|polygon|arbitrum|ethereum|xdc)(,(base|polygon|arbitrum|ethereum|xdc))*$","description":"comma-separated list of: base, polygon, arbitrum, ethereum, xdc. Order does not matter and duplicates are ignored. Omit it to price all five, which is the usual call and costs exactly the same."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Gn1p90l2-Qsh9sLZDZX0-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the simulated on-chain cost of a USDC transfer across up to five EVM chains (Base, Polygon, Arbitrum, Ethereum, XDC), ranked cheapest first using live gas prices and rollup L1 data fees.","exampleAgentPrompt":"Which blockchain is the cheapest to send USDC on right now — compare Base, Polygon, Arbitrum, Ethereum, and XDC and show me the gas costs ranked cheapest first.","exampleUseCases":[{"title":"Cheapest chain for bulk USDC payroll","prompt":"I need to send USDC to 200 contractors — compare the current transfer costs on Base, Arbitrum, and Polygon so I can pick the cheapest chain to run payroll on."},{"title":"Real-time settlement routing in a payment app","prompt":"Before I route this USDC payment, check the live gas costs across all five supported chains — Base, Polygon, Arbitrum, Ethereum, and XDC — and tell me which one is cheapest right now."},{"title":"DeFi cost dashboard snapshot","prompt":"Pull the current simulated USDC transfer costs on Ethereum, Base, and Arbitrum including the rollup L1 data fees, and rank them cheapest first so I can update my fee dashboard."}],"resultDescription":"A list of chains sorted cheapest-first, each entry showing the simulated gas units consumed, the live gas price at the current block head, the rollup L1 data fee (where applicable), and the total computed cost in USDC for a standard USDC transfer.","failureModes":["Chain RPC unavailable — live gas price or block head cannot be fetched for one or more chains, causing partial or failed response","Invalid 'chains' query parameter — value does not match the allowed comma-separated enum pattern, returns a 400 validation error","Payment failure — x402 micropayment not settled, request blocked before execution","Network timeout — on-chain simulation takes too long under congestion","All chains congested — costs may spike and not reflect typical fees"],"whenToPreferThis":"Use this endpoint when you need a real-time, cross-chain comparison of USDC transfer costs using live gas prices and actual rollup L1 data fees rather than static estimates. It is the right choice when routing a USDC payment optimally, benchmarking settlement costs programmatically, or building a fee dashboard that reflects current on-chain conditions across Base, Polygon, Arbitrum, Ethereum, and XDC. Prefer it over manual gas tracker lookups because it returns a unified, pre-ranked response accounting for rollup overhead in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:38:51.765Z","isFirstParty":false}