Module: Coinbase::Transaction::Status

Defined in:
lib/coinbase/transaction.rb

Overview

A representation of a Transaction status.

Constant Summary collapse

PENDING =

The Transaction is awaiting being broadcast to the Network. At this point, transaction hashes may not yet be assigned.

'pending'
SIGNED =

The Transaction has been signed, but has not been successfully broadcast yet.

'signed'
BROADCAST =

The Transaction has been broadcast to the Network. At this point, at least the transaction hash should be assigned.

'broadcast'
COMPLETE =

The Transaction is complete and has confirmed on the Network.

'complete'
FAILED =

The Transaction has failed for some reason.

'failed'
UNSPECIFIED =

The Transaction isn't specified it's status in Receipt.

'unspecified'
TERMINAL_STATES =

The states that are considered terminal on-chain.

[COMPLETE, FAILED].freeze