Blocks
Block submission, lookup, and proof-of-work.
Block submission, lookup, and proof-of-work.
POSTPOSTPOSTPOSTPOSTPOSTPOSTPOSTGETGETPOST
/blocks/sendSubmit send block — Creates a send block that debits the sender and creates a pending entry for the recipient.
/blocks/receiveSubmit receive block — Creates a receive block that credits a pending send to the recipient.
/blocks/claimSubmit claim block — Mints 100 XUSD from the testnet faucet. Rate limited to once per 24 hours per account.
/blocks/leaseSubmit lease block — Creates a lease block requesting compute resources from the network.
/blocks/lease_acceptSubmit lease_accept block — Provider accepts a lease request. Requires timekeeper attestations.
/blocks/lease_settleSubmit lease_settle block — Settles a completed lease. Requires timekeeper attestations.
/blocks/multisig_openOpen multisig account — Opens a new multisig account with a hash-derived address and registers the keyset on the ledger.
/blocks/multisig_updateRotate multisig keyset — Rotates the keyset on an existing multisig account. Must be signed by the current keyset's threshold.
/blocks/{hash}Get block by hash
/blocks/recentRecent blocks — Returns recently processed blocks across all accounts, newest first.
/powCompute proof of work — Computes a PoW nonce for a block hash. Convenience endpoint — clients may also compute PoW locally.