zksync-cli transaction

Interact with transaction information using zksync-cli.
zksync-cli transaction [sub-command] [options]

Description

This command allows you to fetch and display detailed information of transactions via the CLI.

info

zksync-cli transaction info [options]
--chainrequired
chain id

The ID of the chain to create the transaction on.

--transaction, --tx
transaction hash

The transaction hash to read from.

--full
boolean

Set to true to show all available data for the transaction.

--raw
boolean

Set to true to show the raw JSON response of the transaction.

--abi
string

The relative path to a contract artifact or ABI file.

--rpc
string

Override the defined L2 RPC URL for the selected chain.


Made with ❤️ by the ZKsync Community