Skip to content

Function: buildAirdropTx() ​

buildAirdropTx(ctx, recipient, commissionMist): Transaction

Defined in: ptb.ts:327

AdminCap-gated grant (airdrop) of the gate's NFT flavour to recipient. The admin pays the platform the commission a purchase would carry (gateCommissionMist; 0 for a free gate), split from gas as commissionMist; any excess is refunded on-chain.

Parameters ​

ctx ​

GateAdminContext

recipient ​

string

commissionMist ​

number | bigint

Returns ​

Transaction

2026 Meddleware. All jams preserved.