0xcalldata

ERC-20 function

allowance(address,address)

Returns the remaining ERC-20 amount a spender may transfer for an owner.

Selector
0xdd62ed3e
Mutability
view

Generate allowance calldata

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

address
address
calldata68 bytes
sel0xdd62ed3e
allowance(address,address)
0x000000000000000000000000001111111111111111111111111111111111111111
owner · address =0x11111111…111111
0x200000000000000000000000003333333333333333333333333333333333333333
spender · address =0x33333333…333333

How allowance works

Both addresses are encoded because this is a query about a specific owner–spender pair. The result is the currently available raw allowance.

Parameters

NameSolidity typeMeaning
owneraddressAccount that granted spending permission.
spenderaddressAddress whose remaining permission should be read.

Return value

The remaining allowance as a raw uint256 amount.

uint256 result

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

View all ERC-20 functions →