Skip to content

@receipts:block.coinbase

Fee recipient address of a sealed block, addressed by number or tag (default: latest).

On-chain (@receipts:block.coinbase!): Reads the block being written, and takes no arguments.

⚗️ Experimental — available at next.evmcrispr.com.

Returns: address

@receipts:block.coinbase(block? chain?)
NameTypeDescription
[block]number | stringBlock number or tag (default: latest)
[chain]chainChain to look on (default: current chain)
# Read the fee recipient of a sealed block
set $proposer @receipts:block.coinbase(46147 mainnet)

With ! and no arguments the read happens on-chain at assertion time: the proposer fee recipient of the block being written.