Function prepareRegisterProposerOfflineTransaction

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

      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

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns Transaction

      Transaction register offline transaction