How to Claim Credits
This guide walks you through the process of claiming your earned credits from TNT staking through the Cloud Credits pallet.
Prerequisites
- Active TNT Stake: You must have TNT staked through Tangle’s multi-asset delegation system
- Minimum Stake: Your stake must meet the lowest tier threshold to earn credits
- Off-chain Account: An identifier linking your claim to off-chain credit management
Claiming via Polkadot.js Apps
Step 1: Connect to Tangle Network
- Go to Polkadot.js Apps
- Connect to the Tangle Network endpoint
- Import or connect your account with TNT stake
Step 2: Navigate to Extrinsics
- Go to Developer → Extrinsics
- Select your account from the dropdown
- Choose
cloudCredits
from the pallet list - Select
claimCredits
from the call dropdown
Step 3: Fill Parameters
Amount to Claim (amount_to_claim
):
- Enter the number of credits you want to claim
- Must not exceed your accrued amount within the claim window
- Use the RPC query (see below) to check your maximum claimable amount
Off-chain Account ID (offchain_account_id
):
- Your identifier for linking to off-chain credit systems
- Maximum length is configurable (check pallet constants)
- Keep this consistent across claims
Step 4: Submit Transaction
- Click Submit Transaction
- Enter your password if prompted
- Confirm the transaction
- Monitor the transaction status in the Network → Explorer
Alternative: Asset-Specific Claims
For claiming credits from specific asset stakes:
- Choose
claimCreditsWithAsset
instead ofclaimCredits
- Add the Asset ID parameter for the specific asset
- The same amount and off-chain account ID rules apply
Events and Monitoring
CreditsClaimed Event
When you successfully claim:
CreditsClaimed {
who: Your_Account_ID,
amount_claimed: Claimed_Amount,
offchain_account_id: Your_Offchain_ID
}
Related Documentation
- Credits Overview - Understanding the Cloud Credits pallet
- Credits Precompile - Technical documentation for developers
- How to Restake - Guide to staking TNT tokens