Function prepareRegisterProposerOnlineTransactions

    • Only for third-party node runners. Returns a transaction to register a proposer online.

      Parameters

      • consensusConfig: ConsensusConfig

        consensus application and xALGO config

      • consensusState: ConsensusState

        current state of the consensus application

      • senderAddr: string

        account address for the sender

      • proposerAddr: string

        account address of the proposer

      • voteKey: Buffer<ArrayBufferLike>

        vote key

      • selectionKey: Buffer<ArrayBufferLike>

        selection key

      • stateProofKey: Buffer<ArrayBufferLike>

        state proof key

      • voteFirstRound: number | bigint

        vote first round

      • voteLastRound: number | bigint

        vote last round

      • voteKeyDilution: number | bigint

        vote key dilution

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns Transaction[]

      Transaction register online transaction