DEFAULT_CONFIRMATION_BLOCK_COUNT

Documentation for eth_defi.provider.receipt.DEFAULT_CONFIRMATION_BLOCK_COUNT data.

DEFAULT_CONFIRMATION_BLOCK_COUNT = 2

Default number of confirmations each read provider must see before wait_for_transaction_receipt_robust() returns on a live (non-Anvil) chain.

Set to 2 so that a state read (eth_call) issued immediately after the wait is very likely served by a backend whose state trie already reflects the transaction, not just one that has the receipt visible. Avoids read-after-write races on MultiProvider setups where writes go to a sequencer / transaction provider and reads go to lagging public RPCs. Anvil ignores this (single coherent state view).