An algod simulate call reported that the transaction group would fail.
Import
from x402_algorand import SimulationError
Signature
class SimulationError(X402AlgorandError, RuntimeError)
An algod simulate call reported that the transaction group would fail.
Examples
from x402_algorand import SimulationError# Raised by ServerAvmSigner.simulate_group() when algod's simulate reports a failure.# The facilitator catches it and returns invalid_reason="transaction_simulation_failed".try: signer.simulate_group(group_bytes, network)except SimulationError as e: # also a RuntimeError print("would fail on chain:", e)