Rootstock Quick Start Guide | Exploring Rootstock Transactions
In the previous section, we set up a browser extension that is a crypto wallet, MetaMask. We connected to the Rootstock Testnet, and loaded this up with Rootstock’s cryptocurrency, RBTC, and an Rootstock-based token, RIF.
Note, if you have yet to do the above, we encourage you to go back and complete that step first. See: Using Rootstock in the browser.
Block Explorer
Now that we are set up, let’s explore some transactions! The Rootstock network is an immutable public ledger. Let’s dissect that phrase:
- Ledger: An ordered list of transactions recorded in some form
- Immutable: The way this ledger is recorded and stored means that any existing transactions may not be deleted or modified. You may also think of it as being an “append-only” ledger.
- Public: The contents of this ledger are open and transparent, therefore anyone connected to this network can view every single transaction in history.
This is where block explorers come in. They are a special type of software that connect to a blockchain network, and display the data from this immutable public ledger.
Since it is open and transparent, there is nothing stopping multiple block explorers from displaying the data in a single blockchain. This is certainly true for Rootstock, and there are multiple block explorers. We’ll use the canonical one here, however, feel free to use other block explorers too!
View account in the block explorer
Watch this short video demonstrating how to view an account in the block explorer.
For the Rootstock Mainnet, we would go to explorer.rsk.co
.
However, since we are currently connected to the Rootstock Testnet, we go to explorer.testnet.rsk.co
instead.
Once you are there, you should see the main screen.
Next, open up MetaMask, and click on the address to copy it.
Then paste your address into the search box in the block explorer. The Rootstock Block Explorer will automatically detect that this is an address and perform a lookup within the blockchain data. After the little animation, you should see the address being displayed.
You should see the "Balance" for this address, which should match the balance that you have received from the tRBTC Faucet earlier. If you scroll down in the block explorer, you should see a list of transactions.
You should see 2 transactions: One in which the tRBTC Faucet transferred the current cryptocurrency into this address, and another in which the tRIF Faucet transferred the current tokens to this address.
You should also see a few other “tabs” in this section, and one of them is “Tokens”. Click on this to see your tokens.
Here you should see the balance of the RIF tokens that you have.
Transfer tRBTC from one account to another
So far, you have not made any transactions from your address. The transactions that you see when you view the address in the block explorer were made from other addresses (in this case, a couple of Testnet faucets). Now, it’s time for you to initiate your own transactions!
Watch this short video demonstrating how to transfer tRBTC from one account to another.
We’ll start by transferring cryptocurrency from your address, back to the faucet’s address.
In your address page, under transactions, you should see the “from” address of the RBTC Testnet Faucet. Click on the “copy” icon (looks like 2 sheets of paper stacked).
Then open up MetaMask, and in the main account screen, select the “Assets” tab, then select “tRBTC”, then select “Send”. In the field under “Add recipient”, paste the address that you copied earlier.
Assets Tab
Send tRBTC
Convert Address to Lowercase
If you get the above error, you will need to convert your address to lowercase, because MetaMask does not yet support the EIP-1191 checksum standard used by Rootstock. See the Checksum section of Account Based Rootstock Addresses for more information.
Address Detected
Confirm Transactions
Transaction Processing
Transaction Successful View Sent Transaction
Transfer tRIF from one account to another
Watch this short video demonstrating how to transfer tRIF from one account to another.
For the RIF Testnet Faucet:
1- Go to faucet.rifos.org
, you will take similar steps to the one above but this time you will send tRIF back to the RIF Testnet faucet address instead.
2- Copy the Faucet Address
3- Open Metmask and click on the asset - tRIF
4- Click on the send button
5- Paste your address in the address bar and click on next
If you get an error titled “Not ETH network, set to lowercase”, you will need to convert your address to lowercase, because MetaMask does not yet support the EIP-1191 checksum standard used by Rootstock. See the Checksum section of Account Based Rootstock Addresses for more information.
6- Click the Next button
7- Click on Confirm
8- Transaction processing
9- Transaction Successful
10- View the Transaction
Why RBTC balance decreases (gas)
You may have noticed that when you sent tRBTC, the tRBTC balance decreased by slightly more than the amount that you sent. You may also have noticed that when you sent tRIF, the tRBTC balance also decreased by a small amount, even though only tRIF were sent in that transaction.
You would have seen this in the transaction confirmation screens when you confirmed each transaction.
tRBTC Gas Fee
tRIF Gas Fee
This is not an error, it is simply a fundamental aspect of how blockchain networks function - any time you add a transaction to the blockchain, you must pay the network a fee to compensate them for their computational costs.
View transactions in the block explorer
When you performed each of the transactions, you should have received notifications in popups.
However, if you missed this, not to worry, you can also find this within the transaction history within MetaMask. To do so, within the main screen of MetaMask, click on the “Activity” tab. You’ll see the list of the transactions.
Then you click on any transaction, and click on the arrow button beside copy button named transaction ID, this takes you to the Testnet explorer
If you clicked on the popup notification, or if you find it within the “Activity” tab, either way, this should open up the block explorer with the selected transaction selected.
For the transaction of the tRBTC transfer, you should see this
You will notice that this transaction has an amount.
For the transaction of the tRIF transfer, you should see this
You will notice that this transaction has a zero amount, but it does emit some events, which is because the smart contract of the RIF token does this.
View network stats
So far we have checked out individual addresses and transactions. These are very detailed and specific information. What if you were after the big picture instead? A bird’s eye view of the Rootstock blockchain as a whole?
For this, we will not use the Rootstock Block explorer, and instead use the Rootstock Stats page.
Here, we can see some very important numbers such as the average block duration, and the merged mining hash rate - and several other important technical indicators of the Rootstock network. A key indicator to look for is the average block time, which should be approximately 33s. Another key indicator to look for is the percentage of the Bitcoin network’s hash rate that is merge mining Rootstock.
Further reading: