Home

BlockBook RES-API

v1.0.0
Base URLs
https://sys-btc.nownodes.io
https://sys-evm.nownodes.io

Authentication

api-keyAuthapiKey

API Key: api-key in header

MAINNET / Blockchain_RPCs

getbestblockhash

getbestblockhash

POST
https://sys-btc.nownodes.io/

Returns the hash of the best block in the most-work fully-validated chain. The best block is the tip of the blockchain, representing the most recent block that has been validated and added to the chain.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetbestblockhashrequired
paramsArray<any>required

Response

200OK

Valid response

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getblock

getblock

POST
https://sys-btc.nownodes.io/

Returns information about the block with the given block hash. Optional verbosity levels determine the level of detail in the response:

  • 0: Returns a string that is serialized, hex-encoded data for the block.
  • 1: Returns a JSON object with basic block details and txids.
  • 2: Returns a JSON object with detailed transaction info.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetblockrequired
paramsArray<string | integer>required

Parameters:

  1. blockhash (string) – The hash of the block
  2. verbosity (integer, optional) – Level of detail: 0, 1, or 2
Show child attributes
One of
string
integer

Response

200OK

Block information retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getblockchaininfo

getblockchaininfo

POST
https://sys-btc.nownodes.io/

Returns an object containing various state info regarding blockchain processing.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetblockchaininforequired
paramsArray<any>required

Response

200OK

Blockchain state information retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getblockcount

getblockcount

POST
https://sys-btc.nownodes.io/

Returns the number of blocks in the longest blockchain. This number increases as new blocks are added.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetblockcountrequired
paramsarrayrequired

This method takes no parameters.

Response

200OK

Current block height retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getblockhash

getblockhash

POST
https://sys-btc.nownodes.io/

Returns the block hash of the block at the given height in the blockchain. You must provide a block height (0-based index).

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetblockhashrequired
paramsArray<integer>required

Parameters:

  1. height (integer) — The height (index) of the block.

Response

200OK

Block hash successfully retrieved

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getblockheader

getblockheader

POST
https://sys-btc.nownodes.io/

Returns information about the block header given a block hash. You can specify whether to return a JSON object or raw hex-encoded string using the verbose flag.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetblockheaderrequired
paramsArray<string | boolean>required

Parameters:

  1. blockhash (string) — The hash of the block.
  2. verbose (boolean, optional) — If true, returns a JSON object; if false, returns a hex string. Default is true.
Show child attributes
One of
string
boolean

Response

200OK

Block header information retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getblockstats

getblockstats

POST
https://sys-btc.nownodes.io/

Returns a variety of statistics about the block identified by its height or block hash. Available in Bitcoin Core v0.17.0 and later.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetblockstatsrequired
paramsArray<integer | string | Array<string>>required

Parameters:

  1. height_or_hash (integer or string) — The block height (integer) or block hash (string).
  2. stats (array, optional) — Specific stats to return. If not specified, returns all.
Show child attributes
One of
integer
string
Array<string>

Response

200OK

Block statistics returned successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getchaintips

getchaintips

POST
https://sys-btc.nownodes.io/

Returns information about all known tips in the block tree, including the main chain as well as orphaned forks.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetchaintipsrequired
paramsarrayrequired

This method takes no parameters.

Response

200OK

Chain tips retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getchaintxstats

getchaintxstats

POST
https://sys-btc.nownodes.io/

Compute statistics about the total number and rate of transactions in the blockchain. You can optionally specify the number of blocks and a block hash to start from.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetchaintxstatsrequired
paramsArray<integer | string>required

Parameters:

  1. nblocks (integer, optional) — Number of blocks to average over. Default: 1 month worth (~4320).
  2. blockhash (string, optional) — Hash of the block to stop at; defaults to the chain tip.
Show child attributes
One of
integer
string

Response

200OK

Chain transaction statistics retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getdifficulty

getdifficulty

POST
https://sys-btc.nownodes.io/

Returns the current difficulty as a multiple of the minimum difficulty (lowest possible difficulty on the network). This is a relative measure of how difficult it is to find a new block.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetdifficultyrequired
paramsarrayrequired

