amuletRulesConfig

suspend fun amuletRulesConfig(asOf: Instant? = null): AmuletRulesConfig

The AmuletRules configuration effective at asOf (/v0/amulet-rules): the USD transfer-fee schedule, synchronizer traffic pricing, and the active synchronizer id — the reads that feed TransferFeeEstimator and ValidatorClient.buyTraffic.

AmuletRules publishes a configSchedule (initial value plus future values with effective times); this resolves it the way the ledger does (Splice.Schedule.getValueAsOf): the last future value effective at or before asOf, else the initial value. Current networks always have an empty futureValues (CIP-0107 forbids scheduling new ones).

Parameters

asOf

the instant to resolve the config schedule at (default: now).