Skip to content

Function: buildSetDefaultUsesTx() ​

buildSetDefaultUsesTx(ctx, defaultUses): Transaction

Defined in: ptb.ts:298

Change the default uses for future mints of a single-use gate (N ⇒ single-use with N). The pass kind is fixed at creation: moving between unlimited (0) and single-use aborts with E_USES_KIND_IMMUTABLE.

Parameters ​

ctx ​

GateAdminContext

defaultUses ​

number | bigint

Returns ​

Transaction

2026 Meddleware. All jams preserved.