Skip to content
ihategas.xyz

ABI Encoder

Runs offline

Encode function calls and parameters to calldata.

a JSON array — quote large numbers as strings
Calldata
0xa9059cbb000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000de0b6b3a7640000
Selectorfirst 4 bytes
0xa9059cbb
2 arguments encoded. Large integers are safest as quoted strings — JSON numbers lose precision above 2⁵³.

About abi encoder

Encoding is what turns a human-readable call into the hex a contract actually receives: four bytes of selector followed by each argument padded into thirty-two byte words. Useful for building a multisig transaction by hand, testing against a node, or checking that an interface is sending what it claims. Large integers need quoting as strings — JSON numbers silently lose precision above 2⁵³, which is far below a typical token amount.

More developer tools