Docs
chromia.com

Type Alias

OrchestratorState

On this page
type OrchestratorState = {
    nextHopIndex: number;
    opIndex: number;
    systemConfirmationProof: (brid: Buffer) => Promise<Operation>;
    tx: GTX;
}

Properties

nextHopIndex

nextHopIndex: number

the index in path where the next transaction is supposed to go

opIndex

opIndex: number

systemConfirmationProof

systemConfirmationProof: (brid: Buffer) => Promise<Operation>

A function that returns a promise of an operation

Type Declaration

    • (brid: Buffer): Promise<Operation>
    • Parameters

      • brid: Buffer

        the brid of the chain to get the proof for

      Returns Promise<Operation>

      a promise of an operation that is a system confirmation proof

tx

tx: GTX