Function prepareSetProposerAdminTransaction

    • Only for third-party node runners. Returns a transaction to set the proposer admin which can register online/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

      • newProposerAdminAddr: string

        admin which you want to set

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns Transaction

      Transaction set proposer admin transaction