Module solana_sdk::account
source · Expand description
The Solana Account
type.
Structs
- An Account with data that is stored on chain
- An Account with data that is stored on chain This will be the in-memory representation of the ‘Account’ struct data. The existing ‘Account’ structure cannot easily change due to downstream projects.
Constants
Traits
Functions
- Compares two ReadableAccounts
- create_accountDeprecatedCreate an
Account
from aSysvar
. - create_account_shared_dataDeprecatedCreate an
Account
from aSysvar
. - Create
AccountInfo
s - Create a
Sysvar
from anAccount
’s data. - Serialize a
Sysvar
into anAccount
’s data.