HasAddress
Represents any object that exposes a Solana address through an address property.
This is a structural interface that many Kit types already satisfy — for instance,
TransactionSigner, AccountMeta and the fee payer of a transaction message. Frameworks
that provide their own wrapper classes around addresses can implement this interface so
that their values are accepted wherever an address-bearing object is expected — e.g. by
the instruction builders of generated program clients.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TAddress extends string | string | Supply a string literal to define an object having a particular address. |