Skip to main content

Overview

Experience Coinbase Developer Platform’s (CDP) onchain data tools in just a few minutes. No SDK installation, no complex authentication — just instant access to live blockchain data. In this guide, you will:
  • Query live blockchain data through our SQL Playground
  • Make your first RPC call to Base through our Node Playground

Prerequisites

That’s it! No API keys needed!

1. Run a SQL query

Use our SQL API to query onchain data in milliseconds. With SQL API, you can:
  • Query transactions, events, blocks, and transfers across Base with < 500ms latency
  • Join data across tables for complex analytics
  • Track token flows, smart contract activity, and wallet behavior
The fastest way to query onchain data is through the SQL Playground in CDP Portal.
1

Open SQL Playground

Navigate to the SQL Playground in Portal.
2

Try a query

Copy this query to see recent USDC transfers on Base:
SELECT 
  parameters['from'] AS sender,
  parameters['to'] AS to,
  parameters['value'] AS amount,
  address AS token_address
FROM base.events
WHERE 
  event_signature = 'Transfer(address,address,uint256)'
  AND address = '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
LIMIT 10;
See results in milliseconds! ⚡
SQL Playground query results showing USDC transfers

2. Make your first RPC call

CDP Node provides free RPC endpoints for Base. With Node, you can:
  • Read blockchain state (blocks, transactions, balances, smart contract data)
  • Send transactions to the network
  • Monitor events and subscribe to logs
  • Call smart contracts on Base
Let's make your first blockchain call using the Node Playground in CDP Portal.
1

Open Node Playground

Navigate to Node in Portal.
2

Run the RPC call

The playground has a prefilled eth_blockNumber call. Click Run to get the current block number on Base. See results in milliseconds! ⚡
Node Playground RPC call results showing current block number
I