Questions tagged [locked-balance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
45 views

How to get Locked Balance of a particular account with a particular LockIdentifier in a pallet?

In a pallet I have used set_lock() with a own LockIdentifier for that pallet. Now I need to check the locked balance of an account with that LockIdentifier and not the global locked amount. how to do ...
0 votes
1 answer
33 views

After using set_lock() should we manually subtract free_balance()?

In a custom pallet, I have been using set_lock() for a staking purpose. But once the lock is done I thought the free_balance() will reduce in the account's balance but it stays the same and only the ...
1 vote
1 answer
42 views

Assets pallet token and democracy pallet

Is it possible to use a custom_token created with the assets_pallet in the democracy_pallet instead of the native_token? EXPLANATION When voting during a referendum, I would like the balance parameter ...
2 votes
1 answer
166 views

Why is `reserve` restricted for locked balances?

I read the answer of Shawn about locked and reserved balances. What is the difference between Free Balance, Reserved Balance, Locked Balance, Vesting Balance, etc...? He pointed out, that locked funds ...
11 votes
1 answer
345 views

What is the difference between Free Balance, Reserved Balance, Locked Balance, Vesting Balance, etc...?

In the Substrate blockchain development framework, the FRAME Balances pallet references 4 different kinds of balance: Free Balance Reserved Balance Locked Balance Vesting Balance What are the ...