create account

A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment by detectblock

View this thread on: hive.blogpeakd.comecency.com
· @detectblock ·
$7.94
A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment
![гайд по All about Resource Credits (RC).png](https://files.peakd.com/file/peakd-hive/detectblock/EoGvXWo46qaWNAiqCgAdNJAMUyoboDPUKKvFTVng1UTEQisi6wiUBiEsVkvNCT6PUhV.png)

In the Hive ecosystem, there are no transaction fees in the native coin or any other currency. They simply don't exist. Instead, a Resource Credits (RC) system is implemented at the protocol level. This mechanism makes the network resistant to spam transactions and improves the user experience. All your interactions with the blockchain are free in terms of USD cost. Transactions are "paid for" using RC.

## Why are RCs a necessary measure?

Every interaction you have with the blockchain involves requests to it, meaning that each time you perform a transaction—whether you're writing an article, giving a like, making an HIVE transfer, leaving a comment, logging into interfaces, taking actions in games, publishing content, etc.—you're essentially interacting with the blockchain. 

Theoretically, malicious actors could launch a spam attack on the network (similar to a DDoS attack on centralized servers, where servers can't handle the volume of requests and go offline). By generating an overwhelming number of requests, they could significantly slow down the entire blockchain or, worse, temporarily "take it down." RC is the mechanism that makes the network resilient to such attacks while ensuring that the user experience remains entirely free.

This makes the Hive blockchain an ideal environment for microtransactions, the development of decentralized applications (Dapps), social networks, online games, and much more. You can send any amount of HIVE to wallets without worrying about transaction fees exceeding the value of the transfer. You can play games on the blockchain (involving a large number of transactions) without the fear of going bankrupt. However, if you run out of RC, you may need to "recharge your battery" before making the next transaction.

## How does RC work, and how is the battery recharged?

Every new user is assigned a specific amount of RC (Resource Credits) when registering a new account. This amount is fixed. If you’ve just created a new account and have no HIVE coins in your balance or staked, the RC you initially have will be enough to write a short introductory post or leave a few comments.  

RC functions like a battery. When you use RC, the "battery" gradually discharges as credits are spent on transactions within the Hive blockchain. However, the battery recharges automatically, and you don’t need to do anything—just wait.  

If you completely deplete your RC, it will take approximately 5 days for a full recharge. Each day, the RC battery recharges by about 20%. If your account has no HP (Hive Power) balance, your actions will be limited, and this will become noticeable. When you don’t have enough RC left (most of it has been used for transactions), you’ll encounter an error when trying to perform another transaction.

To regain the ability to interact with the network and spend RC, you have two options:  

1. Simply wait for your battery to recharge—this requires only patience.  
2. Stake some amount of HIVE, temporarily converting it into Hive Power (HP).  

For daily social interactions within the Hive blockchain and interfaces (writing articles, participating in comments), having a balance of 10–30 HP is sufficient. This amount is enough for almost all everyday tasks.

> More HP in your balance means more available RC. Think of it as increasing the capacity of your RC "battery"—the more Hive Power you hold, the more transactions and interactions you can handle without running out of credits. This allows for greater flexibility and freedom in engaging with the Hive ecosystem, whether you're writing posts, commenting, or playing games.

There are two more ways to increase the amount of RC in your balance, but these will depend not only on you.

## Delegation of HP and RC.

The blockchain has the capability to delegate RC and HP. This means that a user with a large amount of RC on their balance (who simply doesn't have time to use them all) can choose to send part or all of their RC to any account in the network at their discretion.  

If you have good friends who are already established users in Hive, you can ask them if they could temporarily delegate some of their RC to you until you accumulate a certain amount of HP in your balance. For active users aiming to increase their HP, earning 10-30 HP is not a big challenge—it’s more than achievable in a relatively short period, and within a few weeks, you likely won’t need RC delegation anymore.

HP delegation works on the principle that the blockchain doesn’t care whether the HP in your balance is staked by you or delegated by someone else—RC will be assigned in the same way. If you have good contacts in the network, you can also ask for temporary delegation of a small amount of HP until you accumulate your own. There are also various community programs that offer HP delegation to new users.

## Transaction costs on the blockchain in RC

> The transaction cost in the network is a dynamic value (not constant). It changes up or down depending on how heavily the network is loaded with the overall number of transactions.

This means that when the total number of transactions in the network increases, the cost of transactions in RC rises. Conversely, when the total number of transactions decreases, the cost in RC decreases as well. This is how the RC principle works.

*If malicious actors start increasing the number of spam transactions in the network at an exponential rate, their RC will quickly be depleted. In order to continue the spam attack, they would need to invest finances into the network, thus making the network stronger. This mechanism makes spam attacks a pointless waste of time. The game isn’t worth the candles.*

All transactions have a certain cost, but as mentioned earlier, with 10-30 HP in your balance, you won’t need to worry about RC (for social interactions). With this amount of RC, you can perform any transactions except for a few. One example of such a transaction is creating a new account for RC. As of the time this article was written, the cost of this transaction in HP equivalent is about 6695 HP, which is a significant amount for many, but this is done to prevent mass creation of spam accounts. If you want to create a new account, you need to pay (around 3 HIVE) or invest in HP. There is also the possibility of creating free accounts in the ecosystem. https://signup.hive.io/

As mentioned earlier, transaction costs constantly change depending on the network load. If you're interested in seeing the current costs, you can follow the link below and click the "Resource Credits" button. There, you'll find a table showing the transaction costs in RC and the required equivalent balance in HP. This is how it looks at the time of writing the article.
https://beacon.peakd.com/ 

![Screenshot_13.jpg](https://files.peakd.com/file/peakd-hive/detectblock/23sxozwpQzyAypCMGrejcYiuhs9gWEtnyAxZLvEGBzoFR7ezNoY14Kim4DweK6DHJSYiL.jpg)


![Screenshot_14.jpg](https://files.peakd.com/file/peakd-hive/detectblock/2424K9gKidn1Nd8sVpw6xBKzpMSwjFSrndp6KpXV5dcMpE7KjYxQh6q6NMmPgBgT8CB95.jpg)

PS... When I was trying to figure all of this out, it took me a lot of time, particularly because I was curious about how to create a new account for RC. I tried searching within peakd.com, I tried Google search, but none of it helped. I wrote to the community’s Telegram channel and received a reply with a link to https://beacon.peakd.com from @arcange, for which I am very grateful to him. Perhaps someone else will also want to understand how this works, and this article was written for that purpose.

PSPS... During my search for information outside the blockchain, I came across one phrase from @gtg that I liked:
> ask questions on chain, then people will answer on chain and the knowledge will stay on chain to be easier to find in future :-)   

If you have anything to add — leave a comment.  
If you have any questions — leave a comment.  
If you have suggestions or wishes — leave a comment.  
Thank you for your attention, feel free to come back.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 8 others
properties (23)
authordetectblock
permlinka-complete-guide-about-resource-credits-rc-and-where-to-find-out-the-transaction-value-in-the-moment
categoryhive
json_metadata{"app":"peakd/2024.11.3","format":"markdown","tags":["hive","rc","newbies","guide"],"users":["arcange","gtg"],"image":["https://files.peakd.com/file/peakd-hive/detectblock/EoGvXWo46qaWNAiqCgAdNJAMUyoboDPUKKvFTVng1UTEQisi6wiUBiEsVkvNCT6PUhV.png","https://files.peakd.com/file/peakd-hive/detectblock/23sxozwpQzyAypCMGrejcYiuhs9gWEtnyAxZLvEGBzoFR7ezNoY14Kim4DweK6DHJSYiL.jpg","https://files.peakd.com/file/peakd-hive/detectblock/2424K9gKidn1Nd8sVpw6xBKzpMSwjFSrndp6KpXV5dcMpE7KjYxQh6q6NMmPgBgT8CB95.jpg"]}
created2024-12-09 11:46:45
last_update2024-12-09 11:46:45
depth0
children13
last_payout2024-12-16 11:46:45
cashout_time1969-12-31 23:59:59
total_payout_value3.976 HBD
curator_payout_value3.966 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8,223
author_reputation3,981,051,084,133
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,068,451
net_rshares19,379,394,123,429
author_curate_reward""
vote details (72)
@andablackwidow ·
Oh, I didn't know someone made such convenient page for average RC costs. I'd normally just look directly at RC stats in log or call `rc_api.get_rc_stats`. Then again chain is currently so much underused that RC costs are trivial, so it doesn't even make sense to look at them :o)

> Every new user is assigned a specific amount of RC (Resource Credits) when registering a new account. This amount is fixed.

It is not changing for account that was created, but it changes in time for different accounts - generally account created later will have slightly smaller RC adjustment value compared to older accounts. It is the value derived from account creation fee by converting it to VESTS at a price from the moment of account creation. Since that price changes, so does the amount of RC. VESTS are gradually getting more expensive (that's how stake holders are getting part of inflation) so the same fee gets you less VESTS later, which means less RC adjustment. Except accounts created before RC was introduced (Hardfork 20) have their RC adjustment fixed with value of 1 HP from the moment of that hardfork, regardless of how much fee went to their creation. Note, it does not matter if the account was created with "free account token" - for the purpose of RC adjustment it counts as full fee from the moment of account creation. Also note that the fee is decided by witnesses, so if they vote to set it to f.e. 30 HIVE instead of 3 like it is today, then  accounts created with bigger fee (of token when bigger fee is active) will receive proportionally bigger RC adjustment.

For more technical description of RC I'm going to shamelessly link [my old article](https://hive.blog/hive-139531/@andablackwidow/are-customjson-going-to-be) and also another one [about RC stats](https://hive.blog/hive-139531/@andablackwidow/rc-stats-in-1-27) :o)
👍  
properties (23)
authorandablackwidow
permlinkre-detectblock-20241210t5182194z
categoryhive
json_metadata{"tags":["hive","rc","newbies","guide"],"app":"ecency/3.0.35-surfer","format":"markdown+html"}
created2024-12-10 04:18:21
last_update2024-12-10 04:18:21
depth1
children1
last_payout2024-12-17 04:18:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,845
author_reputation92,597,879,494,381
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,088,822
net_rshares11,897,977,060
author_curate_reward""
vote details (1)
@detectblock ·
Thanks for the feedback. When I was trying to figure out this topic, I spent a few hours trying to find something similar to what you wrote, but I couldn't, so I had to make do with what information I could find.

Thanks to your comment, I now know where I can find a detailed technical description.
properties (22)
authordetectblock
permlinkre-andablackwidow-soa253
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2024.11.3"}
created2024-12-10 12:17:30
last_update2024-12-10 12:17:30
depth2
children0
last_payout2024-12-17 12:17:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length299
author_reputation3,981,051,084,133
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,095,194
net_rshares0
@arcange ·
$0.03
Excellent post and thank you for the mention. 

Here is my feedback:

> Every interaction you have with the blockchain involves requests to it ...

It is important to distinguish between requests (reading data from the blockchain) and transactions (storing new data on the blockchain). The first one is completely free and does not require RC, only the second one requires RC.

> By generating an overwhelming number of requests, they could significantly slow down the entire blockchain or, worse, temporarily "take it down."

Given what is defined above, this is not possible. Requests are addressed to public API nodes, which could have difficulty responding to an overload, but it would be necessary to attack all API nodes simultaneously to block access (meaning reading) from the blockchain. 

Again, this is only valid for those who rely on a public API node. Nothing prevents you from running private nodes.

Therefore, to take down the blockchain you need to take down the internet.

> RC is the mechanism that makes the network resilient to such attacks

This is not correct. RC is what gives a cost to the recording of transactions, even if it is not (directly) financial.

RC prevents an actor (using one or multiple accounts) from spamming the blockchain **for free**, filling blocks with transactions to prevent others from recording their transactions. In no case will this slow down the blockchain, which will continue to function normally but will delay excess transactions. But from a user experience perspective, there will indeed be a feeling of slowdown.


👍  ,
properties (23)
authorarcange
permlinkre-detectblock-sodlc1
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2024.11.3","image":[],"users":[]}
created2024-12-12 10:04:51
last_update2024-12-12 10:04:51
depth1
children4
last_payout2024-12-19 10:04:51
cashout_time1969-12-31 23:59:59
total_payout_value0.016 HBD
curator_payout_value0.017 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,577
author_reputation1,146,633,784,083,859
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,148,858
net_rshares94,240,081,137
author_curate_reward""
vote details (2)
@detectblock ·
Thank you very much for the feedback. You have a different level of knowledge; I am still learning. The information in your comment is very valuable.  

I just want to reflect on a thought experiment. What if we imagine that RC doesn't exist—what, then, would prevent a malicious actor from using software to create millions, billions, or even trillions of transactions (what could possibly limit that number)? In this case, the transaction queue would keep growing, and the waiting time for regular user transactions would also increase. If we imagine this playing out, with transaction processing times reaching, say, one week or even one month, wouldn't that essentially mean collapse?
properties (22)
authordetectblock
permlinkre-arcange-sodoh6
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2024.11.3"}
created2024-12-12 11:12:54
last_update2024-12-12 11:12:54
depth2
children3
last_payout2024-12-19 11:12:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length688
author_reputation3,981,051,084,133
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,149,721
net_rshares0
@arcange ·
Transactions have a default expiration timeout of 60 seconds, they won't stay in the queue forever.
Before RC was implemented, this was the only protection mechanism. Now we have an additional one :)<div><a href="https://engage.hivechain.app">![](https://i.imgur.com/XsrNmcl.png)</a></div>
properties (22)
authorarcange
permlinkre-1734003287864
categoryhive
json_metadata{"app":"engage"}
created2024-12-12 11:34:48
last_update2024-12-12 11:34:48
depth3
children2
last_payout2024-12-19 11:34:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length289
author_reputation1,146,633,784,083,859
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,149,975
net_rshares0
@beerlover ·
<div class='pull-right'>https://files.peakd.com/file/peakd-hive/beerlover/yiuU6bdf-beerlover20gives20BEER.gif<p><sup><a href='https://hive-engine.com/?p=market&t=BEER'>View or trade </a> <code>BEER</code>.</sup></p></div><center><br> <p>Hey @detectblock, here is a little bit of <code>BEER</code> from @joanstewart for you. Enjoy it!</p> <p>Do you want to <a href='https://friends.beersaturday.com/'>win <b>SOME BEER</b> together with your friends </a> and draw the <code>BEERKING</code>.</p> </center><div></div>
properties (22)
authorbeerlover
permlinkre-detectblock-a-complete-guide-about-resource-credits-rc-and-where-to-find-out-the-transaction-value-in-the-moment-20241213t161007713z
categoryhive
json_metadata{"app":"beerlover/3.0","language":"rust","developer":"wehmoen"}
created2024-12-13 16:10:06
last_update2024-12-13 16:10:06
depth1
children0
last_payout2024-12-20 16:10:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length514
author_reputation25,827,066,940,299
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,181,662
net_rshares0
@hivebuzz ·
Congratulations @detectblock! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x70/https://hivebuzz.me/@detectblock/upvoted.png?202412090948"></td><td>You received more than 500 upvotes.<br>Your next target is to reach 600 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@detectblock) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out our last posts:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pum-202411-delegations"><img src="https://images.hive.blog/64x128/https://i.imgur.com/fg8QnBc.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202411-delegations">Our Hive Power Delegations to the November PUM Winners</a></td></tr></table>
properties (22)
authorhivebuzz
permlinknotify-1733745501
categoryhive
json_metadata{"image":["https://hivebuzz.me/notify.t6.png"]}
created2024-12-09 11:58:21
last_update2024-12-09 11:58:21
depth1
children0
last_payout2024-12-16 11:58:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length958
author_reputation369,868,774,067,968
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,068,636
net_rshares0
@joanstewart ·
Good breakdown on how RC operates, always need reminder about the engine room, workings beneath the front end.

!BEER
properties (22)
authorjoanstewart
permlinkre-detectblock-sofwwo
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2024.11.3","image":[],"users":[]}
created2024-12-13 16:10:00
last_update2024-12-13 16:10:00
depth1
children1
last_payout2024-12-20 16:10:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length117
author_reputation396,984,569,156,478
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,181,657
net_rshares0
@detectblock ·
$0.03
Thank you, that's nice to hear. When I search for information on a topic, I also learn a lot of new and useful things.
👍  
properties (23)
authordetectblock
permlinkre-joanstewart-sofx2r
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2024.11.3"}
created2024-12-13 16:13:42
last_update2024-12-13 16:13:42
depth2
children0
last_payout2024-12-20 16:13:42
cashout_time1969-12-31 23:59:59
total_payout_value0.014 HBD
curator_payout_value0.015 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length118
author_reputation3,981,051,084,133
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,181,758
net_rshares91,948,158,892
author_curate_reward""
vote details (1)
@kwick ·
A vary nice post or I can say it's guide about about Resource Credits (RC) that every hiver should read to have a better understanding of this mechanism of hive blockchain. RC is important because this is what we use with each transaction and low RC restricts us to perform any action on chain. I have re-blogged this article for more attention and appreciate the work you have done.
👍  
properties (23)
authorkwick
permlinkre-detectblock-sog8gg
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2024.11.3","image":[],"users":[]}
created2024-12-13 20:19:30
last_update2024-12-13 20:19:30
depth1
children1
last_payout2024-12-20 20:19:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length383
author_reputation56,234,016,684,951
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,187,750
net_rshares9,865,906,627
author_curate_reward""
vote details (1)
@detectblock ·
Thank you very much, I’m grateful to you for the repost and feedback; it’s very much appreciated.
properties (22)
authordetectblock
permlinkre-kwick-sog8wh
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2024.11.3"}
created2024-12-13 20:29:15
last_update2024-12-13 20:29:15
depth2
children0
last_payout2024-12-20 20:29:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length97
author_reputation3,981,051,084,133
root_title"A complete guide about Resource Credits (RC) and where to find out the transaction value in the moment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,188,047
net_rshares0