generateAuth method

TransactionResult Function(Transaction) generateAuth()

Mint owner authority for the transaction sender. A hot-potato Auth consumed by the very next account-loading call (load_account_mut inside deposit_funds / withdraw_funds / an app's own entrypoints).

Implementation

TransactionResult Function(Transaction) generateAuth() =>
    (tx) => account.generateAuth(config: _generatedConfig)(tx);