Function prepareClaimConsensusFeesTransactions

    • Returns a group transaction to claim xALGO fees.

      Parameters

      • consensusConfig: ConsensusConfig

        consensus application and xALGO config

      • consensusState: ConsensusState

        current state of the consensus application

      • senderAddr: string

        account address for the sender

      • receiverAddr: string

        account address to receive the ALGO fees

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns Transaction[]

      Transaction[] claim fees transactions