Docs
  • Get started
  • Protocol
  • Compute
  • Cross-chain
  • Apps
  • API & CLI
  • Run a node
Overview

Get started

  • Quick start
  • Architecture
  • Example agents
  • Whitepaper
  • Changelog

Protocol

  • How it works
  • Accounts and keys
  • Block types
  • Assets
  • Overview
  • Delegation
  • Conflict detection
  • Voting
  • Quorum
  • Overview
  • libp2p host
  • GossipSub
  • Sync protocol
  • Direct messaging
  • Overview
  • Governance
  • Operations
  • Sync

Compute

  • Overview
  • Lease lifecycle
  • Cost model
  • Economics
  • Performance
  • Attestations
  • VM management
  • SSH tunnel
  • Overview
  • Heartbeat chain
  • Merkle epochs
  • Production design
  • Threat analysis

Cross-chain

  • Overview
  • Trust model
  • Messaging
  • Interchain accounts
  • Solana wallets
  • Remote accounts
  • Agents
  • Contracts using XE
  • Solana programs
  • Act only if XE says yes
  • AI models as the judge
  • Price feeds
  • Tokens and payments
  • Private AI
  • Wallets and signing
  • Addresses and APIs
  • Security and limits

Apps

  • Overview
  • XE AI Chat
  • XE Bridge
  • XE Stake
  • XE Pay and Checkout
  • Agent Hub
  • XE Markets
  • AI DAO
  • Snapshot plugin
  • Discourse plugin
  • XE Web Wallet
  • XE extension
  • XE Snap for MetaMask
  • XE Wallet
  • XE Vault
  • XE app for Ledger
  • XE Connect for native apps
  • Spend permissions
  • XE Pay with x402 exact
  • XE AI for your DAO
  • Discourse setup
  • Private inference
  • Encrypted sync
  • XE/USD feed
  • Status endpoint

API & CLI

  • Overview
  • Accounts
  • Blocks
  • Chat
  • Directory
  • Leases
  • VMs
  • Node
  • State chain
  • Overview
  • Node CLI
  • Client CLI
  • Explorer
  • Explorer pages
  • Web wallet
  • Wallet security
  • Wallet features

Run a node

  • Overview
  • Configuration
  • Bootstrap node
  • Provider node
  • Testnet
  • Overview
  • Binary encoding
  • Storage layer
  • Proof of work
  • Cryptography
  • System constants
  1. Docs
  2. /
  3. API & CLI
  4. /
  5. API reference
  6. /
  7. Blocks

Blocks

Block submission, lookup, and proof-of-work.

Block submission, lookup, and proof-of-work.

  • POSTSubmit send block/blocks/sendCreates a send block that debits the sender and creates a pending entry for the recipient.
  • POSTSubmit receive block/blocks/receiveCreates a receive block that credits a pending send to the recipient.
  • POSTSubmit claim block/blocks/claimMints 100 XUSD from the testnet faucet. Rate limited to once per 24 hours per account.
  • POSTSubmit lease block/blocks/leaseCreates a lease block requesting compute resources from the network.
  • POSTSubmit lease_accept block/blocks/lease_acceptProvider accepts a lease request. Requires timekeeper attestations.
  • POSTSubmit lease_settle block/blocks/lease_settleSettles a completed lease. Requires timekeeper attestations.
  • POSTOpen multisig account/blocks/multisig_openOpens a new multisig account with a hash-derived address and registers the keyset on the ledger.
  • POSTRotate multisig keyset/blocks/multisig_updateRotates the keyset on an existing multisig account. Must be signed by the current keyset's threshold.
  • GETGet block by hash/blocks/{hash}
  • GETRecent blocks/blocks/recentReturns recently processed blocks across all accounts, newest first.
  • POSTCompute proof of work/powComputes a PoW nonce for a block hash. Convenience endpoint — clients may also compute PoW locally.
PreviousAccountsAPI referenceNextChatAPI reference