QuickAccountMeta extension

Extension providing quick methods to create AccountMeta instances with predefined configurations.

on

Methods

toReadOnly() AccountMeta

Available on SolAddress, provided by the QuickAccountMeta extension

Create an AccountMeta instance indicating the account is neither a signer nor writable.
toSigner() AccountMeta

Available on SolAddress, provided by the QuickAccountMeta extension

Create an AccountMeta instance indicating the account is a signer but not writable.
toSignerAndWritable() AccountMeta

Available on SolAddress, provided by the QuickAccountMeta extension

Create an AccountMeta instance indicating the account is both a signer and writable.
toWritable() AccountMeta

Available on SolAddress, provided by the QuickAccountMeta extension

Create an AccountMeta instance indicating the account is writable but not a signer.