Skip to content

0chain REST API endpoints

Piers Shepperson edited this page Jan 19, 2022 · 4 revisions

Blockchain REST API

Under construction

These endpoints provide a view on the blockchain's mkerkle patricia trie database (MPT) and the event database. These endpoints are addressed using the same address of related smartcontracts.

Faucet endpionts

Handler Description
personalPeriodicLimit
globalPeriodicLimit
pourAmount
getConfig

Inerest pool endpoints

Handler Description
getPoolsStats
getLockConfig
getConfig

Miner endpoints

Handler Description
globalSettings
get Nodepool
getUserPools
getMinerList
getSharderList
getSharderKeepList
getPhase
getDkgList
get Mpks List
getGroupShareOrSigns
getEvents
nodeStat
nodePoolStat
configs

Storage endpoints

Endponts Description Note
getConfig
latestreadmarker
get_mpt_key
readmarkers
count_ readmarkers
getWriteMarkers
read_redeem
commit_connection
allocation
allocations
allocation_min_lock
openchallenges
getchallenge
getblobbers returns the EDB blobber table zbox ls-blobbers
getBlobber returns a row from the EDB blobber table zbox bl-info
get_blobber_count
get_blobber_total_stakes
get_blobber_lat_long
getReadPoolStat
getReadPoolAllocBlobberStat
getWritePoolStat
getWritePoolAllocBlobberStat
getStakePoolStat
getUserStakePoolStat
getChallengePoolStat

Vesting endpoints

Endpoints Description
getConfig
getPoolInfo
getClientPools

zcn endpoints

Endpoints Description
getAuthorizerNodes