Interface KeyRegistrationTransactionParams

Contains key registration transaction parameters

The full documentation is available at: https://developer.algorand.org/docs/get-details/transactions/transactions/#key-registration-transaction

interface KeyRegistrationTransactionParams {
    nonParticipation?: boolean;
    selectionKey?: string | Uint8Array;
    stateProofKey?: string | Uint8Array;
    voteFirst?: number | bigint;
    voteKey?: string | Uint8Array;
    voteKeyDilution?: number | bigint;
    voteLast?: number | bigint;
}

Properties

nonParticipation?: boolean

Set this value to true to mark this account as nonparticipating.

All new Algorand accounts are participating by default. This means they earn rewards.

selectionKey?: string | Uint8Array

32-byte selection key. For key deregistration, leave undefined

stateProofKey?: string | Uint8Array

64-byte state proof key. For key deregistration, leave undefined

voteFirst?: number | bigint

First round on which voting keys are valid

voteKey?: string | Uint8Array

32-byte voting key. For key deregistration, leave undefined

voteKeyDilution?: number | bigint

The dilution fo the 2-level participation key

voteLast?: number | bigint

Last round on which voting keys are valid

Generated using TypeDoc