Using Beam smart contracts with CLI Wallet

Getting Started

Beam compatible binaries are available for all platforms on our main website.
Advanced users that wish to build Beam directly from our source code can see this guide for a more detailed run down.
We strongly recommend for all users, casual and hardcore, that you download the node, CLI wallet in addition to the Desktop wallet. The application for smart contracts is in its infancy, with many unique and helpful smart contracts lacking a graphical interface, meaning they are only available through the Command-Line.
Building out your node and operating the CLI wallet will keep you at the forefront of all the latest and coolest features that Beam has to offer. It is a simple process that only takes a minute.

Getting the Shaders

Beam Smart Contracts deploy via an application called Beam Shaders. Beam Shaders are small (or not so small) programs compatible with several different programming languages before being compiled as a .wasm file since Beam Virtual Machine (BVM) runs on WebAssembly.
No coding experience is necessary; several Beam Shader applications are ready and available to download.
Select from the list of Beam Shader apps and get into some 'shady business!'
As seen from the above example, there are several app folders, i.e., 'Faucet,' 'Dao-core,' and inside each folder will be a list of files that will resemble the following:
The reason for that is that each application comes in two parts. The first is the contract deployed to the blockchain (contract.wasm) and the second allows the wallet to interact with the contract (app.wasm). We suggest creating a shaders folder inside the beam folder with the subfolder with specific apps like faucet.
Now let's see how we can run some apps!

Faucet contract

The Beam Faucet contract allows users to withdraw or deposit small amounts of Beam coins.

All Faucet contract commands

To view all the available contract commands, enter this command:
1
./beam-wallet shader --shader_app_file shaders/faucet/app.wasm -n 127.0.0.1:8501
Copied!
1
./beam-wallet shader --shader_app_file shaders/faucet/app.wasm -n 127.0.0.1:8501
2
​
3
I 2021-10-19.16:16:18.853 Beam Wallet 6.1.12023 (mainnet)
4
I 2021-10-19.16:16:18.854 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
5
I 2021-10-19.16:16:18.854 starting a wallet...
6
I 2021-10-19.16:16:19.093 wallet successfully opened...
7
Executing shader...
8
Shader output: {"roles": {"manager":
9
{"create": {"backlogPeriod": "Height","withdrawLimit": "Amount"},
10
"destroy": {"cid": "ContractID"},"view": {},"view_params": {"cid": "ContractID"},
11
"view_funds": {"cid": "ContractID"},"view_accounts": {"cid": "ContractID"},
12
"view_account": {"cid": "ContractID","pubKey": "PubKey"}},
13
"my_account": {"view": {"cid": "ContractID"},
14
"deposit": {"cid": "ContractID","amount": "Amount","aid": "AssetID"},
15
"withdraw": {"cid": "ContractID","amount": "Amount","aid": "AssetID"}}}}
Copied!

View contract

Be sure you have the latest version of Faucet inside your shaders folder as instructed. The app.wasm file uses Faucet and contract.wasm interacts with the blockchain.
We will use the Beam Faucet contract to retrieve the contractCIDfrom the blockchain for this example.
The Command Line instructions forFaucetare compatible with macOS (Terminal Window), Linux (Shell), and Windows (Command Prompt) but for the example below, we will use Terminal Window commands.

Retrieving the Faucet contract

We assume that your node is running on a local machine at port 8501. If your parameters differ from any of the instructions, please adjust them accordingly.
  1. 1.
    Launch a Terminal Window and change the directory to your Beam CLI wallet by entering the following command:
    1
    cd /wallet_folder
    Copied!
  2. 2.
    Assuming you followed the proper subfolder hierarchy for Faucet, enter the following command:
    1
    ./beam-wallet shader --shader_app_file shaders/faucet/app.wasm -n 127.0.0.1:8501 --shader_args="role=manager,action=view"
    Copied!
    ​
    1
    ./beam-wallet shader --shader_app_file shaders/faucet/app.wasm -n 127.0.0.1:8501 --shader_args="role=manager,action=view"
    2
    ​
    3
    I 2021-10-19.16:16:18.853 Beam Wallet 6.1.12023 (mainnet)
    4
    I 2021-10-19.16:16:18.854 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
    5
    I 2021-10-19.16:16:18.854 starting a wallet...
    6
    I 2021-10-19.16:16:19.093 wallet successfully opened...
    7
    Executing shader...
    8
    I 2021-10-19.16:34:07.670 Tip has not been changed
    9
    I 2021-10-19.16:34:07.674 Current state is 1463705-3c732eee8cdb116f
    10
    Shader output: {"contracts":
    11
    [{"cid": "3fdd4171972875e0ac8f0131b3da047e8323cc9c2c8d53327be427c455d2a716",
    12
    "Height": 1280003}]}
    Copied!
