Tx Doctor / Solana error library / Token math overflow

Token 0xe0xe

Solana error: Token math overflow (0xe)

An arithmetic operation inside the token program overflowed - the amount is larger than the token's supply or decimals can represent.

Why it happens

How to fix it

  1. Check the amount and the mint's decimals - a decimal mismatch multiplies the value by powers of ten.
  2. Send a smaller amount to confirm the route works.
  3. If you are the program author, use checked arithmetic.

What it looks like in the logs

Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0xe

Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.

Diagnose my transaction

Related Solana errors

Token account is frozen

Token 0x11

Account not initialized or not found

AccountNotFound

Account would not be rent exempt

Token 0x0

Not enough token balance

Token 0x1