Let’s explore how data works on SOON Network. All data on SOON is stored in accounts - think of these as unique containers that can hold either data or program code. In this guide, we’ll learn to read and understand different types of accounts.
First, let’s examine the simplest type of account - your own wallet. Open this example in Solana Playground:
When you run this code, you’ll see something like:
Understanding the output:
The Address
is your unique identifier on SOON Network
Balance
shows your holdings in SOL (1 SOL = 1,000,000,000 lamports)
Owner
(all 1’s) is the System Program that manages basic accounts
Executable: false
means this account stores data, not program code
Data length: 0
is normal - basic accounts only store SOL balances
Now let’s look at something more complex - token accounts. Open this example in Solana Playground:
The output shows two important things:
Notice how the Token Program:
Is executable: true
because it contains program code
Has a large data size (133352 bytes) storing its instructions
Your wallet starts with no token accounts - these get created when you start using tokens
Want to see all accounts owned by a program? Open this example in Solana Playground:
This code shows you:
How many accounts a program owns
The first few accounts’ addresses
Their SOL balances and data sizes
Real-time monitoring is crucial for responsive applications. Try this example in Solana Playground:
Run this code and you’ll see:
Real-time balance updates when your account changes
Transaction confirmations as they happen
Network slot numbers showing when events occur
Try requesting multiple airdrops while this runs to see how the monitoring works!
Now that you understand how to read different types of accounts on SOON Network, you’re ready to learn how to write data through transactions. Continue to the next section to start sending your own transactions.
Let’s explore how data works on SOON Network. All data on SOON is stored in accounts - think of these as unique containers that can hold either data or program code. In this guide, we’ll learn to read and understand different types of accounts.
First, let’s examine the simplest type of account - your own wallet. Open this example in Solana Playground:
When you run this code, you’ll see something like:
Understanding the output:
The Address
is your unique identifier on SOON Network
Balance
shows your holdings in SOL (1 SOL = 1,000,000,000 lamports)
Owner
(all 1’s) is the System Program that manages basic accounts
Executable: false
means this account stores data, not program code
Data length: 0
is normal - basic accounts only store SOL balances
Now let’s look at something more complex - token accounts. Open this example in Solana Playground:
The output shows two important things:
Notice how the Token Program:
Is executable: true
because it contains program code
Has a large data size (133352 bytes) storing its instructions
Your wallet starts with no token accounts - these get created when you start using tokens
Want to see all accounts owned by a program? Open this example in Solana Playground:
This code shows you:
How many accounts a program owns
The first few accounts’ addresses
Their SOL balances and data sizes
Real-time monitoring is crucial for responsive applications. Try this example in Solana Playground:
Run this code and you’ll see:
Real-time balance updates when your account changes
Transaction confirmations as they happen
Network slot numbers showing when events occur
Try requesting multiple airdrops while this runs to see how the monitoring works!
Now that you understand how to read different types of accounts on SOON Network, you’re ready to learn how to write data through transactions. Continue to the next section to start sending your own transactions.