Constructors
constructor
Parameters
methodName: string
params: any
response: any
Properties
methodName
methodName: string
Methods
fetchAcks
- fetchAcks(): Promise<(undefined | AckSchema)[]>
Returns Promise<(undefined | AckSchema)[]>
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 }
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>
Parameters
opts: { timeout?: number } = {}
Optional timeout?: number
Returns Promise<void>