---
updatedAt: 2026-10-07T08:23:51.000Z
agentTools:
  projectIndex: https://docs.tatum.io/llms.txt
---

# Casper

Explore Casper, a blockchain optimized for enterprise solutions with upgradable smart contracts. Build decentralized applications using its RPC gateway.

<HTMLBlock>{`
<p>The Casper RPC documentation provides developers with a comprehensive guide to interact with the Casper network programmatically. Casper is designed to provide enterprise-grade scalability, security, and upgradability for smart contracts, using its innovative proof-of-stake (PoS) consensus mechanism. The documentation includes API endpoints for querying blockchain data, submitting transactions, and managing smart contracts. Developers can leverage Casper’s upgradable smart contracts to build decentralized applications that meet evolving business needs.</p>
<p>
  – <strong>Related:</strong>
  📚 <a href="/docs/supported-blockchains" target="_self" title="Supported Blockchains - tiers documentation">Supported Blockchains</a> •
  🌐 <a href="https://tatum.io/nodes" title="Tatum RPC Nodes - Fast, Reliable, Affordable">RPC Nodes</a> →
  <a href="https://tatum.io/chain/casper" title="Tatum Casper Blockchain Website"> Casper</a>
  • 🔗 <a href="https://casper.network" target="_blank" title="Casper Official website">Official Casper Website</a>
</p>

<h2>RPC Gateway for Casper blockchain</h2>
<div class="tatum-grid">
  <div class="tatum-grid-header" id="casper">
    <div class="tatum-blockchain-info">
      <img src="https://blockchains.tatum.io/assets/img/casper.svg" alt="Casper Logo" class="tatum-blockchain-logo" />
      <h3>Casper RPC networks</h3>
    </div>
    <div class="tatum-buttons">
      <a class="tatum-btn tatum-postman" href="https://www.postman.com/blockchainnow/tatum-io/collection/k2lc674/casper-mainnet" target="_blank" title="Run in Postman - Casper RPC">▶️ Run in Postman</a>
      <a class="tatum-btn tatum-get-started" href="https://dashboard.tatum.io/chains/casper?origin=docs&chain=casper" target="_blank" title="Get started with Casper RPC">🚀 Get Started</a>
    </div>
  </div>
  <div class="tatum-grid-row tatum-network-row" id="network-casper-mainnet">
    <div class="tatum-grid-cell">
      <span class="tatum-tier" title="Tier 3">✨</span>
      <h4><a href="#casper-mainnet" title="View Casper Mainnet methods">Casper Mainnet</a></h4>
    </div>
    <div class="tatum-grid-cell"></div>
    <div class="tatum-grid-cell actions">
      <a class="tatum-btn small" href="https://status.tatum.io/#casper-mainnet" target="_blank" title="Status page for Casper Mainnet">🔍 Status</a>
      <a class="tatum-btn small" href="https://cspr.live" target="_blank" title="Explorer for Mainnet">🕵️ Explorer</a>
    </div>
  </div>
  <div class="tatum-grid-row tatum-interface-row">
    <div class="tatum-grid-cell tatum-interface-name">↳ JSON-RPC</div>
    <div class="tatum-grid-cell tatum-interface-url">https://casper-mainnet.gateway.tatum.io</div>
    <div class="tatum-grid-cell actions">
      <a class="tatum-btn small" href="#casper-mainnet-json-rpc" title="View JSON-RPC methods">📋 Methods</a>
    </div>
  </div>
  <div class="tatum-grid-row tatum-network-row" id="network-casper-testnet">
    <div class="tatum-grid-cell">
      <span class="tatum-tier" title="Tier 3">✨</span>
      <h4><a href="#casper-testnet" title="View Casper Testnet methods">Casper Testnet</a></h4>
    </div>
    <div class="tatum-grid-cell"></div>
    <div class="tatum-grid-cell actions">
      <a class="tatum-btn small" href="https://status.tatum.io/#casper-testnet" target="_blank" title="Status page for Casper Testnet">🔍 Status</a>
      <a class="tatum-btn small" href="https://testnet.cspr.live" target="_blank" title="Explorer for Testnet">🕵️ Explorer</a>
    </div>
  </div>
  <div class="tatum-grid-row tatum-interface-row">
    <div class="tatum-grid-cell tatum-interface-name">↳ JSON-RPC</div>
    <div class="tatum-grid-cell tatum-interface-url">https://casper-testnet.gateway.tatum.io</div>
    <div class="tatum-grid-cell actions">
      <a class="tatum-btn small" href="#casper-testnet-json-rpc" title="View JSON-RPC methods">📋 Methods</a>
    </div>
  </div>
</div>

<h3>Connect to Casper and Fetch the Latest Block</h3>
<p>This widget lets you instantly query the latest block height (or equivalent) for Casper using a chain-specific RPC method like eth_blockNumber, getblockcount, or getBlockHeight. Useful for connectivity checks, uptime monitoring, or API testing.</p>

<div data-widget="blockchain-connect" data-chain="casper"></div>
`}</HTMLBlock>

<HTMLBlock>{`
<div class="tatum-callout tatum-callout-pr" onclick="window.open('https://dashboard.tatum.io/?utm_source=docs&utm_medium=docs&utm_campaign=api_banner');">
  <div class="tatum-call-to-action tatum-center">
    <a class="tatum-button tatum-button-secondary" href="https://dashboard.tatum.io/?utm_source=docs&utm_medium=docs&utm_campaign=api_banner" target="_blank">Get API key</a>
    <small class="tatum-benefit">For free. No commitment.</small>
  </div> 
  
  <h2 class="tatum-headline">Don't have an API key?</h2>
  <p class="tatum-description">Sign up to Dashboard and create your API keys today.<br>Get higher limits and use debugging tools.</p>
</div>
`}</HTMLBlock>

