Function prepareRegisterProposerOfflineTransaction
- prepareRegisterProposerOfflineTransaction(
consensusConfig: ConsensusConfig,
consensusState: ConsensusState,
senderAddr: string,
proposerAddr: string,
params: SuggestedParams,
): Transaction 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
- consensusConfig: ConsensusConfig
Only for third-party node runners. Returns a transaction to register a proposer offline.