Class: Solana::Ruby::Kit::Accounts::Account
- Inherits:
-
T::Struct
- Object
- T::Struct
- Solana::Ruby::Kit::Accounts::Account
- Defined in:
- lib/solana/ruby/kit/accounts/account.rb
Overview
A fully-populated Solana account including its address and data. Mirrors TypeScript’s ‘Account<TData, TAddress>`.
data is either:
- a binary String (when the account is encoded / raw bytes), or
- any Ruby object (when the account has been decoded by a codec).