AccountMeta.readonly constructor
AccountMeta.readonly({
- required Ed25519HDPublicKey pubKey,
- required bool isSigner,
Constructs a readonly account that is not signer has pubKey public key.
To make it a signing account set isSigner to true.
Implementation
factory AccountMeta.readonly({required Ed25519HDPublicKey pubKey, required bool isSigner}) =>
AccountMeta(pubKey: pubKey, isWriteable: false, isSigner: isSigner);