This method takes no parameters.

Response

200OK

Difficulty value returned successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getmempoolancestors

getmempoolancestors

POST
https://sys-btc.nownodes.io/

Returns all in-mempool ancestor transactions for a given transaction ID. An ancestor is a transaction whose outputs are used as inputs in another transaction. You can get a summary or detailed object output.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetmempoolancestorsrequired
paramsArray<string | boolean>required

Parameters:

  1. txid (string, required) — Transaction ID to query.
  2. verbose (boolean, optional) — Whether to return a JSON object or just an array of txids. Default is false.
Show child attributes
One of
string
boolean

Response

200OK

Ancestor transaction(s) retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getmempooldescendants

getmempooldescendants

POST
https://sys-btc.nownodes.io/

Returns all in-mempool descendant transactions for a given transaction ID. Descendants are transactions that depend on the outputs of the specified transaction. Can return either a simple list of transaction IDs or detailed JSON objects.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetmempooldescendantsrequired
paramsArray<string | boolean>required

Parameters:

  1. txid (string, required) — Transaction ID to query descendants for.
  2. verbose (boolean, optional) — Return JSON object if true, or list of txids if false. Default: false.
Show child attributes
One of
string
boolean

Response

200OK

Descendant transactions retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getmempoolentry

getmempoolentry

POST
https://sys-btc.nownodes.io/

Returns detailed information about a transaction currently in the mempool. Requires the transaction ID (txid) as a parameter.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetmempoolentryrequired
paramsArray<string>required

Parameters:

  1. txid (string, required) — Transaction ID to query.

Response

200OK

Mempool entry details retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getmempoolinfo

getmempoolinfo

POST
https://sys-btc.nownodes.io/

Returns details about the current state of the mempool, including size, usage, fees, and more. No parameters required.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetmempoolinforequired
paramsArray<any>required

No parameters required

Response

200OK

Mempool info retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getnetworkinfo

getnetworkinfo

POST
https://sys-btc.nownodes.io/

Returns various state info regarding P2P networking

Body

application/json
jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

RPC method name

paramsArray<any>

Method parameters (not required for getnetworkinfo)

Response

200OK

Successful response with network information

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getrawmempool

getrawmempool

POST
https://sys-btc.nownodes.io/

Returns all transaction IDs currently in the mempool. If verbose is true, returns a JSON object with detailed mempool entry information for each transaction.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetrawmempoolrequired
paramsArray<boolean>required

Parameters:

  1. verbose (boolean, optional) — If true, return detailed JSON objects instead of txid array. Default: false.

Response

200OK

Mempool transactions retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

gettxout

gettxout

POST
https://sys-btc.nownodes.io/

Returns details about an unspent transaction output (UTXO) specified by transaction ID and output index.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgettxoutrequired
paramsArray<string | integer | boolean>required

Parameters:

  1. txid (string, required) — The transaction ID.
  2. vout (integer, required) — The output index.
  3. include_mempool (boolean, optional, default: true) — Whether to include mempool transactions.
Show child attributes
One of
string
integer
boolean

Response

200OK

UTXO details retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

gettxoutproof

gettxoutproof

POST
https://sys-btc.nownodes.io/

Returns a hex-encoded proof that one or more transactions are included in a block. The proof can be validated with verifytxoutproof.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgettxoutproofrequired
paramsArray<Array<string> | string>required

Parameters:

  1. txids (array[string], required) — Array of transaction IDs to prove inclusion.
  2. blockhash (string, optional) — Hash of the block to look for transactions. If omitted, searches the entire blockchain.
Show child attributes
One of
Array<string>
string

Response

200OK

Proof retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

preciousblock

preciousblock

POST
https://sys-btc.nownodes.io/

Marks a block as "precious," causing the node to reconsider the chain from that block. This can be used to manually reorganize the chain to a particular fork.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringpreciousblockrequired
paramsArray<string>required

Parameters:

  1. blockhash (string, required) — The hash of the block to mark as precious.

Response

200OK

Block marked as precious successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

MAINNET / EVM

eth_accounts

