cive
Version:
Cive is an interface for the Conflux Core Space, built on Viem.
16 lines (14 loc) • 374 B
text/typescript
import type { Hash } from 'viem'
export type NodeState<TQuantity = bigint, TIndex = number> = {
bestHash: Hash
blockNumber: TQuantity
chainId: TIndex
networkId: TIndex
ethereumSpaceChainId: TIndex
epochNumber: TQuantity
latestCheckpoint: TQuantity
latestConfirmed: TQuantity
latestFinalized: TQuantity
latestState: TQuantity
pendingTxNumber: TIndex
}