Class: Solana::Ruby::Kit::Accounts::Account

Inherits:
T::Struct
  • Object
show all
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).