Ethereum method - eth_accounts

POST
https://sys-btc.nownodes.io/

Returns an array of addresses controlled by the client.

Body

application/json
jsonrpcstringrequired

JSON-RPC version identifier

methodstringrequired

Name of the JSON-RPC method

paramsarrayrequired

No parameters are required for this method. This must be an empty array.

idintegerrequired

Unique identifier for the JSON-RPC request

Response

200OK

A list of Ethereum addresses

Authorization

api-keyAuthapiKey in header

eth_blockNumber

Ethereum method - eth_blockNumber

POST
https://sys-btc.nownodes.io/

Returns the number of the latest block on the chain in hexadecimal format.

Body

application/json
jsonrpcstringrequired

The JSON-RPC protocol version

methodstringrequired

Name of the method being called

paramsarrayrequired

This method does not take parameters; always send an empty array.

idintegerrequired

A unique ID for the request

Response

200OK

The latest block number

Authorization

api-keyAuthapiKey in header

eth_call

Ethereum method - eth_call

POST
https://sys-btc.nownodes.io/

Executes a call to a contract or address and returns the result without broadcasting a transaction.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<object | string>required

The first object specifies the call transaction object. The second (optional) parameter specifies the block context.

Show child attributes
One of
fromstring

Address the call is sent from (optional)

tostringrequired

Target address for the call (required)

gasstring

Gas provided for the call, as hex

gasPricestring

Gas price in wei, as hex

valuestring

Amount of ETH sent, as hex (optional)

datastring

Compiled contract method call data

(Optional) Integer block number, or the string "latest", "earliest", or "pending".

string
idintegerrequired

Response

200OK

Result of the call

Authorization

api-keyAuthapiKey in header

eth_chainId

Ethereum method - eth_chainId

POST
https://sys-btc.nownodes.io/

Returns the hexadecimal string of the current chain ID.

Body

application/json
jsonrpcstringrequired

JSON-RPC protocol version

methodstringrequired

Name of the method to call

paramsarrayrequired

This method does not require parameters. Use an empty array.

idintegerrequired

Unique identifier for the request

Response

200OK

Chain ID response

Authorization

api-keyAuthapiKey in header

eth_coinbase

eth_coinbase

POST
https://sys-btc.nownodes.io/

Returns the Ethereum coinbase address (i.e., the address that receives mining rewards).

Body

application/json
jsonrpcstringrequired
methodstringeth_coinbaserequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC Response with the coinbase address

Authorization

api-keyAuthapiKey in header

eth_estimateGas

Estimate Gas for Transaction

POST
https://sys-btc.nownodes.io/

Simulates a transaction and returns an estimate of how much gas would be used.

Body

application/json
jsonrpcstringrequired

JSON-RPC protocol version

methodstringrequired

The method name

paramsArray<object | string>required

The transaction call object and an optional block tag.

Show child attributes
One of
fromstring

Address the transaction is sent from (optional)

tostringrequired

Destination address of the call

gasstring

Gas limit provided for execution (optional)

gasPricestring

Gas price in wei (optional)

valuestring

Amount of ETH to send, in hexadecimal wei (optional)

datastring

The compiled input data for the transaction (optional)

Optional block tag (e.g., "latest", "earliest", or a block number)

string
idintegerrequired

Request identifier

Response

200OK

Estimated gas amount

Authorization

api-keyAuthapiKey in header

eth_feeHistory

eth_feeHistory

POST
https://sys-btc.nownodes.io/

Returns fee market information for a range of blocks. This is typically used by wallets and other tools to estimate appropriate gas prices.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string | integer | Array<number>>required

Parameters:

  1. blockCount — number of blocks in the requested range.
  2. newestBlock — highest block number in the requested range (can be "latest").
  3. rewardPercentiles — list of percentile values to sample priority fees from each block (optional).
Show child attributes
Any of
string
integer
Array<number>
idintegerrequired

Response

200OK

JSON-RPC Response with fee history data

Authorization

api-keyAuthapiKey in header

eth_gasPrice

Get Suggested Gas Price

POST
https://sys-btc.nownodes.io/

