get

The get command allows you to get a transaction object or status by its hash. Returns an object containing the data and the status. If -s flag is set, only the status of the transaction is printed out.

Status

  • In Mempool - Indicates that the transaction is in the mempool.

  • In Pushpool - Indicates that the transaction is in the push pool.

  • Confirmed - Indicates that the transaction has been added into a confirmed block.

Usage

kit tx get [options] 
Usage:
  kit tx get [flags] <hash>

Flags:
  -h, --help     help for get
  -s, --status   Show only status information

Arguments

  • hash - The transaction hash.

Options

  • -s, --status - Print out the status of the transaction only.

  • -h, --help - Prints out a help message.

Example

  • Get a transaction by its hash.

kit tx get 0x35d72037bea40cc824afa28dd145f954d6437f0c2ceb722b3faa6c7df9a62d29
  • Get only the status of a transaction

kit tx get 0x35d72037bea40cc824afa28dd145f954d6437f0c2ceb722b3faa6c7df9a62d29 --status

Last updated