{"uid":"cap_muVJLrbokq9oc3kUUn-wk","slug":"coco-crypto-unit-converter-xrp-btc-eth-8cc6d76e","name":"CoCo Crypto Unit Converter (XRP/BTC/ETH)","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/crypto-units?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{"unit":{"type":"string"},"value":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","anyOf":[{"required":["xrp"]},{"required":["btc"]},{"required":["eth"]}]}}}}},"responseSchema":{"type":"json","example":{"xrp":"1","drops":"1000000"},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6_2Hv_jt-Anh4eAlcE09L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts between cryptocurrency units (e.g. XRP to drops, BTC to satoshis, ETH to wei) given a value and unit type","exampleAgentPrompt":"How many drops are in 5 XRP? Use the crypto unit converter to give me the exact value in drops.","exampleUseCases":[{"title":"XRP to drops for ledger transaction","prompt":"I'm building an XRP Ledger transaction and need to know how many drops equal 2.5 XRP — can you convert that for me?"},{"title":"BTC to satoshis for payment calculation","prompt":"How many satoshis are in 0.00345 BTC? I need the exact base unit amount for a Bitcoin payment."},{"title":"ETH denomination check for smart contract","prompt":"What is 1.75 ETH expressed in wei? I need the raw unit value for a smart contract call."}],"resultDescription":"A JSON object containing the converted values between the requested cryptocurrency's standard unit and its smallest denomination (e.g. {\"xrp\": \"1\", \"drops\": \"1000000\"}), showing both the input unit and the base unit equivalent.","failureModes":["Unsupported unit type returns an error or empty response","Missing required query parameters (unit or value) may cause a 400 error","Non-numeric value input may produce undefined behavior","Very large numeric values may cause precision issues"],"whenToPreferThis":"Choose this endpoint when you need to programmatically convert between a cryptocurrency's human-readable unit (XRP, BTC, ETH) and its atomic/base denomination (drops, satoshis, wei) without relying on a full exchange or price-data API. Ideal for blockchain transaction construction, wallet display normalization, or validating user-entered crypto amounts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:32.066Z","isFirstParty":false,"canonicalSlug":"coco-crypto-unit-converter-xrp-btc-eth-8cc6d76e"}