Returns the current gas price in wei as a hexadecimal string. This value is a node estimate based on recent blocks and mempool activity.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsarrayrequired

This method takes an empty array.

idintegerrequired

Request identifier

Response

200OK

Suggested gas price in wei

Authorization

api-keyAuthapiKey in header

eth_getBalance

Get ETH Balance of an Address

POST
https://sys-btc.nownodes.io/

Retrieves the balance (in wei) of a given Ethereum address. You can specify the block parameter to get the balance at a specific block.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string | string>required

Array with 2 parameters:

  1. Address (20-byte hex string with '0x' prefix)
  2. Block tag (e.g., 'latest', 'earliest', 'pending', or block number in hex)
Show child attributes
One of

Ethereum address

string

Block tag

string
idintegerrequired

Request ID

Response

200OK

Balance (in wei) as hex string

Authorization

api-keyAuthapiKey in header

eth_getBlockByHash

Get Block by Hash

POST
https://sys-btc.nownodes.io/

Returns the block information for the specified block hash. The second parameter indicates whether to return full transaction objects or just transaction hashes.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

Array of parameters:

  1. Block hash (string)
  2. Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequired

Request ID

Response

200OK

Block information

Authorization

api-keyAuthapiKey in header

eth_getBlockByNumber

Get Block by Number

POST
https://sys-btc.nownodes.io/

Returns the block information for the specified block number. The second parameter indicates whether to return full transaction objects or just transaction hashes.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

Array of parameters:

  1. Block number (hex string, e.g., "0x1b4") or special tags ("latest", "earliest", "pending")
  2. Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequired

Request ID

Response

200OK

Block information

Authorization

api-keyAuthapiKey in header

eth_getBlockReceipts

Get All Transaction Receipts for a Block

POST
https://sys-btc.nownodes.io/

Returns an array of transaction receipts for every transaction in the block specified by block number or block hash.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

One parameter:

  • Block identifier, which can be either:
    • block number as hex string (e.g. "0x10d4f")
    • or block hash as hex string (0x-prefixed)
idintegerrequired

Request identifier

Response

200OK

Array of transaction receipts in the block

Authorization

api-keyAuthapiKey in header

eth_getBlockTransactionCountByHash

Get Transaction Count by Block Hash

POST
https://sys-btc.nownodes.io/

Returns the number of transactions contained in the block with the given hash.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

Array containing a single parameter:

  • Block hash as a hex string (32 bytes with 0x prefix)
idintegerrequired

Request ID

Response

200OK

Number of transactions in the block

Authorization

api-keyAuthapiKey in header

eth_getBlockTransactionCountByNumber

Get Transaction Count by Block Number

POST
https://sys-btc.nownodes.io/

Returns the number of transactions contained in the block with the given block number.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

Array containing a single parameter:

  • Block number as a hex string (e.g. "0x10d4f" for block 69007) or
  • predefined block tags such as "latest", "earliest", or "pending"
idintegerrequired

Request ID

Response

200OK

Number of transactions in the block

Authorization

api-keyAuthapiKey in header

eth_getCode

Get Contract Bytecode at Address

POST
https://sys-btc.nownodes.io/

Returns the contract code stored at a given address. If the address is an externally owned account (EOA), it returns "0x".

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array with two elements:

  1. The address to get the code for (hex string, 0x-prefixed).
  2. The block number or block tag (e.g., "latest", "earliest", "pending").
idintegerrequired

Request identifier.

Response

200OK

Contract bytecode in hex format

Authorization

api-keyAuthapiKey in header

eth_getFilterChanges

Get Filter Changes

POST
https://sys-btc.nownodes.io/

Returns an array of logs that occurred since the last poll for the specified filter ID. The filter must have been previously created with eth_newFilter or eth_newBlockFilter or eth_newPendingTransactionFilter.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array with a single element:

  1. The filter ID (hex string).
idintegerrequired

Request identifier.

Response

200OK

Array of log objects or transaction hashes depending on filter type

Authorization

api-keyAuthapiKey in header

eth_getFilterLogs

Get Filter Logs

POST
https://sys-btc.nownodes.io/

