AccountMeta.writeable constructor

AccountMeta.writeable({
  1. required Ed25519HDPublicKey pubKey,
  2. required bool isSigner,
})

Constructs a writeable account that is not signer with pubKey public key. To make it a signing account set isSigner to true.

Implementation

factory AccountMeta.writeable({required Ed25519HDPublicKey pubKey, required bool isSigner}) =>
    AccountMeta(pubKey: pubKey, isWriteable: true, isSigner: isSigner);