Skip to content

Approval id — caller picks; usually a fresh UUID.

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:400

Properties

approvalId

approvalId: string

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:410

Approval id — caller picks; usually a fresh UUID.


denom

denom: string

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:414

Coin denom — must match the faucet's coinTransfer denom.


detailsDescription?

optional detailsDescription?: string

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:418

Optional override for details.description. Defaults to a short English string.


detailsName?

optional detailsName?: string

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:416

Optional override for details.name. Defaults to "Recurring Approval".


firstIntervalStartTime

firstIntervalStartTime: bigint

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:404

First charge window's start time, in ms since epoch.


subscriptionApproval

subscriptionApproval: iCollectionApprovalWithDetails<bigint>

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:402

The faucet (collection-side) subscription approval this recurring approval consents to.


tokenIds

tokenIds: iUintRange<bigint>[]

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:412

Token ids the subscription mints. Lifted directly from the faucet approval.


transferTimes

transferTimes: UintRangeArray<bigint>

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:408

Outer window during which the recurring approval is active. Typically UintRangeArray.FullRanges().


ubadgeTipAmount

ubadgeTipAmount: bigint

Defined in: packages/bitbadgesjs-sdk/src/core/subscriptions.ts:406

Optional tip added on top of the base subscription amount each interval. Pass 0n for no tip.

Edit this page on GitHub