AccountMeta
Represents an account's address and metadata about its mutability and whether it must be a signer of the transaction.
Typically, you will use one of its subtypes.
| role | isSigner | isWritable | |
|---|---|---|---|
| ReadonlyAccount<TAddress> | AccountRole.READONLY | No | No | 
| WritableAccount<TAddress> | AccountRole.WRITABLE | No | Yes | 
| ReadonlySignerAccount<TAddress> | AccountRole.READONLY_SIGNER | Yes | No | 
| WritableSignerAccount<TAddress> | AccountRole.WRITABLE_SIGNER | Yes | Yes | 
Example
Extended by
Type Parameters
| Type Parameter | Default type | 
|---|---|
| TAddressextendsstring | string | 
Properties
| Property | Modifier | Type | 
|---|---|---|
| address | readonly | Address<TAddress> | 
| role | readonly | AccountRole |