This command will result in a list of Contract IDs from shaders of faucet types currently deployed on the network. It is possible for more than one shader because the Application Shader (app.wasm) can interact with several different Contract Shaders (contract.wasm) of the same type.

Withdraw Beams from contract

To withdraw 0.05 Beams from theFaucetcontract, enter the following command:
1
./beam-wallet shader --shader_app_file shaders\faucet\app.wasm --shader_args="role=my_account,action=withdraw,cid=3fdd4171972875e0ac8f0131b3da047e8323cc9c2c8d53327be427c455d2a716,amount=6100000" -n 127.0.0.1:8501
Copied!
You can replace theCIDparameter with a different contract ID that you received in the previous steps.
A transaction fee of 0.011 Beams automatically subtracts from theFaucetcontract withdrawal. In total, the action draws 0.061 Beams + the transaction fee, leaving the user with 0.05 Beams.
This operation can result in several different outcomes:
  • Each contractFaucetlimits the amount of Beam coins you can withdraw within a given timeframe. These 'constructor parameters' of the shader specify that you should receive the Beams you have requested when you are under that limit.
  • If you exceed this limit, you will receive nothing or aMagical Error 17, depending on the contract implementation.
  • Magical Error 17can also appear for a different glitch within the contract.
But how do I know what are the contract parameters?

Contract parameters

To view all available contract parameters, enter the following:
1
./beam-wallet shader --shader_app_file shaders\faucet\app.wasm --shader_args="role=manager,action=view_params,cid=3fdd4171972875e0ac8f0131b3da047e8323cc9c2c8d53327be427c455d2a716" -n 127.0.0.1:8501
Copied!
1
./beam-wallet shader --shader_app_file shaders\faucet\app.wasm --shader_args="role=manager,action=view_params,cid=3fdd4171972875e0ac8f0131b3da047e8323cc9c2c8d53327be427c455d2a716" -n 127.0.0.1:8501
2
I 2021-10-19.17:06:35.384 Beam Wallet 6.1.12023 (mainnet)
3
I 2021-10-19.17:06:35.385 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
4
I 2021-10-19.17:06:35.386 starting a wallet...
5
I 2021-10-19.17:06:35.744 wallet successfully opened...
6
Executing shader...
7
Shader output: {"params": {"backlogPeriod": 1440,"withdrawLimit": 6100000}}
Copied!
The shader output should resemble the following:
1
"": {"params": {"backlogPeriod": 1440,"withdrawLimit": 6100000}}
Copied!
The above output means you can extract up to 0.061 Beam every 1440 blocks from this Facuet.

Deposit Beams toFaucet

To deposit the 0.05 Beam to the Faucet , enter the following:
1
./beam-wallet shader --shader_app_file shaders\faucet\app.wasm --shader_args="role=my_account,action=deposit,cid=3fdd4171972875e0ac8f0131b3da047e8323cc9c2c8d53327be427c455d2a716,amount=5000000" -n 127.0.0.1:8501
Copied!
You can replace theCIDparameter with any contract ID received from the view contract step.

Create your Faucet

Since the Faucet is not an 'ownable' contract, creating a different faucet contract with the same parameters is impossible. The solution is to create your own parameters.
Be sure you have to contract.wasm file (located in app.wasm folder) file to properly deploy the new contract to the blockchain.
With that out of the way, enter the following command:
1
./beam-wallet shader --shader_app_file shaders/faucet/app.wasm -n 127.0.0.1:8501 --shader_args="role=manager,action=create,backlogPeriod=13,withdrawLimit=520000000" --shader_contract_file shaders/faucet/contract.wasm
Copied!
Assuming a Faucet contract has not run within the last 13 blocks, the contract deployment will be successful, and a new contract will issue the return value.
The final step is to deposit funds into theFaucetcontract and share the contract ID with another user!

