Skip to main content

TransactionDepthInfo

type TransactionDepthInfo = {
currentBlockHeight: number;
depth: number;
finalityThreshold: number;
inclusionBlockHeight: number;
isFinalized: boolean;
};

Defined in: lib/mina/v1/graphql.ts:263

Information about a transaction's depth (confirmation count) in the blockchain. Depth represents how many blocks have been built on top of the block containing the transaction.

See

https://docs.minaprotocol.com/mina-protocol/lifecycle-of-a-payment

Properties

currentBlockHeight

currentBlockHeight: number;

Defined in: lib/mina/v1/graphql.ts:269

Current block height of the chain


depth

depth: number;

Defined in: lib/mina/v1/graphql.ts:265

Number of blocks built on top of the block containing the transaction (0 = just included)


finalityThreshold

finalityThreshold: number;

Defined in: lib/mina/v1/graphql.ts:273

The finality threshold used for this calculation


inclusionBlockHeight

inclusionBlockHeight: number;

Defined in: lib/mina/v1/graphql.ts:267

Block height at which the transaction was included


isFinalized

isFinalized: boolean;

Defined in: lib/mina/v1/graphql.ts:271

Whether the transaction has reached finality (depth >= finalityThreshold)