Scale a token amount into raw on-chain units
One step with Delx. We can help you get access.
Look something up
Scale a token amount into raw on-chain units
with Delx
Use Delx: its Delx Commerce — services for autonomous agents X402 API lets you scale a token amount into raw on-chain units in a single step (POST /api/v1/x402/token-amount-to-raw). capabilities.work can help you get signed up and connected.
- What raw integer do I pass to an ERC-20 transfer for 12.5 tokens with 18 decimals?
- Can I convert a UI token quantity into base units?
Say it to your AI assistant
- Convert {amount} tokens with {decimals} decimals to raw units.
- Scale {amount} by {decimals} decimals for an approve amount.
For your developer
POST /api/v1/x402/token-amount-to-raw in Delx Commerce — services for autonomous agents X402 API. Full spec on APIs.io.