cast-receipt - Get the transaction receipt for a transaction.
cast receipt [options] tx_hash [field]
Get the transaction receipt for a transaction.
If field is specified, then only the given field of the receipt is displayed.
Do not wait for the transaction receipt if it does not exist yet.
Wait a number of confirmations before exiting. Default:
The RPC endpoint. Accepts a URL or an existing alias in the [rpc_endpoints] table, like
Output in JSON format.
Prints help information.
Get a transaction receipt:
cast receipt $TX_HASH
Get the block number the transaction was included in:
cast receipt $TX_HASH blockNumber