<HTMLBlock>{`
<h3>Retrieve Casper Node Status or Client Version via RPC</h3>
<p>Use this pre-configured request to get version or status information for your connected Casper node. Whether it's web3_clientVersion, getblockchaininfo, or chain-specific endpoints, the method is optimized for each supported blockchain.</p>

<div data-widget="blockchain-version" data-chain="casper"></div>

<h2>Test Casper RPC Methods in Postman</h2>
<p>Explore and test Casper blockchain methods instantly using our pre-configured Postman collection. Perfect for developers who want to experiment with Casper RPC endpoints, validate API responses, or integrate Casper into their applications.</p>

<div class="tatum-postman-section">
  <h3>How to use the Casper Postman Collection</h3>
  <ol>
    <li><strong>Get your API key:</strong> Visit <a href="https://dashboard.tatum.io?origin=docs" target="_blank" title="Get your Tatum API key">Tatum Dashboard</a> to obtain your free API key</li>
    <li><strong>Import the collection:</strong> Click the "Run in Postman" button below to import the Casper collection</li>
    <li><strong>Configure your environment:</strong> Update the <code>gateway-api-key</code> variable in the Tatum Gateway environment</li>
    <li><strong>Start testing:</strong> Execute any Casper RPC method and see real-time responses</li>
  </ol>
  <div class="tatum-postman-cta">
    <a class="tatum-btn tatum-postman" href="https://www.postman.com/blockchainnow/tatum-io/collection/k2lc674/casper-mainnet" target="_blank" title="Run Casper Collection in Postman">▶️ Run in Postman</a>
  </div>
</div>

<h2>Available Casper interfaces and methods</h2>
<p>Each Casper network and interface below exposes its own set of RPC methods, listed live from Tatum's RPC Gateway. Query these endpoints for any interface to explore what it supports:</p>
<ul>
  <li><code>/_methods</code> – machine-readable list of interfaces and methods</li>
  <li><code>/llms.txt</code> – human- and AI-readable documentation context</li>
</ul>
<details class="tatum-network-collapsible" id="casper-mainnet" open>
  <summary>Casper Mainnet</summary>
  <div class="tatum-network-methods-body">
    <h4 id="casper-mainnet-json-rpc">JSON-RPC</h4>
    <p>Base URL: <code>https://casper-mainnet.gateway.tatum.io</code></p>
    <p>Discovery:
      <a href="https://casper-mainnet.gateway.tatum.io/_methods" target="_blank" title="JSON-RPC /_methods">/_methods</a> ·
      <a href="https://casper-mainnet.gateway.tatum.io/llms.txt" target="_blank" title="JSON-RPC /llms.txt">/llms.txt</a>
    </p>
    <ul class="tatum-toc tatum-toc-two tatum-methods-list">
      <li><code>account_put_deploy</code></li>
      <li><code>chain_get_block</code></li>
      <li><code>chain_get_block_transfers</code></li>
      <li><code>chain_get_era_info_by_switch_block</code></li>
      <li><code>chain_get_era_summary</code></li>
      <li><code>chain_get_state_root_hash</code></li>
      <li><code>info_get_chainspec</code></li>
      <li><code>info_get_deploy</code></li>
      <li><code>info_get_peers</code></li>
      <li><code>info_get_status</code></li>
      <li><code>info_get_validator_changes</code></li>
      <li><code>query_balance</code></li>
      <li><code>query_global_state</code></li>
      <li><code>state_get_account_info</code></li>
      <li><code>state_get_auction_info</code></li>
      <li><code>state_get_dictionary_item</code></li>
    </ul>
  </div>
</details>
<details class="tatum-network-collapsible" id="casper-testnet">
  <summary>Casper Testnet</summary>
  <div class="tatum-network-methods-body">
    <h4 id="casper-testnet-json-rpc">JSON-RPC</h4>
    <p>Base URL: <code>https://casper-testnet.gateway.tatum.io</code></p>
    <p>Discovery:
      <a href="https://casper-testnet.gateway.tatum.io/_methods" target="_blank" title="JSON-RPC /_methods">/_methods</a> ·
      <a href="https://casper-testnet.gateway.tatum.io/llms.txt" target="_blank" title="JSON-RPC /llms.txt">/llms.txt</a>
    </p>
    <ul class="tatum-toc tatum-toc-two tatum-methods-list">
      <li><code>account_put_deploy</code></li>
      <li><code>chain_get_block</code></li>
      <li><code>chain_get_block_transfers</code></li>
      <li><code>chain_get_era_info_by_switch_block</code></li>
      <li><code>chain_get_era_summary</code></li>
      <li><code>chain_get_state_root_hash</code></li>
      <li><code>info_get_chainspec</code></li>
      <li><code>info_get_deploy</code></li>
      <li><code>info_get_peers</code></li>
      <li><code>info_get_status</code></li>
      <li><code>info_get_validator_changes</code></li>
      <li><code>query_balance</code></li>
      <li><code>query_global_state</code></li>
      <li><code>state_get_account_info</code></li>
      <li><code>state_get_auction_info</code></li>
      <li><code>state_get_dictionary_item</code></li>
    </ul>
  </div>
</details>
`}</HTMLBlock>

<Callout icon="fad fa-triangle-exclamation" theme="warn">
  ### Method unavailable?

  If you need a method we don't support yet, please [contact our support](https://docs.tatum.io/docs/contacting-support).<br />We'd be happy to assist.
</Callout>