FirstBlock Playground

Building one block at a time

Experiment with real Polkadot.js API code in a live environment. Connect to Westend testnet and test your blockchain interactions.

Connected to Westend Testnet
Real-time Code Execution

Code Templates

Choose a template to get started with common Polkadot.js API operations.

Connect to Westend

Basic connection to Westend testnet

Connection

Query Account Balance

Get account balance and information

Queries

Submit Transfer

Create and submit a balance transfer

Extrinsics

Read Storage

Query storage values from the blockchain

Storage

Listen to Events

Subscribe to blockchain events

Events

Staking Operations

Basic staking operations

Staking

Connect to Westend

Basic connection to Westend testnet

Connection

Code Editor

JAVASCRIPT
Loading...
14 lines

Console Output

Run your code to see the output here...

Tips

All code runs against the real Westend testnet
Use test accounts only - never use real private keys
Check the console output for execution results