QuickAccountMeta extension
Extension providing quick methods to create AccountMeta instances with predefined configurations.
- on
Methods
-
toReadOnly(
) → AccountMeta - Create an AccountMeta instance indicating the account is neither a signer nor writable.
-
toSigner(
) → AccountMeta - Create an AccountMeta instance indicating the account is a signer but not writable.
-
toSignerAndWritable(
) → AccountMeta - Create an AccountMeta instance indicating the account is both a signer and writable.
-
toWritable(
) → AccountMeta - Create an AccountMeta instance indicating the account is writable but not a signer.