Fields for a heartbeat transaction. Definition: data/transactions/heartbeat.go : HeartbeatTxnFields

Implements

Constructors

  • Creates a new TransactionHeartbeat object.

    Parameters

    • __namedParameters: {
          hbAddress: string;
          hbChallengeDiscount?: boolean;
          hbKeyDilution: number | bigint;
          hbProof: HbProofFields;
          hbSeed: string | Uint8Array;
          hbVoteId: string | Uint8Array;
      }
      • hbAddress: string
      • Optional hbChallengeDiscount?: boolean
      • hbKeyDilution: number | bigint
      • hbProof: HbProofFields
      • hbSeed: string | Uint8Array
      • hbVoteId: string | Uint8Array

    Returns TransactionHeartbeat

Properties

hbAddress: string

(hbad) HbAddress is the account this txn is proving onlineness for.

hbChallengeDiscount?: boolean

(hbc) HbChallengeDiscount requests the challenge fee discount, reducing the required fee by one min fee. It is a request, not an assertion: it is granted only if HbAddress is actually under challenge.

hbKeyDilution: bigint

(hbkd) HbKeyDilution must match HbAddress account's current KeyDilution.

hbProof: HbProofFields

(hbprf) HbProof is a signature using HeartbeatAddress's partkey, thereby showing it is online.

hbSeed: Uint8Array

(hbsd) HbSeed must be the block seed for the this transaction's firstValid block.

hbVoteId: Uint8Array

(hbvid) HbVoteID must match the HbAddress account's current VoteID.

encodingSchemaValue: undefined | Schema

Accessors

Methods

Generated using TypeDoc