Skip to content
CCPEDIAby Unity Nodes
Canton Network docsSplice APIs › Splice Daml Packages › splice-wallet

Splice.Wallet.TopUpState

Updated 12-11-2026

Templates

template ValidatorTopUpState
The state of a given top-up loop. Records the last time when this validator purchased traffic for this sequencer member in order to:
  1. allow for crash fault tolerant deduplication of traffic purchases
  2. allow enforcing a rate limit to prevent the validator from spending too much on traffic purchases.
Signatory: validator
FieldTypeDescription
dsoParty
validatorPartyThe validator operator purchasing traffic for the given sequencer member
memberIdTextThe id of the sequencer member (participant or mediator) for which traffic has been purchased
synchronizerIdTextThe id of the synchronizer for which this contract tracks purchased extra traffic
migrationIdIntThe migration id of the synchronizer for which this contract tracks purchased extra traffic
lastPurchasedAtTimeTime when the traffic was last purchased by the validator for the given sequencer member
  • Choice Archive Controller: validator Returns: () (no fields)

Functions

initialValidatorTopUpState : Party -> Party -> Text -> Text -> ValidatorTopUpState