Returns all logs matching a filter with the specified filter ID. The filter must have been previously created with eth_newFilter.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array with one element:

  1. The filter ID (hex string).
idintegerrequired

Request identifier.

Response

200OK

Array of log objects matching the filter

Authorization

api-keyAuthapiKey in header

eth_getLogs

Get Logs

POST
https://sys-btc.nownodes.io/

Returns an array of logs that match the filter criteria specified in the params. The filter object supports filtering by block range, addresses, and topics.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<object>required

Parameters array with one element: the filter object.

Show child attributes
fromBlockstring

Starting block number (hex string) or "earliest", "latest", "pending".

toBlockstring

Ending block number (hex string) or "earliest", "latest", "pending".

addressstring | Array<string>

Contract address or list of addresses from which logs should originate.

topicsarray

Array of topic filters. Each topic can be a string, null, or an array of strings for OR filtering.

idintegerrequired

Request identifier.

Response

200OK

Array of log objects matching the filter

Authorization

api-keyAuthapiKey in header

eth_getStorageAt

Get Storage At

POST
https://sys-btc.nownodes.io/

Returns the value stored at position in the storage of the contract at address at the given blockNumber.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array:

  1. address: string - Contract address to query storage from.
  2. position: string - Storage slot position (hex string).
  3. block number: string - Block number or keywords ("latest", "earliest", "pending").
idintegerrequired

Request identifier.

Response

200OK

Storage slot value at the specified position

Authorization

api-keyAuthapiKey in header

eth_getTransactionByBlockHashAndIndex

Get Transaction by Block Hash and Index

POST
https://sys-btc.nownodes.io/

Retrieves the transaction from a block using the block's hash and the transaction's index position within the block.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

Parameters:

  1. blockHash (string): The 32-byte hash of the block.
  2. transactionIndex (string): The transaction index (hex).
idintegerrequired

Response

200OK

A transaction object or null if no transaction was found.

Authorization

api-keyAuthapiKey in header

eth_getTransactionByBlockNumberAndIndex

Get Transaction by Block Number and Index

POST
https://sys-btc.nownodes.io/

Returns the information about a transaction using the block number and the transaction index within the block.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

Parameters:

  1. Block number in hex format (e.g., "0x5daf3b")
  2. Transaction index in the block (e.g., "0x0")
idintegerrequired

Response

200OK

A transaction object, or null if not found.

Authorization

api-keyAuthapiKey in header

eth_getTransactionByHash

Get transaction by hash

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

Array containing a single transaction hash

idintegerrequired

Response

200OK

Transaction object or null

Authorization

api-keyAuthapiKey in header

eth_getTransactionCount

Get transaction count (nonce) for address

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
  • address: The address to check for transaction count.
  • block: The block parameter (e.g., "latest", "earliest", "pending").
idintegerrequired

Response

200OK

Hex encoded nonce (transaction count)

Authorization

api-keyAuthapiKey in header

eth_getTransactionReceipt

Get transaction receipt by hash

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
idintegerrequired

Response

200OK

Transaction receipt if mined, otherwise null

Authorization

api-keyAuthapiKey in header

eth_getUncleByBlockHashAndIndex

Get uncle block by block hash and index

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
  • blockHash: 32-byte block hash
  • index: the uncle index as hex (e.g., "0x0" for the first uncle)
idintegerrequired

Response

200OK

Uncle block object or null

Authorization

api-keyAuthapiKey in header

eth_getUncleByBlockNumberAndIndex

Get uncle block by block number and index

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
  • blockNumber: The block number as hex string (e.g., "0x10fb78"), or "latest", "earliest", "pending".
  • index: The uncle index as hex (e.g., "0x0" for the first uncle).
idintegerrequired

Response

200OK

Uncle block object or null

Authorization

api-keyAuthapiKey in header

eth_getUncleCountByBlockHash

Get the number of uncle blocks by block hash

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

An array containing the block hash.

idintegerrequired

Response

200OK

Number of uncles in the block

Authorization

api-keyAuthapiKey in header

eth_getUncleCountByBlockNumber

Get the number of uncle blocks by block number

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

