API Docs

Current Version:v1.1.0(changelog)

blocks

json
Returns the details of a block by hash.

json
Returns the details of a block by height.

integer
Returns the height of the chain tip.

string
Returns the block hash of the chain tip.

transactions

json
Returns the details of a transaction.

blockchain

number
Returns the current supply of Qogecoin. An estimate using a checkpoint can be returned in 2 cases: on 'slow' devices, and before the UTXO Set snapshot is loaded.

json
Returns the latest UTXO Set snapshot. Warning: This call can be very slow, depending on node hardware and index configurations.

address

json
Returns a summary of data pertaining to the given address. The output of this call will depend heavily on the configured 'Address API' (see .env-sample file).
Optional parameters
limitNumber of transactions to return
offsetOffset into transactions
sortSorting direction for transactions ('desc'=new first, 'asc'=old first)

mining

json
Returns the network hash rate, estimated over the last 1, 7, 30, 90, and 365 days.

number
Returns the current estimate for the next difficulty adjustment as a percentage.

json
Returns a summary for the estimated next block to be mined (produced via getblocktemplate).

json
Returns a list of the transaction IDs included in the estimated next block to be mined (produced via getblocktemplate).

boolean
Returns whether the specified transaction ID is included in the estimated next block to be mined (produced via getblocktemplate).

json
Returns whether the specified transaction ID is included in the estimated next block to be mined (produced via getblocktemplate).
Optional parameters
sinceUse the form 'Nd' to specify the number of day to look back (e.g. 'since=7d' will analyze the last 7 days)
startHeight+endHeightUse these 2 parameters to specify a custom start/end height (e.g. 'startHeight=0&endHeight=24' to analyze the first 25 blocks)

mempool

integer
Returns the number of transactions in Qogecoin Core's mempool.

json
Returns recommended fee rates in sats/vB for next block, ~30 min, 1 hr, and 1 day.

util

json
Returns details for the specified extended public key, including related keys and addresses.
Optional parameters
limitThe number of addresses to return
offsetOffset into the list of addresses

price

json
Returns the price of 1 BTC, in USD, EUR, GBP, and XAU

number
Returns the price of 1 BTC, in one of USD, EUR, GBP, XAU

number
Returns the market cap of Qogecoin, in one of USD, EUR, GBP, XAU

number
Returns the price of 1 unit in 'currency' (e.g. $1) in satoshis

fun

json
Returns the full curated list of Qogecoin quotes.

json
Returns the Qogecoin quote with the given index from the curated list.

json
Returns a random Qogecoin quote from the curated list.

admin

string
Returns the semantic version of the public API, which is maintained separate from the app version.