Updated: 1/18/2026

RPC Calls

Execute Kaspa RPC calls directly from this page using the WASM SDK. Useful for quick reference and easy on-demand information.

Loading WASM SDK...

Disconnected

getBalanceByAddress

Retrieves the balance of a specific address

View JavaScript
const response = await client.getBalanceByAddress({
  "address": ""
});

getBalancesByAddresses

Retrieves balances for multiple addresses

View JavaScript
const response = await client.getBalancesByAddresses({
  "addresses": []
});

getBlock

Retrieves a specific block from the Kaspa BlockDAG

View JavaScript
const response = await client.getBlock({
  "hash": "",
  "includeTransactions": false
});

getBlockCount

View JavaScript
const response = await client.getBlockCount();

getBlockDagInfo

Provides information about the Directed Acyclic Graph structure

View JavaScript
const response = await client.getBlockDagInfo();

getBlockTemplate

View JavaScript
const response = await client.getBlockTemplate();

getCoinSupply

Returns the total current coin supply

View JavaScript
const response = await client.getCoinSupply();

getConnectedPeerInfo

Returns information about connected peers

View JavaScript
const response = await client.getConnectedPeerInfo();

getConnections

View JavaScript
const response = await client.getConnections();

getCurrentBlockColor

View JavaScript
const response = await client.getCurrentBlockColor();

getCurrentNetwork

Retrieves the current network configuration

View JavaScript
const response = await client.getCurrentNetwork();

getDaaScoreTimestampEstimate

View JavaScript
const response = await client.getDaaScoreTimestampEstimate();

getFeeEstimate

Returns fee rate estimates

View JavaScript
const response = await client.getFeeEstimate();

getInfo

Retrieves general information about the Kaspa node

View JavaScript
const response = await client.getInfo();

getMempoolEntries

Retrieves mempool entries

View JavaScript
const response = await client.getMempoolEntries({
  "includeOrphanPool": false,
  "filterTransactionPool": false
});

getMempoolEntriesByAddresses

View JavaScript
const response = await client.getMempoolEntriesByAddresses();

getMempoolEntry

Retrieves a specific mempool entry by transaction ID

View JavaScript
const response = await client.getMempoolEntry({
  "transactionId": "",
  "includeOrphanPool": false,
  "filterTransactionPool": false
});

getMetrics

Retrieves various metrics about the node

View JavaScript
const response = await client.getMetrics();

getServerInfo

Retrieves information about the Kaspa server

View JavaScript
const response = await client.getServerInfo();

getSink

Retrieves the current sink block (highest cumulative difficulty)

View JavaScript
const response = await client.getSink();

getSinkBlueScore

Returns the blue score of the current sink block

View JavaScript
const response = await client.getSinkBlueScore();

getSubnework

View JavaScript
const response = await client.getSubnework();

getSyncStatus

Obtains basic synchronization status of the node

View JavaScript
const response = await client.getSyncStatus();

getUtxosByAddresses

Retrieves unspent transaction outputs for addresses

View JavaScript
const response = await client.getUtxosByAddresses({
  "addresses": []
});

ping

View JavaScript
const response = await client.ping();