Describes the purpose for which an account participates in a transaction.

Every account that participates in a transaction can be read from, but only ones that you mark as writable may be written to, and only ones that you indicate must sign the transaction will gain the privileges associated with signers at runtime.

isSigner isWritable
AccountRole.READONLY
AccountRole.WRITABLE
AccountRole.READONLY_SIGNER
AccountRole.WRITABLE_SIGNER

Enumeration Members

READONLY
READONLY_SIGNER
WRITABLE
WRITABLE_SIGNER