Function prepareRegisterEscrowOnlineTransactions
- prepareRegisterEscrowOnlineTransactions(
distributor: Distributor,
senderAddr: string,
registerFeeAmount: number | bigint,
voteKey: Buffer<ArrayBufferLike>,
selectionKey: Buffer<ArrayBufferLike>,
stateProofKey: Buffer<ArrayBufferLike>,
voteFirstRound: number | bigint,
voteLastRound: number | bigint,
voteKeyDilution: number | bigint,
params: SuggestedParams,
): Transaction[] Parameters
- distributor: Distributor
distributor that has escrow
- senderAddr: string
account address for the sender
- registerFeeAmount: number | bigint
the register online transaction fee (to be used for consensus rewards)
- 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
- distributor: Distributor
Returns a group transaction to register an escrow online.