0xcalldata

ERC-20 function

balanceOf(address)

Returns the ERC-20 balance associated with one account address.

Selector
0x70a08231
Mutability
view

Generate balanceOf calldata

Edit the example inputs to rebuild the bytes instantly in your browser. Nothing is sent and no transaction is submitted.

address
calldata36 bytes
sel0x70a08231
balanceOf(address)
0x000000000000000000000000001111111111111111111111111111111111111111
owner · address =0x11111111…111111

How balanceOf works

The account is the only encoded argument. The token contract address is the target of the call and is not embedded in calldata.

Parameters

NameSolidity typeMeaning
owneraddressAccount whose token balance should be read.

Return value

The account balance as a raw uint256 amount in token base units.

uint256 result

Return data comes back after execution and is not included in the calldata above.

View all ERC-20 functions →