Skip to content

Type Alias: TopupParams ​

ts
type TopupParams = object;

Properties ​

amount ​

ts
amount: number | bigint;

pool? ​

ts
optional pool: Address;

Pools program pool whose accrued emission is claimed into the rewards vault before the topup (a pool with claim type AddFee and the rewards vault as beneficiary). Defaults to programs.rewardsPoolAddress from the client config.