RPC Documentation
Complete guide to QSN blockchain JSON-RPC 2.0 API. 252+ methods, 28 WebSocket subscriptions.
Mainnet
1QSN1000 QSNPyuniq Testnet
http://127.0.0.1:9545/ws://127.0.0.1:9546/99991tQSNDevnet
http://127.0.0.1:7546/ws://127.0.0.1:7449/999920What is delegation?
Delegation allows token holders to earn rewards by delegating tokens to validators without running a node.
Get staking information
First check current staking parameters:
minStake- minimum amount (Testnet: 1000 tQSN)apr- annual percentage ratevalidators- number of validatorsepochDuration- epoch length in blocks
Choose a validator
Get list of active validators:
commission- validator commission (0-100%)uptime- uptime (higher is better)stake- total validator stake
Delegate tokens
Send tokens to stake with chosen validator:
- Minimum: 1000 tQSN (Testnet) / 0 (Devnet)
- amount in wei (18 decimals): 1000 tQSN = 1000000000000000000000
Check your stake
Unstake tokens
To withdraw tokens from staking:
Mainnet/Testnet: 7 days. Devnet: instant.
What do you need to start?
Create a wallet with post-quantum keys and get test tokens to interact with the network.
Create wallet
Create a new wallet with post-quantum keys:
Save both addresses! quantAddress for QSN, evmAddress for EVM compatibility.
Get test tokens
Use the faucet to get free test tokens:
- 5 requests per hour per address
- 10 tQSN per request
Check balance
Convert addresses (optional)
If you have an EVM address, convert it to QSN format:
Total 252+ RPC methods and 28 WebSocket subscriptions available
Full documentation available on GitHub