BeamX DAO contract

The founding mission behind Beam was to make the Beam ecosystem as decentralized as possible. The introduction of the BeamX DAO is another step towards realizing that founding mission. The BeamX DAO empowers BeamX stakeholders with total control over the governance protocol.
Stakeholders have voting power on every aspect of the ecosystem through the BeamX token.
BeamX stakeholders are encouraged to vote with the personal voting selection, identity, and financial holdings will all remain private.
BeamX has a 100M total supply with a 4-year emission schedule. Earn BeamX tokens by staking your Beam coins.

View all commands for BeamXDAOcontract

To view all DAO contract commands, enter the following:
1
./beam-wallet shader --shader_app_file Shaders\dao-core\app.wasm -n 127.0.0.1:8501
Copied!
1
./beam-wallet shader --shader_app_file Shaders\dao-core\app.wasm -n 127.0.0.1:8501
2
I 2021-10-21.12:12:37.014 Beam Wallet 6.1.12023 (mainnet)
3
I 2021-10-21.12:12:37.015 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
4
I 2021-10-21.12:12:37.015 starting a wallet...
5
I 2021-10-21.12:12:37.229 wallet successfully opened...
6
Executing shader...
7
Shader output: {"roles": {"manager": {"view": {},"explicit_upgrade": {"cid": "ContractID"},
8
"view_params": {"cid": "ContractID"},"my_xid": {},
9
"my_admin_key": {},"prealloc_totals": {"cid": "ContractID"},
10
"prealloc_view": {"cid": "ContractID"},
11
"prealloc_withdraw": {"cid": "ContractID","amount": "Amount"},
12
"farm_view": {"cid": "ContractID"},
13
"farm_get_yield": {"cid": "ContractID","amount": "Amount","hPeriod": "Height"},
14
"farm_totals": {"cid": "ContractID"},
15
"farm_update": {"cid": "ContractID","amountBeamX": "Amount","amountBeam": "Amount","bLockOrUnlock": "uint32_t"}}}}
Copied!

View contract

Retrieve theDAOcontract

