{"slug":"chain-tools-use-x402atlas-com-evm-abi-encode-d93413","title":"Solidity ABI calldata encoder — encode canonical typed values for an EVM smart-c","host":"chain-tools.use.x402atlas.com","method":"POST","resource":"https://chain-tools.use.x402atlas.com/evm/abi-encode","category":"other","description":"Solidity ABI calldata encoder — encode canonical typed values for an EVM smart-contract function call, with an optional selector and exact 256-bit integers.","price_listed":0.005,"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:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"function":"transfer","include_selector":true,"types":["address","uint256"],"values":["0x0000000000000000000000000000000000000001","1000"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"One bounded standard Solidity ABI encoding request","oneOf":[{"properties":{"include_selector":{"const":true}},"required":["function"]},{"not":{"required":["function"]},"properties":{"include_selector":{"const":false}}}],"properties":{"function":{"description":"Function identifier required exactly when include_selector is true; never a full signature","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"},"include_selector":{"description":"Whether to prepend the four-byte selector for function and canonical types","type":"boolean"},"types":{"description":"Supported canonical Solidity ABI types; uint/int aliases normalize to 256-bit forms","items":{"description":"One closed-grammar ABI type with maximum nesting depth four","type":"string"},"maxItems":32,"minItems":0,"type":"array"},"values":{"description":"Positional JSON values exactly matching types; integers are decimal strings","items":{"description":"Boolean, string, byte/address/integer string, or positional tuple/array value as required by its type"},"maxItems":32,"minItems":0,"type":"array"}},"required":["types","values","include_selector"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"_atlas":{"additionalProperties":false,"description":"Atlas documentation and related-route metadata added after deployment","properties":{"docs":{"description":"Documentation URL for this bridge","format":"uri","maxLength":512,"type":"string"},"related":{"description":"Bounded related Atlas routes","items":{"additionalProperties":false,"description":"One related Atlas route","properties":{"bridge":{"description":"Related bridge name","maxLength":64,"type":"string"},"docs":{"description":"Related bridge documentation URL","format":"uri","maxLength":512,"type":"string"},"summary":{"description":"Short capability summary","maxLength":256,"type":"string"},"url":{"description":"Related route URL","format":"uri","maxLength":512,"type":"string"}},"required":["bridge","url","docs","summary"],"type":"object"},"maxItems":3,"type":"array"}},"required":["docs"],"type":"object"},"algorithm_version":{"const":"solidity-abi-v1","description":"Pinned Solidity ABI grammar and byte contract","type":"string"},"data":{"description":"Complete encoded bytes, including selector when requested","pattern":"^0x(?:[0-9a-f]{2})*$","type":"string"},"function_signature":{"description":"Canonical signature when selector included","type":"string"},"include_selector":{"description":"Whether data begins with selector","type":"boolean"},"operation":{"const":"abi-encode","description":"Stable route operation","type":"string"},"payload":{"description":"Selector-free canonical ABI payload","pattern":"^0x(?:[0-9a-f]{2})*$","type":"string"},"selector":{"description":"Four-byte selector when included","pattern":"^0x(?:[0-9a-f]{2})*$","type":"string"},"types":{"description":"Canonical ABI types","items":{"description":"Canonical Solidity ABI type","type":"string"},"type":"array"},"values":{"description":"Normalized values in exact type order","items":{"description":"Normalized exact JSON representation"},"type":"array"},"warnings":{"description":"Always empty for deterministic offline computation","items":{"description":"Warning","type":"string"},"maxItems":0,"type":"array"}},"required":["operation","algorithm_version","types","values","include_selector","payload","data","warnings"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Solidity ABI calldata encoder — encode canonical typed values for an EVM smart-contract function call, with an optional selector and exact 256-bit integers.","last_updated":"2026-09-15T06:32:28.971Z","schemes":["exact"]}