Transaction & RPC errors

WouldExceedMaxBlockCostLimit

Appears as Transaction would exceed max Block Cost Limit

Transaction

WouldExceedMaxBlockCostLimit

“Transaction would exceed max Block Cost Limit”

The transaction's compute cost would push the block over its limit; it was dropped from this block.

Common causes

  • Network congestion, or a transaction that requests a very large compute budget.

How to fix it

  • Retry. Request only the compute units you need (setComputeUnitLimit), and add a priority fee during congestion.

Decode another error

Try: