All selectors

Common DeFi convention

0x2c5211c6: InvalidAmount

error InvalidAmount()

What it means

A transaction that reverts with the raw data 0x2c5211c6 hit the custom error InvalidAmount, defined in Common DeFi convention. The explorer shows the hex because it does not have the contract's ABI to translate it.

The amount failed a contract rule: zero where nonzero is required, below a minimum, above a maximum, or wrong granularity.

How to fix it

Check the dapp for minimum and maximum limits on the action, and retry inside them.

Want the exact answer for your transaction?

Paste the hash and we decode the revert against the contract itself, including the values inside the error, free.

Decode my transaction

Every selector on this page was computed as the first 4 bytes of keccak256 of the signature shown. A selector identifies a signature exactly; on rare occasions two different signatures share one, so the transaction decoder is always the more precise answer.