Sentrix

API REFERENCE

REST · JSON-RPC · WebSocket

Endpoints

All EVM JSON-RPC methods POST to https://rpc.sentrixchain.com/rpc; native REST endpoints below are GET / POST against https://rpc.sentrixchain.com.

REST API — 25 endpoints
MethodPathDescriptioncurl
GET/chain/infoChain headline (height, supply, validator count, mempool size).
GET/chain/blocks?page=N&limit=MPaginated block list (limit ≤100; in-memory window = last 1000 blocks).
GET/chain/blocks/{height}Block detail by height — includes transactions + justification.
GET/sentrix_statusNode status: chain ID, consensus mode, version, sync info.
GET/healthHealth probe — returns 200 OK while node is responsive.
GET/metricsPrometheus scrape — chain + system metrics.
GET/accounts/{address}Account balance + nonce + tx count.
GET/accounts/top?limit=NTop accounts by balance (richlist).
GET/address/{address}/history?page=NPer-address tx history (paginated).
GET/transactions/{txid}Transaction detail — wraps tx + block context.
POST/transactionsSubmit a signed native tx. Body: TxRequest (txid + signature + payload).
GET/mempoolLive pending transactions snapshot.
GET/tokensList of deployed SRC-20 tokens.
GET/tokens/{address}Token detail (name, symbol, total supply, holder count).
GET/tokens/{address}/holders?limit=NTop holders for a given token.
POST/tokens/deployDeploy a new SRC-20 token (signed).
POST/tokens/transferNative SRC-20 transfer (signed).
POST/tokens/burnNative SRC-20 burn (signed).
GET/staking/validatorsActive + jailed validator set with stake breakdown.
GET/staking/validators/{address}Per-validator detail (commission, blocks produced, jail flags).
GET/staking/delegations/{address}All delegations FROM an account.
GET/staking/rewards/{address}Pending + claimed rewards for an address.
GET/epoch/currentCurrent epoch number, block range, accrued rewards.
GET/stats/dailyDaily aggregates (txs, active addresses, supply delta).
GET/chain/performance?range=24hBlock-time + TPS series across a window.
JSON-RPC — 24 methods
NamespaceMethodDescriptioncurl
eth_eth_chainIdReturns the chain ID (7119 mainnet, 7120 testnet).
eth_eth_blockNumberLatest block height.
eth_eth_getBlockByNumberBlock detail (full EVM-shape with mixHash / stateRoot / receiptsRoot).
eth_eth_getBalanceAccount balance (18-decimal wei view).
eth_eth_getTransactionByHashTransaction detail.
eth_eth_getTransactionReceiptReceipt with logs + status (1=success, 0=revert).
eth_eth_callExecute a read-only call against the EVM state.
eth_eth_estimateGasGas estimate for a candidate tx.
eth_eth_sendRawTransactionSubmit a signed RLP-encoded EVM tx.
eth_eth_getLogsEvent log filter (by address + topics + block range).
eth_eth_gasPriceCurrent base fee (EIP-1559).
eth_eth_feeHistoryRecent base-fee history for fee oracles.
eth_eth_getCodeContract bytecode at a given address.
eth_eth_getStorageAtStorage slot read.
eth_eth_getTransactionCountAccount nonce.
eth_eth_subscribeWebSocket-only — see WS section below.
sentrix_sentrix_getFinalizedHeightBFT-finalized height — safe-to-rely-on tip.
sentrix_sentrix_getValidatorSetActive validator set with stakes.
sentrix_sentrix_getEpochInfoCurrent epoch metadata.
sentrix_sentrix_getJailEventsRecent jail / unjail events.
sentrix_sentrix_getDelegationsPer-address delegations.
sentrix_sentrix_estimateRewardsPending claimable rewards.
net_net_versionNetwork ID as decimal string.
web3_web3_clientVersionNode software version.
WebSocket subscriptions — 9 channels

All channels — including the Sentrix-native ones — are subscribed via eth_subscribe. There is no separate sentrix_subscribe method on the chain (common confusion source).

ChannelDescriptionJSON-RPC body
newHeadsNew block headers as they finalize.
logsFiltered log stream — second param is the filter object.
newPendingTransactionsMempool admission events.
syncingSync-status changes.
sentrix_finalizedSentrix-native: BFT-finalized block notification.
sentrix_validatorSetSentrix-native: validator-set rotation events.
sentrix_tokenOpsSentrix-native: SRC-20 Mint/Burn/Transfer/Approve/Deploy.
sentrix_stakingOpsSentrix-native: Delegate/Undelegate/ClaimRewards/AddSelfStake/Unjail.
sentrix_jailSentrix-native: per-validator jail/unjail events.
Official SDKs

TypeScript: @sentrix/chain — viem-based EVM client + native REST client + WebSocket subscription manager + native-tx wallet (sign + submit Delegate / Undelegate / ClaimRewards / SRC-20 ops).

pnpm add @sentrix/chain viem
import { native, evm, bft, SentrixWallet } from "@sentrix/chain";

const sentrix = native.nativeClient("mainnet");
const info = await sentrix.chainInfo();
console.log(`Height ${info.height}`);

Repo: sentriscloud/sdk-ts

Sentrix Scan — Block Explorer