Docs
  • Get started
  • Protocol
  • Compute
  • 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

[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