All errors

Solidity panics

“panic code 0x01”

Also appears as: “Panic(1)”, “assertion failed”


What it means

An assert() check failed. Assertions guard conditions the developers believed could never be false, so a failing one signals a genuine bug or an extraordinary state, not a user mistake.

How to fix it

Do not retry repeatedly. Report the transaction hash to the protocol: an assertion failure is information their team needs.

For the full walkthrough of why transactions fail, read the complete error guide.