Skip to main content
ALL CHAINS

Network Topology

Port Allocation

ELA Main Chain Node

PortProtocolService
20338TCPP2P network (block/tx propagation, peer discovery)
20339TCPDPoS P2P (validator proposal/vote/confirm messages)
20333HTTPNode info web page
20334HTTPREST API
20335WSWebSocket notifications
20336HTTPJSON-RPC

ESC (Elastos Smart Chain) Node

PortProtocolService
20638TCPP2P (devp2p, Ethereum-style)
20636HTTPJSON-RPC
20632WSWebSocket

EID (Elastos Identity Chain) Node

PortProtocolService
20648TCPP2P (devp2p)
20646HTTPJSON-RPC
20642WSWebSocket

Carrier v2

PortProtocolService
39001UDPKademlia DHT messages
39002TCPActive Proxy relay

Arbiter

The Arbiter daemon exposes its own ports and communicates with other chain nodes:

PortProtocolPurpose
20536TCPArbiter JSON-RPC
20538TCPArbiter REST / P2P
  • Outbound to ELA main chain node via JSON-RPC (port 20336)
  • Outbound to ESC/EID nodes via JSON-RPC (ports 20636/20646)
  • P2P via the DPoS P2P network (port 20339)

JSON-RPC Endpoints (ELA Main Chain)

Node Management

MethodDescription
setloglevelChange log verbosity
getinfoNode info (height, version, connections)
getnodestateConnected peer details
getneighborsList neighbor addresses
getconnectioncountNumber of connected peers

Block Queries

MethodDescription
getblockGet block by hash
getblockbyheightGet block by height
getcurrentheightCurrent chain height
getblockhashHash for a given height
getbestblockhashTip block hash
getblockcountTotal block count
getconfirmbyheightDPoS confirm at height
getconfirmbyhashDPoS confirm by hash

Transaction Operations

MethodDescription
getrawtransactionGet tx by hash (raw or verbose)
getrawmempoolList mempool transactions
sendrawtransactionBroadcast signed transaction
gettransactionbyheightAll txs in a block
decoderawtransactionDecode raw tx hex

Wallet / UTXO

MethodDescription
getreceivedbyaddressTotal received by address
getutxosbyamountFind UTXOs for spending
listunspentList unspent outputs
getamountbyinputsTotal value of inputs
getbalancebyaddrAddress balance
getunspendsUnspent outputs for address
createrawtransactionBuild unsigned transaction
signrawtransactionwithkeySign transaction

Mining / AuxPoW

MethodDescription
createauxblockCreate aux block for merged mining
submitauxblockSubmit solved aux block
getmininginfoMining statistics
toggleminingStart/stop internal miner
discreteminingMine specific number of blocks

BPoS / Validators

MethodDescription
listproducersAll registered producers + votes
getproducerinfoSpecific producer details
producerstatusProducer registration status
getarbitratorgroupbyheightActive arbiters at height
getarbitersinfoCurrent arbiter details
getarbiterpeersinfoDPoS P2P peer info
votestatusVoting statistics
getdepositcoinProducer deposit info

BPoS / Staking

MethodDescription
getalldetaileddposv2votesDetailed v2 vote info
getvoterightsVoter's rights by address
dposv2rewardinfoV2 BPoS voter reward info
getdposv2infoBPoS system info
estimatesmartfeeFee estimation

Elastos DAO

MethodDescription
listcrcandidatesAll Elastos Council candidates
listcurrentcrsCurrent Elastos Council members
listnextcrsNext term Elastos Council members
listcrproposalbasestateProposal states
getcrproposalstateSpecific proposal state
getproposaldraftdataProposal draft data
getsecretarygeneralCurrent secretary general
getcrrelatedstageElastos Council voting/election stage
getcommitteecanuseamountAvailable Elastos DAO funds
getcrdepositcoinElastos Council member deposit info

Cross-Chain

MethodDescription
getexistwithdrawtransactionsPending withdrawals
getexistreturndeposittransactionsReturn deposits
submitsidechainillegaldataReport sidechain fraud
getsmallcrosstransfertxsSmall cross-chain txs
getcrcpeersinfoElastos Council arbiter P2P info
getcrosschainpeersinfoCross-chain peer info
getregistertransactionsbyheightSidechain registrations

NFT

MethodDescription
getcandestroynftidsNFTs eligible for destruction
getnftinfoNFT information

ESC/EID RPC

ESC and EID expose standard Ethereum JSON-RPC methods (eth_*, net_*, web3_*) plus custom methods:

ESC-specific:

MethodDescription
sendrechargetransactionProcess deposit from main chain (by tx hash)
sendsmallcrosstransactionProcess small cross-chain deposit
getwithdrawtransactionsbyheightScan for withdraw txs at height
getexistdeposittransactionsCheck existing deposits
getfaileddeposittransactionsGet failed deposits
getillegalevidencebyheightGet illegal evidence at height
getnftdestroytransactionsbyheightScan for NFT destroy txs
createauxblockCreate aux block for merged mining
submitsideauxblockSubmit merged mining proof

EID-specific:

MethodDescription
did_resolveDIDResolve a DID to its document
did_listDIDsList published DIDs

DNS Seeds (Mainnet)

ELA Main Chain:
192.0.2.10:20338
192.0.2.11:20338
192.0.2.12:20338
192.0.2.13:20338

Hive Node API

Base URL: https://<hive-node>/api/v2/

PrefixPurpose
/did/signinDID authentication initiation
/did/authDID authentication completion
/vault/db/*Database operations (MongoDB)
/vault/files/*File operations (IPFS)
/vault/scripting/*Script registration and execution
/vault/backup/*Backup and migration
/payment/*Payment order management
/subscription/*Vault subscription management
/provider/*Node operator admin
/aboutNode version and info