Skip to main content
Version: 1.16.1

Interface: SetRateLimitConfigParams

Defined in: cct/canton/token-pool/operations/set-rate-limit-config.ts:37

Parameters shared by setRateLimitConfig generation and execution.

Properties​

capacity​

capacity: bigint

Defined in: cct/canton/token-pool/operations/set-rate-limit-config.ts:45

Bucket capacity, in the pool's local decimals.


isEnabled​

isEnabled: boolean

Defined in: cct/canton/token-pool/operations/set-rate-limit-config.ts:43

Whether the limiter enforces (false = unlimited, and requires zero capacity/rate).


poolInstanceAddress​

poolInstanceAddress: string

Defined in: cct/canton/token-pool/operations/set-rate-limit-config.ts:39

Pool InstanceAddress (0x<64-hex> or "instanceId@poolOwner"), of either pool type.


rate​

rate: bigint

Defined in: cct/canton/token-pool/operations/set-rate-limit-config.ts:47

Refill rate (tokens/second), in the pool's local decimals.


rateLimiterInstanceAddress​

rateLimiterInstanceAddress: string

Defined in: cct/canton/token-pool/operations/set-rate-limit-config.ts:41

RateLimiter raw instance address ("instanceId@poolOwner"); must be one the pool's lanes reference.