Blockbook API Changes 0.5.0 > 0.6.0 - Groestlcoin (GRS) Blockbook - modified methods
vv0.6.0-changeloghttps://grsbook.nownodes.ioMethods of the NOWNodes Groestlcoin (GRS) Blockbook API (https://grsbook.nownodes.io) whose behaviour changed between Blockbook 0.5.0 and 0.6.0. Each method is documented as it exists in 0.6.0, with a short note at the top describing what changed. Methods not listed here work exactly as before.
Authentication
api-keyAuthapiKeyNOWNodes API key passed in the api-key header.
API Key: api-key in header
MAINNET / Blockbook 0.5.0 > 0.6.0 API CHANGES / Modified methods
BlockBook
BlockBook operations.
Get a block by height or hash.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: page is now validated: values above 1,000,000 are capped and invalid values fall back to the first page. Documented as it exists in 0.6.0.
Returns block information with paged transactions. When full transaction details are unavailable, the response can contain only transaction ids.
Blockbook follows the backend main chain. Height lookups always return the current main-chain block. Hash lookups can return a block from another fork only if the backend still keeps it.
Load estimate: Medium; grows mainly with block transaction count and requested page.
Parameters
blockIdstringrequiredpathBlock height or block hash.
pageinteger>= 1query1-based page index. Values outside safe bounds are sanitized to the closest possible page.
Response
Block details.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.
Get compact block filters.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: The requested range is now limited to 10,000 blocks: lastN is capped at 10,000, and a from/to range wider than that is rejected with an error. Documented as it exists in 0.6.0.
Returns compact block filters for the configured script type. Provide either lastN or a from/to range. When to is omitted for a range, the current best height is used.
Compact block filters are not currently enabled on the NOWNodes Groestlcoin endpoint. Requests succeed and return the requested heights with their block hashes, but each filter value comes back empty. Send scriptType empty, as no script type is configured.
Load estimate: High for wide ranges; work and payload grow linearly with the number of requested filters.
Parameters
scriptTypestringrequiredqueryScript type used for block filters. No script type is configured on the NOWNodes Groestlcoin endpoint, so send this parameter empty.
lastNinteger>= 1queryReturn filters for the last N blocks.
frominteger>= 0queryFirst block height in the requested range.
tointeger>= 0queryLast block height in the requested range. Defaults to the current best height when omitted.
Response
Block filters keyed by block height.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.
Broadcast a raw transaction using the request body.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: The request body is now limited to 8 MiB; larger bodies are rejected before broadcasting. Documented as it exists in 0.6.0.
Broadcasts hex-encoded raw transaction data from the request body. The trailing slash is mandatory in the Blockbook handler. POST bodies are limited to 8 MiB.
Load estimate: High; validates and forwards to the backend, with cost growing with transaction size and backend mempool policy checks.
Body
Broadcasts hex-encoded raw transaction data from the request body. The trailing slash is mandatory in the Blockbook handler. POST bodies are limited to 8 MiB.
Load estimate: High; validates and forwards to the backend, with cost growing with transaction size and backend mempool policy checks.
Alternative schema variant for this parameter or payload.
Response
Broadcast result.
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Public API error.
Get address/account details.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: With details=basic, mempool transactions are no longer loaded one by one: unconfirmedBalance, unconfirmedSending and unconfirmedReceiving are omitted, and unconfirmedTxs reports the raw number of mempool entries for the address. Any other details value still returns the aggregated unconfirmed balance. page and pageSize are now validated: page is capped at 1,000,000, and when page × pageSize exceeds 100,000 the page is clamped to the last allowed one. Negative or non-numeric values fall back to the defaults. from and to are bounded to non-negative block heights. New protocols query parameter; it is supported on Ethereum-type networks only, so on this chain any value is rejected with an error. Documented as it exists in 0.6.0.
Returns balances and transactions of an address. Transactions are sorted by block height with newest blocks first. Response size is controlled by the details parameter.
At details=basic, mempool transactions are not aggregated: unconfirmedBalance, unconfirmedSending, and unconfirmedReceiving are omitted, and unconfirmedTxs reports the raw mempool index size for the address.
Load estimate: Variable; basic is low, token/tokenBalances and txids/txslight are medium, and txs can be high as it grows with pageSize, transactions, token rows, filters, and protocol enrichment.
Parameters
addressstringrequiredpathGroestlcoin address, XPUB, or descriptor value accepted by Blockbook.
pageinteger<int32>>= 11queryPage number of the returned transaction list. Pagination starts from 1.
pageSizeinteger<int32>[1, 1000]1000queryMaximum number of transactions returned on one page.
frominteger<int64>>= 0queryStart block height filter for transactions, inclusive.
tointeger<int64>>= 0queryEnd block height filter for transactions, inclusive.
detailsstringbasictokenstokenBalancestxidstxslighttxstxidsqueryControls how much transaction or token detail is included in the response. Supported values: basic, tokens, tokenBalances, txids, txslight, txs.
tokensstringusednonzeroderivedqueryToken list mode for the address response. Use used to include tokens used by the address, nonzero to include only non-zero balances, or derived to include derived token information when supported.
secondarystringquerySecondary currency code. When set, balance and transaction fields are additionally returned in this currency.
contractstringquerySmart-contract address used to filter token-related address data.
filterstring | integerqueryFilter account history by input/output side, or by numeric token/internal filter id.
protocolsArray<string>queryOptional protocol enrichments. Available on Ethereum-type networks only; on Groestlcoin any value returns an error, so the parameter should be omitted.
Response
Address/account details.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.
Get XPUB or descriptor account details.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: page and pageSize are now validated: page is capped at 1,000,000, and when page × pageSize exceeds 100,000 the page is clamped to the last allowed one. Negative or non-numeric values fall back to the defaults. from and to are bounded to non-negative block heights. XPUB/descriptor scans are bounded: gap is capped at 10,000, a descriptor may list at most 10 change indexes, and a descriptor whose total derivation scan exceeds the server limit is rejected with an error. Documented as it exists in 0.6.0.
Not available on this endpoint: the request returns HTTP 500 with {"error":"Internal server error"}.
Returns balances and transactions of an XPUB or output descriptor for Bitcoin-type coins. Transactions are sorted by block height with newest blocks first. URL-encode descriptors before placing them after /xpub/.
Blockbook expects XPUBs at level 3 of the derivation path, for example m/purpose'/coin_type'/account'. It derives the remaining change/address_index path. The BIP scheme is inferred from the XPUB prefix; unknown prefixes default to BIP44.
Supported descriptors are pkh(xpub), sh(wpkh(xpub)), wpkh(xpub), and tr(xpub). Descriptors can include origin paths and change selectors such as <0;1> or {0,1}; when change is omitted, Blockbook defaults to <0;1>.
Note: usedTokens always reports the total number of used addresses for the XPUB, regardless of the tokens query filter.
Load estimate: High for broad accounts; grows with derived addresses, gap, used address count, pageSize, transaction history, token rows, and protocol enrichment.
Parameters
xpubstringrequiredpathExtended public key or output descriptor to query in Blockbook.
pageinteger<int32>>= 11queryPage number of the returned transaction list. Pagination starts from 1.
pageSizeinteger<int32>[1, 1000]1000queryMaximum number of transactions returned on one page.
frominteger<int64>>= 0queryStart block height filter for transactions, inclusive.
tointeger<int64>>= 0queryEnd block height filter for transactions, inclusive.
detailsstringbasictokenstokenBalancestxidstxslighttxstxidsqueryControls how much transaction or token detail is included in the response. Supported values: basic, tokens, tokenBalances, txids, txslight, txs.
tokensstringnonzerousedderivednonzeroqueryControls which XPUB-derived address rows are included.
filterstring | integerqueryFilter by input/output side or numeric id.
contractstringqueryContract address filter.
protocolsArray<string>queryProtocol enrichments.
secondarystringquerySecondary currency code.
gapinteger[0, 10000]queryXPUB/address derivation gap limit.
Response
XPUB/descriptor account details.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.
Get UTXOs for an address, XPUB, or descriptor.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: XPUB/descriptor scans are bounded: gap is capped at 10,000, a descriptor may list at most 10 change indexes, and a descriptor whose total derivation scan exceeds the server limit is rejected with an error. Documented as it exists in 0.6.0.
Returns unspent outputs for an address, XPUB, or descriptor on Bitcoin-type coins. By default both confirmed and unconfirmed UTXOs are returned; confirmed=true filters out unconfirmed entries. Results are sorted by block height with newest entries first.
Unconfirmed UTXOs omit height, have confirmations set to 0, and can include lockTime. XPUB and descriptor UTXOs also include address and derivation path when available. Coinbase UTXOs include coinbase=true only up to the coinbase confirmation limit, currently 100 blocks.
Load estimate: Variable; address lookups are usually medium, while XPUB/descriptor lookups grow with gap, derived addresses, and UTXO count.
Parameters
descriptorstringrequiredpathAddress, XPUB, or supported descriptor. URL-encode descriptors.
confirmedbooleanqueryWhen true, return only confirmed UTXOs.
gapinteger[0, 10000]queryXPUB/address derivation gap limit.
Response
UTXO list.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.
Get account balance history.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: A request that spans more than 100,000 transactions in the selected from/to range is now rejected with an error asking to narrow the range, instead of being processed in full. XPUB/descriptor scans are bounded: gap is capped at 10,000, a descriptor may list at most 10 change indexes, and a descriptor whose total derivation scan exceeds the server limit is rejected with an error. Fiat currency selectors are bounded: at most 128 currency codes, each at most 16 characters. Documented as it exists in 0.6.0.
Returns balance history points for an address, XPUB, or descriptor. from and to are Unix timestamps. groupBy is an aggregation interval in seconds and defaults to 3600. When fiatcurrency is omitted, rates can contain all available currencies. sentToSelf is the amount sent from an address to itself or within addresses of the same XPUB.
Load estimate: High; grows with account transaction history, time span, grouping cardinality, fiat rate lookups, and XPUB/descriptor gap.
Parameters
descriptorstringrequiredpathAddress, XPUB, or supported descriptor. URL-encode descriptors.
frominteger<int64>queryUnix timestamp lower bound.
tointeger<int64>queryUnix timestamp upper bound.
fiatcurrencystringqueryOptional fiat currency code to include in rates.
groupByinteger>= 1queryAggregation interval in seconds. Defaults to 3600.
gapinteger[0, 10000]queryXPUB/address derivation gap limit.
Response
Balance history points.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.
Get current or historical fiat rates.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: Fiat currency selectors are bounded: at most 128 currency codes, each at most 16 characters. Fiat rates are fetched more reliably: CoinGecko throttling (HTTP 429) is handled and missing daily rates are filled in automatically, so fewer timestamps come back without a rate. Documented as it exists in 0.6.0.
Returns currency rates for the requested currency and date. If a rate is unavailable for the exact timestamp, the closest available rate can be returned. Responses include the actual rate timestamp. Without a currency parameter, all available currencies can be returned. A rate of -1 marks an unavailable or invalid currency for that timestamp.
Load estimate: Low to medium; specific currency lookups are cheap, while omitted currency and token lookups increase response size.
Parameters
currencystringqueryOptional currency code. When omitted, all available rates can be returned.
timestampinteger<int64>queryUnix timestamp for historical rates.
blockstringqueryBlock height or hash whose timestamp should be used for historical rates.
tokenstringqueryOptional token symbol or contract/address key for token-specific rates.
Response
Fiat rate ticker.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error. Returned when no fiat rate is available for the requested currency or timestamp.
Get fiat rates for multiple timestamps.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: At most 1,000 timestamps are accepted per request; longer lists are rejected with an error. Fiat currency selectors are bounded: at most 128 currency codes, each at most 16 characters. Fiat rates are fetched more reliably: CoinGecko throttling (HTTP 429) is handled and missing daily rates are filled in automatically, so fewer timestamps come back without a rate. Documented as it exists in 0.6.0.
Returns fiat rate tickers for a comma-separated list of Unix timestamps.
Load estimate: Medium; work and payload grow linearly with timestamp count, plus token/currency selection.
Parameters
timestampstringrequiredqueryComma-separated Unix timestamps.
currencystringqueryOptional currency code.
tokenstringqueryOptional token symbol or contract/address key.
Response
Fiat rate tickers.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.
Get currencies available for a timestamp.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: Fiat rates are fetched more reliably: CoinGecko throttling (HTTP 429) is handled and missing daily rates are filled in automatically, so fewer timestamps come back without a rate. Documented as it exists in 0.6.0.
Returns available secondary currencies for a date together with the actual rate timestamp.
Load estimate: Low to medium; token lookups and wide currency lists increase response size.
Parameters
timestampinteger<int64>requiredqueryUnix timestamp for the requested currency list.
tokenstringqueryOptional token symbol or contract/address key.
Response
Available currencies.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.
BlockBook (legacy)
BlockBook (legacy) operations.
Legacy broadcast transaction using the request body.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified between 0.5.0 and 0.6.0: The request body is now limited to 8 MiB; larger bodies are rejected before broadcasting. Documented as it exists in 0.6.0.
Bitcore Insight-compatible V1 broadcast route for Bitcoin-type coins.
Load estimate: High; validates and forwards to the backend, with cost growing with transaction size and backend mempool policy checks.
Body
Bitcore Insight-compatible V1 broadcast route for Bitcoin-type coins.
Load estimate: High; validates and forwards to the backend, with cost growing with transaction size and backend mempool policy checks.
Alternative schema variant for this parameter or payload.
Response
Broadcast result.
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Public API error.