Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transaction

Hierarchy

  • Transaction

Index

Constructors

constructor

Properties

db

methodName

methodName: string

ops

ops: Operation[]

params

params: any

response

response: any

Accessors

txId

  • get txId(): string

Methods

fetchAcks

  • fetchAcks(): Promise<(undefined | AckSchema)[]>

fetchResults

isProcessed

  • isProcessed(): Promise<boolean>

toJSON

  • toJSON(opts?: { includeValues: boolean }): Promise<{ call: { method: string; params: any }; databasePubkey: string; isProcessed: boolean; operations: { proof: { blockSeq: number; logPubkey: string; rootHashAtBlock: string; rootHashSignature: string; vitraBlockInclusionProof: number }; result: undefined | { changes: any; error: any; processedAt: any; success: any }; value: any }[]; response: any; vitraTransaction: number }>
  • Parameters

    • Optional opts: { includeValues: boolean }
      • includeValues: boolean

    Returns Promise<{ call: { method: string; params: any }; databasePubkey: string; isProcessed: boolean; operations: { proof: { blockSeq: number; logPubkey: string; rootHashAtBlock: string; rootHashSignature: string; vitraBlockInclusionProof: number }; result: undefined | { changes: any; error: any; processedAt: any; success: any }; value: any }[]; response: any; vitraTransaction: number }>

verifyInclusion

  • verifyInclusion(): Promise<void>

whenProcessed

  • whenProcessed(opts?: { timeout?: number }): Promise<void>

Static fromJSON

Generated using TypeDoc