▪️Explorer API

This documentation is intended to provide information on the available methods to extract data from DECENOMY Explorer using its API.

Being a public API, there is no need to use any kind of authentication.

API v1 reports plain text. API v2 reports more info in detail.

API v1 Endpoint URL

https://explorer.decenomy.net/api/v1/coins/coin/

Path parameters v1

NameTypeDescriptionInfo

coin

string

should be replaced by the coin ticker, always in caps

Required

Query parameters v1

NameTypeDescriptionInfo

getblockcount

string

Plain block count, just the block number value

Optional

getmoneysupply

string

Circulating supply - It will output just the number value of the total supply minus the locked supply

Optional

getlockedsupply

string

Locked supply - It will output just the number value of the locked/burned supply

Optional

gettotalsupply

string

Total supply - It will output just the number value of the circulation supply plus the locked supply

Optional

Example query v1

https://explorer.decenomy.net/api/v1/coins/SAPP/getblockcount

Example response v1

1987842

API v2 Endpoint URL

https://explorer.decenomy.net/api/v2/coin/

Path parameters v2

NameTypeDescriptionInfo

coin

string

should be replaced by the coin ticker, always in caps

Required

Query parameters v2

NameTypeDescriptionInfo

blocks

string

Last 30 blocks - blockhash tx / / blocktime / height / confirmations

Optional

transactions

string

Last 30 blocks - blockhash / blocktime / height / tx / confirmations / recipients / amount

Optional

peers

string

Full information of peers available

Optional

masternodes

string

Full information of each masternode in the network

Optional

info

string

Wallet and blockchain information

Optional

masternode/count

string

Total number of masternodes connected in the network

Optional

status

string

Status of blockchain based in last block received

Optional

burnaddresses

string

Burn address Information

Optional

Example query v2

https://explorer.decenomy.net/api/v2/SAPP/info

Example response v2

{
  "response": {
    "connections": 171,
    "errors": "",
    "blocks": 1987846,
    "paytxfee": 0,
    "moneysupply": 1224915018.8013475,
    "difficulty": 527924.3523641471,
    "keypoolsize": 100,
    "keypoololdest": 1627317470,
    "walletversion": 169900,
    "timeoffset": 0,
    "testnet": false,
    "version": 1050100,
    "staking status": "Staking Inactive",
    "protocolversion": 70931,
    "services": "NETWORK/BLOOM/",
    "balance": 0,
    "relayfee": 0.0001,
    "proxy": ""
  },
  "success": true
}

Last updated