Solidity ABI calldata encoder — encode canonical typed values for an EVM smart-c
Solidity ABI calldata encoder — encode canonical typed values for an EVM smart-contract function call, with an optional selector and exact 256-bit integers.
Not tested: has real-world effectsour last check, 2026-09-24
0 of 0checks answered this week
n/amedian answer time
$0.005listed price per call
n/aprice it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://chain-tools.use.x402atlas.com/evm/abi-encode
| Category | Everything else |
|---|---|
| Provider host | chain-tools.use.x402atlas.com |
| Networks | eip155:137, eip155:42161, eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"function": "transfer",
"include_selector": true,
"types": [
"address",
"uint256"
],
"values": [
"0x0000000000000000000000000000000000000001",
"1000"
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$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})*$",