DLT RPC v0 API Reference

Introduction

The Ixian DLT (Distributed Ledger Technology) node exposes a rich JSON-RPC API that allows applications to interact with the blockchain, manage wallets, query the name system, and control mining operations. This section provides a detailed reference for every available method.

All endpoints are accessible via HTTP GET or HTTP POST requests and follow the standard JSON-RPC 2.0 specification.


Blockchain & Transaction Queries

These methods are used to query the state of the blockchain, including blocks, transactions, and overall supply.

MethodDescription
getBestBlockHashRetrieves the checksum (hash) of the most recent block.
getBlockCountRetrieves the block number (height) of the most recent block.
getBlockRetrieves a block by its number or hash.
getFullBlockRetrieves a full block, including all transaction data, by number or hash.
getLastBlocksRetrieves a list of the most recently added blocks.
getTransactionRetrieves a single transaction by its unique ID.
txRetrieves a paginated list of both confirmed and unconfirmed transactions.
txaRetrieves a paginated list of applied (confirmed) transactions only.
txuRetrieves a paginated list of unapplied (unconfirmed) transactions from the mempool.
supplyRetrieves the total calculated circulating supply of IXI coins.

Wallet & Name System (IXI-NS)

These methods are used to query wallet balances, the name registry, and trigger wallet maintenance.

MethodDescription
getBalanceRetrieves the balance for a specific wallet address.
getWalletRetrieves the public state of a wallet, including balance and properties.
getRegNameRetrieves a registered name record by its name or hashed ID.
getRegNameDataRecordsRetrieves all data records associated with a specific registered name.
rescanBlockchainInitiates a background rescan of the blockchain to find wallet transactions.

Mining Operations

These methods are specific to DLT nodes participating in Proof-of-Work mining and are used to control and monitor the mining process.

MethodDescription
getMiningBlockRetrieves a block data "job" for an external miner to work on.
minerStatsRetrieves real-time statistics about the node's internal mining activity.
setBlockSelectionAlgorithmConfigures the strategy used by the internal miner to select the next block.
submitMiningSolutionSubmits a Proof-of-Work solution from an external miner.
verifyMiningSolutionVerifies if a given nonce is a valid solution for a specific block.

Node & Network Status

These methods provide information about the node's operational state and its view of the network.

MethodDescription
statusRetrieves a comprehensive overview of the node's current state.
countNodeVersionsRetrieves a summary of all node versions currently active on the network.