Interfaces
AccountSignerMeta
An extension of the AccountMeta type that allows us to store TransactionSigners inside it.
Note that, because this type represents a signer, it must use one the following two roles:
- AccountRole.READONLY_SIGNER
- AccountRole.WRITABLE_SIGNER
Example
Extends
AccountMeta
<TAddress
>
Type Parameters
Type Parameter | Default type | Description |
---|---|---|
TAddress extends string | string | Supply a string literal to define an account having a particular address. |
TSigner extends TransactionSigner <TAddress > | TransactionSigner <TAddress > | Optionally provide a narrower type for the TransactionSigner to use within the account meta. |