TransactionStatus

Type Alias: TransactionStatus

type TransactionStatus = {
  details: {
     blockHeight: number;
     blockStatus: string;
     stateHash: string;
     timestamp: number;
     txHash: string;
     txStatus: string;
    };
  error: string;
  hash: string;
  status: "pending" | "applied" | "failed" | "unknown";
};

Defined in: packages/api/src/client/types.gen.ts:872

Type declaration

details?

optional details: {
  blockHeight: number;
  blockStatus: string;
  stateHash: string;
  timestamp: number;
  txHash: string;
  txStatus: string;
};

The details of the transaction.

details.blockHeight?

optional blockHeight: number;

The height of the block containing the transaction.

details.blockStatus?

optional blockStatus: string;

The status of the block.

details.stateHash?

optional stateHash: string;

The state hash of the block.

details.timestamp?

optional timestamp: number;

The timestamp of the block.

details.txHash?

optional txHash: string;

The transaction hash.

details.txStatus?

optional txStatus: string;

The status of the transaction in the block.

error?

optional error: string;

The transaction hash.

hash?

optional hash: string;

The transaction hash.

status?

optional status: "pending" | "applied" | "failed" | "unknown";

The status of the transaction.