Skip to main content

SolanaAccountData

Type Alias SolanaAccountData 

Source
pub type SolanaAccountData = Account;
Expand description

Re-export solana Account for interface types.

Aliased Type§

#[repr(C)]
pub struct SolanaAccountData { pub lamports: u64, pub data: Vec<u8>, pub owner: Pubkey, pub executable: bool, pub rent_epoch: u64, }

Fields§

§lamports: u64

lamports in the account

§data: Vec<u8>

data held in this account

§owner: Pubkey

the program that owns this account. If executable, the program that loads this account.

§executable: bool

this account’s data contains a loaded program (and is now read-only)

§rent_epoch: u64

the epoch at which this account will next owe rent