Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 659 Bytes

cast-tx.md

File metadata and controls

41 lines (24 loc) · 659 Bytes

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

{{#include ../common/rpc-url-option.md}}

{{#include ../common/display-options.md}}

{{#include common-options.md}}

EXAMPLES

  1. Get information about a transaction:

    cast tx $TX_HASH
  2. Get the sender of a transaction:

    cast tx $TX_HASH from

SEE ALSO

cast, cast receipt