An array containing the block number as a hex string.

idintegerrequired

Response

200OK

Number of uncle blocks in the block

Authorization

api-keyAuthapiKey in header

eth_hashrate

eth_hashrate

POST
https://sys-btc.nownodes.io/

Returns the current mining hashrate reported by the client.

Body

application/json
jsonrpcstringrequired
methodstringeth_hashraterequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with the current mining hashrate

Authorization

api-keyAuthapiKey in header

eth_maxPriorityFeePerGas

Get recommended maxPriorityFeePerGas value

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsarrayrequired

No parameters are required.

idintegerrequired

Response

200OK

Returns the suggested maxPriorityFeePerGas value

Authorization

api-keyAuthapiKey in header

eth_mining

eth_mining

POST
https://sys-btc.nownodes.io/

Checks whether the Ethereum client is actively mining.

Body

application/json
jsonrpcstringrequired
methodstringeth_miningrequired
paramsarrayrequired

This method does not accept parameters.

idintegerrequired

Response

200OK

JSON-RPC Response indicating mining status

Authorization

api-keyAuthapiKey in header

eth_newBlockFilter

Create a new block filter

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<any>required

This method does not require any parameters.

idintegerrequired

Response

200OK

Filter ID created successfully

Authorization

api-keyAuthapiKey in header

eth_newFilter

Create a new log filter

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<object>required

Array with one object describing the filter options.

Show child attributes
fromBlockstring

Starting block number or tag ("latest", "earliest", "pending").

toBlockstring

Ending block number or tag.

addressstring | Array<string> | null
topicsArray<string | Array<string>> | null

Array of topic filters. Topics are 32-byte hashes identifying events.

Show child attributes
One of
string
Array<string>
idintegerrequired

Response

200OK

Filter ID created successfully

Authorization

api-keyAuthapiKey in header

eth_newPendingTransactionFilter

Create a filter for pending transactions

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<any>required

No parameters required for this method

idintegerrequired

Request identifier

Response

200OK

Filter ID created successfully

Authorization

api-keyAuthapiKey in header

eth_sendRawTransaction

Send a raw signed transaction

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

Method name

paramsArray<string>required

Array containing a single signed transaction data (hex string)

idintegerrequired

Request ID

Response

200OK

Transaction successfully sent

Authorization

api-keyAuthapiKey in header

eth_sendTransaction

Send a transaction using node-managed account

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<object>required

Transaction object

Show child attributes
fromstring

Address the transaction is sent from

tostring

Address the transaction is directed to

gasstring

Gas provided for the transaction (hex)

gasPricestring

Gas price in wei (hex)

valuestring

Value sent with the transaction in wei (hex)

datastring

(Optional) Data for contract interaction

idintegerrequired

Response

200OK

Transaction successfully sent

Authorization

api-keyAuthapiKey in header

eth_sign

Sign arbitrary data using eth_sign

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

[address, data]

  • address: The account that will sign the data
  • data: The data to be signed (must be a hex string)
idintegerrequired

Response

200OK

Returns the signature of the message

Authorization

api-keyAuthapiKey in header

eth_signTransaction

eth_signTransaction

POST
https://sys-btc.nownodes.io/

Signs a transaction locally with the private key of the specified account.

Body

application/json
jsonrpcstringrequired
methodstringeth_signTransactionrequired
paramsArray<object>required

Array with a single object representing the transaction to sign.

Show child attributes
fromstringrequired

The address of the account that will sign the transaction.

tostring

The destination address of the transaction.

gasstring

Gas limit for the transaction, as a hex string.

gasPricestring

Gas price in wei, as a hex string.

valuestring

Amount of wei to send, as a hex string.

datastring

Data payload of the transaction, hex encoded.

noncestring

Nonce of the transaction, as a hex string.

chainIdinteger

The chain ID to protect against replay attacks.

idintegerrequired

Response

200OK

JSON-RPC response with the signed transaction data

Authorization

api-keyAuthapiKey in header

eth_syncing

Check if node is syncing

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsarrayrequired

Must be an empty array.

idintegerrequired

Response

200OK

Returns sync status object or false

