{"uid":"cap_4jrR-yu5UYufcyjALKwOk","slug":"evm-erc-20-transfer-calldata-encoder-1d9c4bb4","name":"EVM ERC-20 Transfer Calldata Encoder","description":"Build ERC-20 transfer calldata from a human amount, resolving token decimals from the pinned registry","url":"https://evm-canon-base.onrender.com/encode/transfer","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["args"],"properties":{"args":{"type":"object","description":"arguments keyed by parameter name"},"chain":{"description":"chain name, alias or numeric chainId"},"token":{"type":"string","description":"symbol or contract address"},"value":{"type":"string","description":"native value in wei"},"function":{"type":"string","description":"name or full signature (generic route only)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"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_N92vGeyl5FbAg9oXcv5ir","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":"Encodes ERC-20 transfer calldata from a human-readable token amount, automatically resolving token decimals from a pinned registry","exampleAgentPrompt":"Build me the ERC-20 transfer calldata to send 50 USDC to 0xAbCd...1234 on Base — handle the decimal conversion automatically using the token registry.","exampleUseCases":[{"title":"Automated on-chain payment pipeline","prompt":"I need to programmatically send 200 USDC to wallet 0x1234...abcd on Base — can you build me the encoded transfer calldata so I can submit the transaction without manually figuring out the 6-decimal conversion?"},{"title":"DeFi bot token disbursement","prompt":"My trading bot needs to distribute 0.5 WETH to address 0xDead...Beef on Base — generate the raw transfer calldata using the pinned token registry so the decimals are resolved correctly."},{"title":"Smart contract integration testing","prompt":"I'm testing a contract interaction and need the ABI-encoded calldata for transferring 1000 DAI to 0xFeed...Face — can you build the transfer payload with the right decimal scaling?"}],"resultDescription":"Returns hex-encoded ERC-20 transfer calldata ready to be used as transaction input data, with the human-readable amount correctly scaled to the token's native decimal precision as resolved from the pinned token registry.","failureModes":["Token not found in pinned registry — returns error if token address or symbol is unrecognized","Invalid recipient address format — fails if address is not a valid EVM address","Amount out of range — fails if amount exceeds uint256 bounds after decimal scaling","Malformed request body — returns 400 if required fields are missing or wrong type","Service unavailable — Render.com cold-start latency may cause timeout on first request"],"whenToPreferThis":"Choose this endpoint when you need to encode ERC-20 transfer calldata without manually managing token decimals, especially on Base network where the pinned registry covers common tokens. Prefer this over generic ABI encoders when you want decimal resolution handled automatically. Use it in agent pipelines where a human-supplied amount (e.g. '100 USDC') must be converted to a precise on-chain payload.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:38.030Z","isFirstParty":false}