Skip to content
LogoLogo

Chain

Node API v1.0.0 (Arrekta Node API).

MethodPathSummary
GET/v1/chainChain Info
GET/v1/checkpointsCheckpoints
POST/v1/checkpointsSubmit Checkpoint
GET/v1/deploymentsDeployments State
GET/v1/supplySupply
GET/v1/supply/circulatingSupply Circulating
GET/v1/supply/totalSupply Total

GET /v1/chain

Chain Info.

curl -s http://127.0.0.1:28332/v1/chain

Response 200 (application/json): ChainInfo

FieldTypeRequiredNotes
address_prefixstringyes
asset_issuance_feestringyes
bitsstringyes
chain_idinteger | nullnomerged-mining chain id (AuxPoW slot id, §9.6). may be null
chainworkstringyes
coinbase_maturityintegeryes
commitment_delayinteger | nullnoblocks between a state and the coinbase that commits to it (§9.8). may be null
difficultynumberyes
genesisstringyes
heightintegeryes
implementationstringyesone of python, rust
max_block_sizeintegeryes
median_time_pastintegeryes
mempoolMempoolCountyes
networkstringyes
next_bitsstringyes
peersintegeryes
pruned_heightinteger | nullnohighest height whose block body this node pruned (ARREKTA_PRUNE); null on archival nodes. may be null
signature_schemesstring[]yes
subsidystringyes
target_spacingintegeryes
tipstringyes
tip_timeintegeryes
versionstringyes

Unknown fields may be added within v1; clients must ignore them.

Errors 400, 404, 409, 422, 429: application/problem+json Problem with a stable code.

operationId: chain_info_v1_chain_get

GET /v1/checkpoints

Checkpoints.

curl -s http://127.0.0.1:28332/v1/checkpoints

Response 200 (application/json): Checkpoints

FieldTypeRequiredNotes
enabledbooleanyes
finality_floorFinalityFloor | nullyesmay be null
latestCheckpointInfo | nullyesmay be null
pendingCheckpointInfo[]yes
signersSignerGroup | nullyesmay be null

Unknown fields may be added within v1; clients must ignore them.

Errors 400, 404, 409, 422, 429: application/problem+json Problem with a stable code.

operationId: checkpoints_v1_checkpoints_get

POST /v1/checkpoints

Submit Checkpoint.

curl -s -X POST http://127.0.0.1:28332/v1/checkpoints -H 'content-type: application/json' -d '{…}'

Request body (application/json, required): HexBody

FieldTypeRequiredNotes
hexstringyesHex-encoded serialized object. max length 16000002

Response 200 (application/json): CheckpointSubmitted

FieldTypeRequiredNotes
heightintegeryes
signaturesintegeryes
statusstringyesone of final, partial, known

Unknown fields may be added within v1; clients must ignore them.

Errors 400, 404, 409, 422, 429: application/problem+json Problem with a stable code.

operationId: submit_checkpoint_v1_checkpoints_post

GET /v1/deployments

Deployments State.

curl -s http://127.0.0.1:28332/v1/deployments

Response 200 (application/json): Deployments

FieldTypeRequiredNotes
deploymentsDeployment[]yes
heightintegeryes

Unknown fields may be added within v1; clients must ignore them.

Errors 400, 404, 409, 422, 429: application/problem+json Problem with a stable code.

operationId: deployments_state_v1_deployments_get

GET /v1/supply

Supply.

ARRK supply: total, circulating, emission (the fields listing sites ask for).

curl -s http://127.0.0.1:28332/v1/supply

Response 200 (application/json): SupplyInfo

FieldTypeRequiredNotes
assetstringyes
burnedstringyes
circulating_supplystringyestotal minus immature coinbase outputs and the disclosed non-circulating wallets
decimalsintegeryes
emissionEmissionyes
heightintegeryes
immaturestringyescoinbase outputs not yet spendable (coinbase maturity)
issuedstringyes
max_supplystring | nullyesnull: no hard cap (tail emission, §10). may be null
non_circulatingNonCirculating[]yeswallets the operator lists in ARREKTA_SUPPLY_NONCIRCULATING (foundation, locked, burn)
tickerstringyes
total_supplystringyesevery ARRK in existence: issued minus burned

Unknown fields may be added within v1; clients must ignore them.

Errors 400, 404, 409, 422, 429: application/problem+json Problem with a stable code.

operationId: supply_v1_supply_get

GET /v1/supply/circulating

Supply Circulating.

Circulating supply in whole ARRK as a plain number.

curl -s http://127.0.0.1:28332/v1/supply/circulating

Response 200 (text/plain)

Type: string.

Errors 400, 404, 409, 422, 429: application/problem+json Problem with a stable code.

