Interface HeartbeatTransactionParams

Contains heartbeat transaction parameters.

interface HeartbeatTransactionParams {
    address: Address;
    challengeDiscount?: boolean;
    keyDilution: bigint;
    proof: HeartbeatProof;
    seed: Uint8Array;
    voteID: Uint8Array;
}

Properties

address: Address
challengeDiscount?: boolean

Requests the challenge fee discount: when set, the required fee is reduced by one min fee. The network verifies that hbAddress is actually under challenge before granting it, and a heartbeat claiming the discount may not carry any extra fields (note, lease, group, etc.).

Only allowed once transaction size pricing is enabled. Before that, the discount was inferred from an underpaid singleton heartbeat instead.

keyDilution: bigint

Must match hbAddress account's current KeyDilution.

proof: HeartbeatProof

Signature using HeartbeatAddress's partkey, thereby showing it is online.

seed: Uint8Array

The block seed for the this transaction's firstValid block.

voteID: Uint8Array

Must match the hbAddress account's current VoteID

Generated using TypeDoc