Skip to main content
Version: v. 1

Probe receipt

NAME​

probe-receipt - Get the transaction receipt for a transaction.

SYNOPSIS​

probe receipt [options] tx_hash [field]

DESCRIPTION​

Get the transaction receipt for a transaction.

If field is specified, then only the given field of the receipt is displayed.

OPTIONS​

Receipt Options​

--async
--probe-async
Do not wait for the transaction receipt if it does not exist yet.
Environment: PROBE_ASYNC

-c confirmations
--confirmations confirmations
Wait a number of confirmations before exiting. Default: 1.

RPC Options​

--rpc-url url
The RPC endpoint. Accepts a URL or an existing alias in the [rpc_endpoints] table, like mainnet. Environment: ETH_RPC_URL

Display Options​

-j
--json
Print the deployment information as JSON.

Common Options​

-h
--help
Prints help information.

EXAMPLES​

  1. Get a transaction receipt:

    probe receipt $TX_HASH
  2. Get the block number the transaction was included in:

    probe receipt $TX_HASH blockNumber

SEE ALSO​

probe, probe call, probe send, probe publish