Be sure the latest version of thedao-corecontract folder is within theshaders_folder hierarchy as previously instructed. Both app.wasm(Faucet) andcontract.wasmto deploy your DAOcontract.
  1. 1.
    Launch a Terminal Window and change the directory to your Beam CLI wallet by entering the following command:
    1
    cd /wallet_folder
    Copied!
  2. 2.
    Enter the following command:
    1
    ./beam-wallet shader --shader_app_file shaders/dao-core/app.wasm -n 127.0.0.1:8501 --shader_args="role=manager,action=view"
    Copied!
    1
    ./beam-wallet shader --shader_app_file shaders/dao-core/app.wasm -n 127.0.0.1:8501 --shader_args="role=manager,action=view"
    2
    I 2021-10-19.16:16:18.853 Beam Wallet 6.1.12023 (mainnet)
    3
    I 2021-10-19.16:16:18.854 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
    4
    I 2021-10-19.16:16:18.854 starting a wallet...
    5
    I 2021-10-19.16:16:19.093 wallet successfully opened...
    6
    Executing shader...
    7
    Shader output: {"versions": [{"Number": 0,"Height": 1464845,"cid": "3db292122e26df7b216ae89ae7504c9068b87273f149059915c6f4abbf72ee2d"}],
    8
    "contracts": [{"cid": "3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b","Height": 1464852,"min_upgrade_delay": 10000,
    9
    "min_approvers": 1,
    10
    "admins": [{"id": 0,"pk": "cbf7c381febb71d61457cc51d52f5b1ce53b45eee92734d2bdb293d82a25355000"}],
    11
    "current_version": 0}]}
    Copied!
    The result will display the contract registered to the Beam blockchain.
    TheCIDcontract output should resemble the following:
    1
    "contracts": [{"cid": "3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b"
    Copied!

Staking Beam

The minimum amount of Beam coins users must stake in order to receive BeamX rewards is 16 Beams!
To receive BeamX tokens, users must first stake their Beam coins by issuing a contract and claiming their BeamX tokens as rewards. To stake their Beam coins, enter the following command:
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=farm_update,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b,amountBeam=1600000000,bLockOrUnlock=1 -n 127.0.0.1:8501
Copied!
For this example, we will use the minimum 16 Beam coins required to fulfill the staking requirements of this contract.
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=farm_update,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b,amountBeam=1600000000,bLockOrUnlock=1 -n 127.0.0.1:8501
2
I 2021-10-21.19:42:42.354 Beam Wallet 6.1.12023 (mainnet)
3
I 2021-10-21.19:42:42.354 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
4
I 2021-10-21.19:42:42.355 starting a wallet...
5
I 2021-10-21.19:42:42.607 wallet successfully opened...
6
Executing shader...
7
I 2021-10-21.19:42:42.667 Tip has not been changed
8
I 2021-10-21.19:42:42.670 Current state is 1466765-f25f1929fb7fff03
9
Shader output: {}
10
Creating new contract invocation tx on behalf of the shader
11
Comment: Lock/Unlock and get farmed beamX tokens Send 16 BEAM
12
Total fee: 1100000 GROTH
13
I 2021-10-21.19:42:51.192 [784c1ac2d03d4832aa5136d2f3762eb2][1] Get proof for kernel: d973ed7374e571f8
14
I 2021-10-21.19:42:51.206 [784c1ac2d03d4832aa5136d2f3762eb2] Transaction completed
Copied!

View total BeamX farmed

To view the total amount of BeamX earned or 'farmed,' enter thefarm_view command:
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=farm_view,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b -n 127.0.0.1:8501
Copied!
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=farm_view,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b -n 127.0.0.1:8501
2
I 2021-10-21.19:48:56.753 Beam Wallet 6.1.12023 (mainnet)
3
I 2021-10-21.19:48:56.754 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
4
I 2021-10-21.19:48:56.755 starting a wallet...
5
I 2021-10-21.19:48:57.005 wallet successfully opened...
6
Executing shader...
7
I 2021-10-21.19:48:57.069 Sync up to 1466769-c8c91bf474915cfe
8
I 2021-10-21.19:48:57.069 Synchronizing with node: 0% (0/1)
9
I 2021-10-21.19:48:57.081 Synchronizing with node: 100% (1/1)
10
I 2021-10-21.19:48:57.081 Current state is 1466769-c8c91bf474915cfe
11
Shader output: {"farming": {"duation": 268,"emission": 203957381876,"h": 1466769,"h0": 252840},
12
"user": {"beams_locked": 1600000000,"beamX_old": 569592,"beamX_recent": 65919,"beamX": 635511}}
Copied!
The dao-core contract parameters are as follows:
Parameter
Definition
beams_locked
The total number of Beams staked.
beamX_old
The number of BeamX tokens credited to your account.
beamX_recent
BeamX rewards forecast.
beamX
The total amount of BeamX tokens available for withdrawing from staking.

Withdraw BeamX

To view the amount of BeamX available in your wallet with the farm_view command.
To withdraw BeamX, enter the following command:
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=farm_update,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b,amountBeamX=635511 -n 127.0.0.1:8501
Copied!
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=farm_update,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b,amountBeamX=635511 -n 127.0.0.1:8501
2
I 2021-10-21.21:34:07.371 Beam Wallet 6.1.12023 (mainnet)
3
I 2021-10-21.21:34:07.371 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
4
I 2021-10-21.21:34:07.371 starting a wallet...
5
I 2021-10-21.21:34:07.620 wallet successfully opened...
6
Executing shader...
7
I 2021-10-21.21:34:07.682 Tip has not been changed
8
I 2021-10-21.21:34:07.685 Current state is 1466870-f3aa6e59a16e3c3c
9
Shader output: {}
10
Creating new contract invocation tx on behalf of the shader
11
Comment: Lock/Unlock and get farmed beamX tokens Recv 635511 ASSET-7-GROTH
12
Total fee: 1100000 GROTH
13
I 2021-10-21.21:35:06.460 [1a2ca260c4a74a7ca4261c812ba68ed2][1] Get proof for kernel: 7c87ecc149b7c77a
14
I 2021-10-21.21:35:06.475 [1a2ca260c4a74a7ca4261c812ba68ed2] Transaction completed
Copied!

Stake and withdraw with one transaction

To stake additional Beam coins while withdrawing BeamX tokens, enter the following command:
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=farm_update,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b,amountBeamX=635511,amountBeam=10000000,bLockOrUnlock=1 -n 127.0.0.1:8501
Copied!
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=farm_update,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b,amountBeamX=635511,amountBeam=10000000,bLockOrUnlock=1 -n 127.0.0.1:8501
2
I 2021-10-21.21:39:17.636 Beam Wallet 6.1.12023 (mainnet)
3
I 2021-10-21.21:39:17.637 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
4
I 2021-10-21.21:39:17.637 starting a wallet...
5
I 2021-10-21.21:39:17.886 wallet successfully opened...
6
Executing shader...
7
I 2021-10-21.21:39:19.075 Sync up to 1466878-4ee8a74a8f1e1175
8
I 2021-10-21.21:39:19.075 Synchronizing with node: 0% (0/1)
9
I 2021-10-21.21:39:19.076 Synchronizing with node: 100% (1/1)
10
I 2021-10-21.21:39:19.077 Current state is 1466878-4ee8a74a8f1e1175
11
Shader output: {}
12
Creating new contract invocation tx on behalf of the shader
13
Comment: Lock/Unlock and get farmed beamX tokens Send 10000000 GROTH
14
Recv 635511 ASSET-7-GROTH
15
Total fee: 1100000 GROTH
Copied!
To withdraw Beam and BeamX with one transaction, specify "bLockOrUnlock= "in shader_args where : 0 - withdraw Beam , 1 - send Beam
--shader_args role=manager,action=farm_update,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b,amountBeamX=635511,amountBeam=10000000,bLockOrUnlock=1

Dao-core contract parameters

To view the dao-core contract parameters, enter the following command:
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=view_params,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b -n 127.0.0.1:8501
Copied!
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=view_params,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b -n 127.0.0.1:8501
2
I 2021-10-21.22:15:32.925 Beam Wallet 6.1.12023 (mainnet)
3
I 2021-10-21.22:15:32.926 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
4
I 2021-10-21.22:15:32.927 starting a wallet...
5
I 2021-10-21.22:15:33.176 wallet successfully opened...
6
Executing shader...
7
I 2021-10-21.22:15:33.238 Tip has not been changed
8
I 2021-10-21.22:15:33.240 Current state is 1466907-15c917e6c0cdaa1b
9
Shader output: {"params": {"aid": 7,"locked_beamX": 9999983410129195,"locked_beams": 1126598099627933}}
Copied!
The output should resemble the following:
1
Shader output: "{"params": {"aid": 7,"locked_beamX": 9999983410129195,"locked_beams": 1126598099627933}}
2
Where :
3
aid = 7 is asset number
4
locked_beamX = BeamX that are still available
5
locked_beams = Total amount in the contract
Copied!
To view more details such as the number of users staking Beam coins, enter the following command:
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=view_farm,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b -n 127.0.0.1:8501
Copied!
1
./beam-wallet shader --shader_app_file Shaders/dao-core-masternet/app.wasm --shader_args role=manager,action=view_farm,cid=3f3d32e38cb27ac7b5b67343f81cf2f8bc53217eb995cc6c5d78ddc5e7b0642b -n 127.0.0.1:8501
2
I 2021-10-21.22:55:47.434 Beam Wallet 6.1.12023 (mainnet)
3
I 2021-10-21.22:55:47.435 Rules signature: 0-ed91a717313c6eb0, 321321-6d622e615cfd29d0, 777777-1ce8f721bf0c9fa7, 1280000-3eaab6ab65b65f94
4
I 2021-10-21.22:55:47.435 starting a wallet...
5
I 2021-10-21.22:55:48.634 wallet successfully opened...
6
Executing shader...
7
I 2021-10-21.22:55:48.695 Tip has not been changed
8
I 2021-10-21.22:55:48.697 Current state is 1466935-6d5753dbb8b989d0
9
Shader output: {"duation": 435,
10
"total": 100000000000000,
11
"total_users": 1056,
12
"avail": 331050228045,
13
"received": 12621458260,
14
"beam_locked": 1152179812748426}
Copied!
Command paramters from the above output:
Parameter
Definition
total_users
The total numer of Beams currently staked.
avail
The total remaining BeamX coins not yet distributed.
received
The total amount of BeamX coins distributed.
beam_locked
The total Beam coins currently being staked.