{"slug":"forge-fizzl-eu-p-sol-amount-convert-9e8e3c","title":"How many lamports (or raw SPL token units) is this amount, exactly?","host":"forge.fizzl.eu","method":"GET","resource":"https://forge.fizzl.eu/p/sol-amount-convert","category":"market","description":"How many lamports (or raw SPL token units) is this amount, exactly? Solana amount converter (SOL and SPL tokens): Converts Solana amounts exactly: SOL to lamports and back, and SPL token UI amounts to raw u64 amounts and back for given mint decimals, the way… $0.001 per call in USDC, charged only on","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"amount":"1.5","decimals":6,"operation":"ui_to_raw"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"amount":{"description":"Unsigned amount as a string of ASCII digits; a JSON number is also accepted, but only as a non-negative safe integer (at most 2^53-1). UI units (at most one dot) for sol_to_lamports and ui_to_raw; a whole number of the smallest unit (lamports or raw token units) for lamports_to_sol and raw_to_ui.","maxLength":300,"type":"string"},"decimals":{"description":"The decimals field of the token mint. Required for ui_to_raw and raw_to_ui; ignored (with a warning) for SOL operations, which always use 9.","maximum":255,"minimum":0,"type":"integer"},"operation":{"description":"sol_to_lamports, lamports_to_sol, ui_to_raw or raw_to_ui","enum":["sol_to_lamports","lamports_to_sol","ui_to_raw","raw_to_ui"],"type":"string"}},"required":["operation","amount"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"How many lamports (or raw SPL token units) is this amount, exactly? Solana amount converter (SOL and SPL tokens): Converts Solana amounts exactly: SOL to lamports and back, and SPL token UI amounts to raw u64 amounts and back for given mint decimals, the way… $0.001 per call in USDC, charged only on a 2xx answer. Try it free: https://forge.fizzl.eu/try/sol-amount-convert. Signed receipt. Own this tool for $1.00 and earn from every call: https://forge.fizzl.eu/forge/packages/sol-amount-convert.","last_updated":"2026-11-18T09:32:53.605Z","schemes":["exact"]}