DOCUMENTATION
import RpcUrlOption from "../../reference/common/rpc-url-optionx"; import DisplayOptions from "../../reference/common/display-optionsx"; import CommonOptions from "./common-optionsx";
cast tx
NAME
cast-tx - Get information about a transaction.
SYNOPSIS
cast tx
[options] tx_hash [field]
DESCRIPTION
Get information about a transaction.
If field is specified, then only the given field of the transaction is displayed.
OPTIONS
RPC Options
<RpcUrlOption /> <DisplayOptions /> <CommonOptions />EXAMPLES
-
Get information about a transaction:
cast tx $TX_HASH
-
Get the sender of a transaction:
cast tx $TX_HASH from