{"uid":"cap_xsdis67ueJNvgddCmapP6","slug":"402-com-tr-b20-stablecoin-peg-verification-d761618f","name":"402.com.tr B20 Stablecoin Peg Verification","description":"🆕 A B20 Stablecoin's currency() is SELF-DECLARED — the standard verifies nothing. This is the missing check: declared peg vs actual DEX market price. 'Says USD, trades at $0.71' in one call: on_peg / depeg_warning / depegged / no_market (the peg is a pure claim with zero price discovery) / unverifiable_fx for non-USD pegs. Run before settling in any B20 stablecoin.","url":"https://402.com.tr/api/x402/b20-peg","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"B20 stablecoin address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1V5MInFjeer0Ia-lfhol2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a B20 stablecoin's declared currency peg matches its actual DEX market price, returning a status of on_peg, depeg_warning, depegged, no_market, or unverifiable_fx.","exampleAgentPrompt":"Before we settle this payment, check whether the B20 stablecoin at address 0xAbC...123 is actually trading at its declared USD peg or has depegged on the DEX.","exampleUseCases":null,"resultDescription":"Returns a peg status enum (on_peg / depeg_warning / depegged / no_market / unverifiable_fx), the stablecoin's declared peg currency, its actual DEX market price, and the deviation amount if applicable — giving a single-call answer on whether the token is safe to settle in.","failureModes":["Invalid or non-B20 contract address returns an error","Contract address has no DEX liquidity — returns no_market status","Non-USD pegged tokens return unverifiable_fx status","Network or RPC errors may cause lookup failure","Address for a non-stablecoin token may return misleading results"],"whenToPreferThis":"Use this endpoint specifically before settling payments or transfers in any B20 stablecoin, when you need to verify that the token's self-declared currency peg (e.g. USD) reflects actual DEX market reality. Prefer this over generic price feeds when the token is a B20-standard stablecoin and you need a single GO/HOLD peg verdict rather than a raw price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:33.755Z","isFirstParty":false}