Skip to content
Open app

Fees and PLAZA

Plaza charges a protocol fee on withdrawals only. The fee buys PLAZA and burns it.

The protocol fee

Plaza takes a fee on withdrawals. Deposits, private transfers and ragequits pay none.

The rate is fee_bps in the program's Config, in basis points from 0 to 10,000, and the fee goes to fee_recipient in the same account. Both are set at init and changed by the admin through set_fee. For a withdrawal of amount base units:

fee
fee = floor(amount × fee_bps / 10000)
destination receives amount − fee

At 30 bps, a withdrawal of 10,000,000 lamports pays 9,970,000 to the destination and 30,000 to the fee recipient.

transact pays both parts in the instruction that settles the withdrawal: the destination first, then the fee recipient, in the withdrawal's own mint. The rate is also hashed into the spend's intent, so a withdrawal is proven against the rate it pays and fails if the rate changed after it was proven.

A receipt shows amount gross and fee separately. The fee recipient is C2E4zx7ag3YhXJRo69p6m9w447CLrUtJntGchxZ3pUbh.

The network fee is separate: the fee payer pays it to Solana, and for a relayed spend the fee payer is the relayer.

PLAZA

FieldValue
NamePlaza
TickerPLAZA
Supply1,000,000,000
LaunchFair launch with a developer allocation
MintSet at launch

The withdrawal fee buys PLAZA through Jupiter and burns it. The fee recipient collects fees in every mint withdrawals use; a crank swaps them for PLAZA through Jupiter and burns what it buys.