Authorization

api-keyAuthapiKey in header

eth_uninstallFilter

Uninstall an existing filter

POST
https://sys-btc.nownodes.io/

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required
idintegerrequired

Response

200OK

Success or failure of the uninstall operation

Authorization

api-keyAuthapiKey in header

net_listening

net_listening

POST
https://sys-btc.nownodes.io/

Checks if the client is listening for network connections.

Body

application/json
jsonrpcstringrequired
methodstringnet_listeningrequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with listening status

Authorization

api-keyAuthapiKey in header

net_peerCount

net_peerCount

POST
https://sys-btc.nownodes.io/

Returns the number of peers currently connected to the client.

Body

application/json
jsonrpcstringrequired
methodstringnet_peerCountrequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with the number of connected peers

Authorization

api-keyAuthapiKey in header

net_version

net_version

POST
https://sys-btc.nownodes.io/

Returns the current network ID of the Ethereum client.

Body

application/json
jsonrpcstringrequired
methodstringnet_versionrequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with the current network ID

Authorization

api-keyAuthapiKey in header

web3_clientVersion

web3_clientVersion

POST
https://sys-btc.nownodes.io/

Returns the current Ethereum client version.

Body

application/json
jsonrpcstringrequired
methodstringweb3_clientVersionrequired
paramsarrayrequired

This method takes no parameters.

idintegerrequired

Response

200OK

JSON-RPC response with the client version string

Authorization

api-keyAuthapiKey in header

web3_sha3

web3_sha3

POST
https://sys-btc.nownodes.io/

Computes the Keccak-256 (SHA-3) hash of the given hex-encoded data.

Body

application/json
jsonrpcstringrequired
methodstringweb3_sha3required
paramsArray<string>required

Array containing a single hex-encoded data string to hash.

idintegerrequired

Response

200OK

JSON-RPC response with the Keccak-256 hash of the input data

Authorization

api-keyAuthapiKey in header

MAINNET / Mining_RPCs

getmininginfo

getmininginfo

POST
https://sys-btc.nownodes.io/

Returns mining-related information such as current block, difficulty, network hash rate, etc. No parameters are required.

Body

application/json
jsonrpcstringrequired

JSON-RPC version (always "1.0")

idstringrequired

Request identifier

methodstringgetmininginforequired

The RPC method name

paramsarrayrequired

No parameters required

Response

200OK

Mining info retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getnetworkhashps

getnetworkhashps

POST
https://sys-btc.nownodes.io/

Returns the estimated network hashes per second (hash rate) based on the last nblocks blocks. This provides an estimate of the total computational power securing the network.

Body

application/json
jsonrpcstringrequired

The JSON-RPC protocol version (always "1.0")

idstringrequired

The identifier for the request

methodstringgetnetworkhashpsrequired

The name of the RPC method

paramsArray<integer>required

Optional parameters:

  1. nblocks (integer) — The number of blocks to average over. Default is 120.
  2. height (integer) — Use the block at this height instead of the current tip. Use -1 for the tip.
Show child attributes
One of
integer

Response

200OK

Hash rate retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

MAINNET / Rawtransactions_RPCs

createrawtransaction

createrawtransaction

POST
https://sys-btc.nownodes.io/

Creates an unsigned raw transaction from a list of inputs and outputs. The transaction is returned as a serialized hex string, which can then be signed and broadcast.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringcreaterawtransactionrequired
paramsArray<Array<object> | object | integer | boolean>required

Parameters:

  1. inputs (array) — List of transaction inputs, each including txid and vout.
  2. outputs (object) — Destination addresses and amounts.
  3. locktime (integer, optional) — Locktime value.
  4. replaceable (boolean, optional) — Whether this transaction signals BIP125 replaceability.
Show child attributes
One of
Array<object>
Show child attributes
txidstring

Transaction ID to spend

voutinteger

Output index

object
integer
boolean

Response

200OK

Unsigned raw transaction created successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

decoderawtransaction

decoderawtransaction

POST
https://sys-btc.nownodes.io/