operationId: supply_circulating_v1_supply_circulating_get

GET /v1/supply/total

Supply Total.

Total supply in whole ARRK as a plain number (CoinGecko / CoinMarketCap supply URL).

curl -s http://127.0.0.1:28332/v1/supply/total

Response 200 (text/plain)

Type: string.

Errors 400, 404, 409, 422, 429: application/problem+json Problem with a stable code.

operationId: supply_total_v1_supply_total_get

Schemas

ChainInfo

FieldTypeRequiredNotes
address_prefixstringyes
asset_issuance_feestringyes
bitsstringyes
chain_idinteger | nullnomerged-mining chain id (AuxPoW slot id, §9.6). may be null
chainworkstringyes
coinbase_maturityintegeryes
commitment_delayinteger | nullnoblocks between a state and the coinbase that commits to it (§9.8). may be null
difficultynumberyes
genesisstringyes
heightintegeryes
implementationstringyesone of python, rust
max_block_sizeintegeryes
median_time_pastintegeryes
mempoolMempoolCountyes
networkstringyes
next_bitsstringyes
peersintegeryes
pruned_heightinteger | nullnohighest height whose block body this node pruned (ARREKTA_PRUNE); null on archival nodes. may be null
signature_schemesstring[]yes
subsidystringyes
target_spacingintegeryes
tipstringyes
tip_timeintegeryes
versionstringyes

Unknown fields may be added within v1; clients must ignore them.

CheckpointInfo

FieldTypeRequiredNotes
hashstringyes
heightintegeryes
hexstringyes
next_setstring | nullyesmay be null
signersinteger[]yes

Unknown fields may be added within v1; clients must ignore them.

CheckpointSubmitted

FieldTypeRequiredNotes
heightintegeryes
signaturesintegeryes
statusstringyesone of final, partial, known

Unknown fields may be added within v1; clients must ignore them.

Checkpoints

FieldTypeRequiredNotes
enabledbooleanyes
finality_floorFinalityFloor | nullyesmay be null
latestCheckpointInfo | nullyesmay be null
pendingCheckpointInfo[]yes
signersSignerGroup | nullyesmay be null

Unknown fields may be added within v1; clients must ignore them.

Deployment

FieldTypeRequiredNotes
bitintegeryes
lock_in_on_timeoutbooleanyes
min_activation_heightintegeryes
namestringyes
periodintegeryes
start_heightintegeryes
statestring | nullyesmay be null
thresholdintegeryes
timeout_heightintegeryes

Unknown fields may be added within v1; clients must ignore them.

Deployments

FieldTypeRequiredNotes
deploymentsDeployment[]yes
heightintegeryes

Unknown fields may be added within v1; clients must ignore them.

Emission

FieldTypeRequiredNotes
annual_inflation_pctnumberyesannual issuance over total supply, percent
annual_issuancestringyesat the current reward
blocks_per_yearintegeryes
halving_intervalintegeryes
next_halving_heightinteger | nullyesnull once the reward has reached the tail. may be null
subsidystringyesreward of the next block
tail_subsidystringyesthe reward never falls below this (§10)

Unknown fields may be added within v1; clients must ignore them.

FinalityFloor

FieldTypeRequiredNotes
hashstringyes
heightintegeryes

Unknown fields may be added within v1; clients must ignore them.

HexBody

FieldTypeRequiredNotes
hexstringyesHex-encoded serialized object. max length 16000002

MempoolCount

FieldTypeRequiredNotes
bytesintegeryes
countintegeryes

Unknown fields may be added within v1; clients must ignore them.

NonCirculating

FieldTypeRequiredNotes
addressstringyes
balancestringyesspendable ARRK (its immature coinbase outputs count as immature)
labelstringyes

Unknown fields may be added within v1; clients must ignore them.

SignerGroup

FieldTypeRequiredNotes
keysstring[]yes
set_idstringyes
thresholdintegeryes

Unknown fields may be added within v1; clients must ignore them.

SupplyInfo

FieldTypeRequiredNotes
assetstringyes
burnedstringyes
circulating_supplystringyestotal minus immature coinbase outputs and the disclosed non-circulating wallets
decimalsintegeryes
emissionEmissionyes
heightintegeryes
immaturestringyescoinbase outputs not yet spendable (coinbase maturity)
issuedstringyes
max_supplystring | nullyesnull: no hard cap (tail emission, §10). may be null
non_circulatingNonCirculating[]yeswallets the operator lists in ARREKTA_SUPPLY_NONCIRCULATING (foundation, locked, burn)
tickerstringyes
total_supplystringyesevery ARRK in existence: issued minus burned

Unknown fields may be added within v1; clients must ignore them.