Decodes a raw hex-encoded Bitcoin transaction and returns a JSON object with readable fields. Useful for viewing the contents of raw transactions before broadcasting.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringdecoderawtransactionrequired
paramsArray<string>required

Parameters:

  1. hexstring (string, required) — The raw transaction hex string.

Response

200OK

Transaction decoded successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

decodescript

decodescript

POST
https://sys-btc.nownodes.io/

Decodes a hex-encoded script (usually scriptPubKey) and returns a JSON representation including the script type and addresses. Useful for analyzing output scripts or creating Pay-to-Script-Hash addresses.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringdecodescriptrequired

RPC method name

paramsArray<string>required

Parameters:

  1. hexstring (string, required) — The script in hex format to decode.

Response

200OK

Script decoded successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

getrawtransaction

getrawtransaction

POST
https://sys-btc.nownodes.io/

Retrieves a raw transaction by its txid. If verbose is false or omitted, the result is a raw hex string. If verbose is true, returns a JSON object with decoded transaction details.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetrawtransactionrequired
paramsArray<string | boolean>required

Parameters:

  1. txid (string, required) — The transaction ID.
  2. verbose (boolean, optional) — If true, return JSON; if false, return hex. Default: false.
Show child attributes
One of
string
boolean

Response

200OK

Transaction retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

sendrawtransaction

sendrawtransaction

POST
https://sys-btc.nownodes.io/

Submits a raw transaction (hex-encoded string) to the mempool and broadcasts it to the network. Returns the transaction ID (txid) if accepted.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringsendrawtransactionrequired
paramsArray<string | number | boolean>required

Parameters:

  1. hexstring (string, required): The raw transaction in hex format.
  2. maxfeerate (number or boolean, optional): Reject transactions with fees higher than this (BTC/KB). Use false to disable check.
Show child attributes
One of
string
number
boolean

Response

200OK

Transaction accepted and broadcasted

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

signrawtransactionwithkey

signrawtransactionwithkey

POST
https://sys-btc.nownodes.io/

Signs inputs for a raw transaction using explicitly provided private keys, without needing access to a local wallet. Useful for offline signing or stateless transaction construction.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringsignrawtransactionwithkeyrequired
paramsArray<string | Array<string> | Array<object>>required

Parameters:

  1. hexstring (string, required): The raw transaction hex string.
  2. privkeys (array of strings, required): Array of WIF private keys.
  3. prevtxs (array, optional): Array of previous output details for inputs to sign.
Show child attributes
One of
string
Array<string>
Array<object>
Show child attributes
txidstring

Transaction ID of the UTXO being spent.

voutinteger

Output index.

scriptPubKeystring

Script of the UTXO.

redeemScriptstring

(optional) Redeem script for P2SH inputs.

witnessScriptstring

(optional) Witness script for P2WSH inputs.

amountnumber

Amount in BTC of the UTXO.

Response

200OK

Transaction signed successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

MAINNET / Util_RPCs

signmessagewithprivkey

signmessagewithprivkey

POST
https://sys-btc.nownodes.io/

Signs a message with the given private key (in WIF format). Returns the base64-encoded signature.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringsignmessagewithprivkeyrequired
paramsArray<string>required

Parameters:

  1. privkey (string, required): The private key in WIF format.
  2. message (string, required): The message to sign.

Response

200OK

Message signed successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

validateaddress

validateaddress

POST
https://sys-btc.nownodes.io/

Validate a Bitcoin address and return useful information such as whether it is valid, script, or witness, and optionally if it's linked to the wallet.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringvalidateaddressrequired
paramsArray<string>required

Parameters:

  1. address (string, required): The Bitcoin address to validate.

Response

200OK

Address validation result

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header

verifymessage

verifymessage

POST
https://sys-btc.nownodes.io/

Verify a message signature. Returns true if the signature is valid and corresponds to the provided address and message.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringverifymessagerequired
paramsArray<string>required

Parameters:

  1. address (string, required): The Bitcoin address to verify.
  2. signature (string, required): The base64-encoded signature.
  3. message (string, required): The original signed message.

Response

200OK

Signature verification result

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error

Authorization

api-keyAuthapiKey in header