BlockBook API
v1.0.0https://trx-blockbook.nownodes.ioNOWNodes TRON BlockBook endpoint.https://trx.nownodes.ioNOWNodes TRON endpoint.OpenAPI description for TRON NOWNodes API.
Authentication
api-keyAuthapiKeyNOWNodes API key passed in the api-key header.
API Key: api-key in header
MAINNET / Blockbook
BlockBook
BlockBook operations.
Get BlockBook and backend status
Returns general information about the BlockBook instance and the connected Tron backend node.
Response
HTTP 200 response for getBlockBookStatus. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block hash by block height
Returns the block hash corresponding to the specified block height in the Tron blockchain.
Parameters
heightinteger>= 0requiredpathBlock height for which the block hash is requested
Response
HTTP 200 response for getBlockHashByHeight. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block details by block height
Returns detailed information about a block at the specified height or hash, including block metadata and a list of transactions.
Parameters
heightinteger>= 0requiredpathBlock height (integer) or block hash (string) to identify the block.
blockHeightOrHashstringrequiredpathTRON block number.
Response
HTTP 200 response for getBlockByHeight. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get detailed transaction information
Returns a detailed transaction object including raw hex data, inputs, outputs, and block-related metadata.
Parameters
txidstringrequiredpathTransaction identifier (TXID)
Response
HTTP 200 response for getTransactionSpecific. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction details by transaction ID
Returns a simplified transaction representation in BlockBook v2 format. Values are represented in weis as strings.
Parameters
txidstringrequiredpathTransaction identifier (TXID)
Response
HTTP 200 response for getTransactionV2. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get address details
Returns information about a specific address, including balances, transaction count, and transaction IDs.
Parameters
addressstringrequiredpathTRON address in base58 format.
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.
secondarybooleanfalsequeryWhen true, includes secondary currency values in supported balance and transaction fields.
contractstringquerySmart-contract address used to filter token-related address data.
Response
HTTP 200 response for getAddress. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get balance history for an address
Returns the balance history of a given address, including amounts received, sent, and sent to self, grouped by time intervals.
Parameters
addressstringrequiredpathThe Tron address to retrieve balance history for
Response
HTTP 200 response for getBalanceHistoryByAddress. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get list of tickers at a specific timestamp
Returns a list of cryptocurrency tickers and their rates at the specified timestamp.
Parameters
timestampintegerrequiredqueryUnix timestamp to retrieve ticker data for
Response
HTTP 200 response for getTickersList. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get XPUB/Descriptor Details
Returns balances and transaction history for the given extended public key (XPUB) or output descriptor.
Parameters
xpubOrDescriptorstringrequiredpathExtended 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.
Response
HTTP 200 response for {xpubOrDescriptor}. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Broadcast raw transaction
Broadcasts a raw transaction in hexadecimal format to the network.
Returns the transaction ID if successfully broadcast. Kindly note that if sendtx is too long, the hexadecimal transaction may be cut off.
In this case, it is preferable to use the POST version of the sendtx method.
Parameters
hexTxDatastringrequiredpathRaw transaction data in hexadecimal string format.
Response
HTTP 200 response for {hexTxData}. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Broadcast raw transaction via POST body
Broadcasts a raw transaction provided in hexadecimal format via the request body.
Returns the transaction ID if successfully broadcast.
Body
Raw transaction data in hexadecimal format
Request value.
hexstringRaw transaction in hexadecimal format
Response
HTTP 200 response for sendtx. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
BlockBook (legacy unversioned)
BlockBook (legacy unversioned) operations.
Get BlockBook and backend status
Returns general information about the BlockBook instance and the connected Tron backend node.
Response
HTTP 200 response for getBlockBookStatus. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block hash by block height
Returns the block hash corresponding to the specified block height in the Tron blockchain.
Parameters
heightinteger>= 0requiredpathBlock height for which the block hash is requested
Response
HTTP 200 response for getBlockHashByHeight. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block details by block height
Returns detailed block information using the legacy unversioned BlockBook API format. Values are represented in TRX units.
Parameters
heightinteger>= 0requiredpathBlock height (integer) or block hash (string) to identify the block.
blockHeightOrHashstringrequiredpathTRON block number.
Response
HTTP 200 response for getBlockByHeightLegacy. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get detailed transaction information
Returns detailed transaction information using the legacy unversioned BlockBook API. Includes raw transaction hex, inputs, outputs, and block-related metadata.
Parameters
txidstringrequiredpathTransaction identifier (TXID)
Response
HTTP 200 response for getTransactionSpecificLegacy. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction details by transaction ID
Returns a transaction in BlockBook unversioned legacy format. This is the older format, for backward compatibility.
Parameters
txidstringrequiredpathTransaction identifier (TXID)
Response
HTTP 200 response for getTransactionV1. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get address details
Returns information about a specific address, including balances, transaction count, and transaction IDs.
Parameters
addressstringrequiredpathTRON address in base58 format.
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.
secondarybooleanfalsequeryWhen true, includes secondary currency values in supported balance and transaction fields.
contractstringquerySmart-contract address used to filter token-related address data.
Response
HTTP 200 response for getAddressV1. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Estimate transaction fee per kilobyte
Estimates the fee (in coins) per kilobyte needed for a transaction to be confirmed within a certain number of blocks.
Parameters
blocksintegerrequiredpathNumber of blocks within which the transaction should be confirmed
Response
HTTP 200 response for estimateFeeV1. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block filter by block height
Returns blockbook and backend information for a specific block height.
Parameters
heightintegerrequiredpathThe height of the block to retrieve information for
Response
HTTP 200 response for getBlockFilterByHeight. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get balance history for an address
Returns the balance history of a given address, including amounts received, sent, and sent to self, grouped by time intervals.
Parameters
addressstringrequiredpathThe Tron address to retrieve balance history for
Response
HTTP 200 response for getBalanceHistory. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get XPUB/Descriptor Details (Legacy)
Returns balances and transaction history for the given extended public key (XPUB) or output descriptor using legacy endpoint.
Parameters
xpubOrDescriptorstringrequiredpathExtended 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.
Response
HTTP 200 response for {xpubOrDescriptor}. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Broadcast raw transaction
Broadcasts a raw transaction in hexadecimal format to the network.
Returns the transaction ID if successfully broadcast. Kindly note that if sendtx is too long, the hexadecimal transaction may be cut off.
In this case, it is preferable to use the POST version of the sendtx method.
Parameters
hexTxDatastringrequiredpathRaw transaction data in hexadecimal string format.
Response
HTTP 200 response for {hexTxData}. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Broadcast raw transaction via POST body
Broadcasts a raw transaction provided in hexadecimal format via the request body.
Returns the transaction ID if successfully broadcast.
Body
Raw transaction data in hexadecimal format
Request value.
hexstringRaw transaction in hexadecimal format
Response
HTTP 200 response for sendtx. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
MAINNET / EVM
eth_accounts
eth_accounts operations.
Ethereum method - eth_accounts
Returns an array of addresses controlled by the client.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version identifier
methodstringrequiredName of the JSON-RPC method
paramsarrayrequiredNo parameters are required for this method. This must be an empty array.
idintegerrequiredUnique identifier for the JSON-RPC request
Response
HTTP 200 response for eth_accounts. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_blockNumber
eth_blockNumber operations.
Ethereum method - eth_blockNumber
Returns the number of the latest block on the chain in hexadecimal format.
Body
Request value.
jsonrpcstringrequiredThe JSON-RPC protocol version
methodstringrequiredName of the method being called
paramsarrayrequiredThis method does not take parameters; always send an empty array.
idintegerrequiredA unique ID for the request
Response
HTTP 200 response for eth_blockNumber. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_call
eth_call operations.
Ethereum method - eth_call
Executes a call to a contract or address and returns the result without broadcasting a transaction.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<object | string>requiredThe first object specifies the call transaction object. The second (optional) parameter specifies the block context.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_call. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_chainId
eth_chainId operations.
Ethereum method - eth_chainId
Returns the hexadecimal string of the current chain ID.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version
methodstringrequiredName of the method to call
paramsarrayrequiredThis method does not require parameters. Use an empty array.
idintegerrequiredUnique identifier for the request
Response
HTTP 200 response for eth_chainId. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_coinbase
eth_coinbase operations.
eth_coinbase
Returns the Ethereum coinbase address (i.e., the address that receives mining rewards).
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringeth_coinbaserequiredJSON-RPC method name.
paramsarrayrequiredThis method takes no parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_coinbase. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_estimateGas
eth_estimateGas operations.
Estimate Gas for Transaction
Simulates a transaction and returns an estimate of how much gas would be used.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version
methodstringrequiredThe method name
paramsArray<object | string>requiredThe transaction call object and an optional block tag.
idintegerrequiredRequest identifier
Response
HTTP 200 response for eth_estimateGas. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_feeHistory
eth_feeHistory operations.
eth_feeHistory
Returns fee market information for a range of blocks. This is typically used by wallets and other tools to estimate appropriate gas prices.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string | integer | Array<number>>requiredParameters:
blockCount— number of blocks in the requested range.newestBlock— highest block number in the requested range (can be "latest").rewardPercentiles— list of percentile values to sample priority fees from each block (optional).
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_feeHistory. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_gasPrice
eth_gasPrice operations.
Get Suggested Gas Price
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
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsarrayrequiredThis method takes an empty array.
idintegerrequiredRequest identifier
Response
HTTP 200 response for eth_gasPrice. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getBalance
eth_getBalance operations.
Get ETH Balance of an Address
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
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray with 2 parameters:
- Address (20-byte hex string with '0x' prefix)
- Block tag (e.g., 'latest', 'earliest', 'pending', or block number in hex)
idintegerrequiredRequest ID
Response
HTTP 200 response for eth_getBalance. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getBlockByHash
eth_getBlockByHash operations.
Get Block by Hash
Returns the block information for the specified block hash. The second parameter indicates whether to return full transaction objects or just transaction hashes.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray of parameters:
- Block hash (string)
- Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequiredRequest ID
Response
HTTP 200 response for eth_getBlockByHash. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getBlockByNumber
eth_getBlockByNumber operations.
Get Block by Number
Returns the block information for the specified block number. The second parameter indicates whether to return full transaction objects or just transaction hashes.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray of parameters:
- Block number (hex string, e.g., "0x1b4") or special tags ("latest", "earliest", "pending")
- Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequiredRequest ID
Response
HTTP 200 response for eth_getBlockByNumber. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getBlockReceipts
eth_getBlockReceipts operations.
Get All Transaction Receipts for a Block
Returns an array of transaction receipts for every transaction in the block specified by block number or block hash.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredOne parameter:
- Block identifier, which can be either:
- block number as hex string (e.g. "0x10d4f")
- or block hash as hex string (0x-prefixed)
idintegerrequiredRequest identifier
Response
HTTP 200 response for eth_getBlockReceipts. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByHash operations.
Get Transaction Count by Block Hash
Returns the number of transactions contained in the block with the given hash.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray containing a single parameter:
- Block hash as a hex string (32 bytes with 0x prefix)
idintegerrequiredRequest ID
Response
HTTP 200 response for eth_getBlockTransactionCountByHash. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getBlockTransactionCountByNumber
eth_getBlockTransactionCountByNumber operations.
Get Transaction Count by Block Number
Returns the number of transactions contained in the block with the given block number.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray 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"
idintegerrequiredRequest ID
Response
HTTP 200 response for eth_getBlockTransactionCountByNumber. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getCode
eth_getCode operations.
Get Contract Bytecode at Address
Returns the contract code stored at a given address. If the address is an externally owned account (EOA), it returns "0x".
Body
Request value.
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters array with two elements:
- The address to get the code for (hex string, 0x-prefixed).
- The block number or block tag (e.g., "latest", "earliest", "pending").
idintegerrequiredRequest identifier.
Response
HTTP 200 response for eth_getCode. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getFilterChanges
eth_getFilterChanges operations.
Get Filter Changes
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
Request value.
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters array with a single element:
- The filter ID (hex string).
idintegerrequiredRequest identifier.
Response
HTTP 200 response for eth_getFilterChanges. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getFilterLogs
eth_getFilterLogs operations.
Get Filter Logs
Returns all logs matching a filter with the specified filter ID. The filter must have been previously created with eth_newFilter.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters array with one element:
- The filter ID (hex string).
idintegerrequiredRequest identifier.
Response
HTTP 200 response for eth_getFilterLogs. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getLogs
eth_getLogs operations.
Get Logs
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
Request value.
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<object>requiredParameters array with one element: the filter object.
idintegerrequiredRequest identifier.
Response
HTTP 200 response for eth_getLogs. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getStorageAt
eth_getStorageAt operations.
Get Storage At
Returns the value stored at position in the storage of the contract at address at the given blockNumber.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters array:
- address: string - Contract address to query storage from.
- position: string - Storage slot position (hex string).
- block number: string - Block number or keywords ("latest", "earliest", "pending").
idintegerrequiredRequest identifier.
Response
HTTP 200 response for eth_getStorageAt. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockHashAndIndex operations.
Get Transaction by Block Hash and Index
Retrieves the transaction from a block using the block's hash and the transaction's index position within the block.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters:
- blockHash (string): The 32-byte hash of the block.
- transactionIndex (string): The transaction index (hex).
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getTransactionByBlockHashAndIndex. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getTransactionByBlockNumberAndIndex
eth_getTransactionByBlockNumberAndIndex operations.
Get Transaction by Block Number and Index
Returns the information about a transaction using the block number and the transaction index within the block.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredParameters:
- Block number in hex format (e.g., "0x5daf3b")
- Transaction index in the block (e.g., "0x0")
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getTransactionByBlockNumberAndIndex. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getTransactionByHash
eth_getTransactionByHash operations.
Get transaction by hash
Calls the eth_getTransactionByHash operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredArray containing a single transaction hash
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getTransactionByHash. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getTransactionCount
eth_getTransactionCount operations.
Get transaction count (nonce) for address
Calls the eth_getTransactionCount operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>required- address: The address to check for transaction count.
- block: The block parameter (e.g., "latest", "earliest", "pending").
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getTransactionCount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getTransactionReceipt
eth_getTransactionReceipt operations.
Get transaction receipt by hash
Calls the eth_getTransactionReceipt operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredOrdered JSON-RPC method parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getTransactionReceipt. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getUncleByBlockHashAndIndex
eth_getUncleByBlockHashAndIndex operations.
Get uncle block by block hash and index
Calls the eth_getUncleByBlockHashAndIndex operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredblockHash: 32-byte block hashindex: the uncle index as hex (e.g., "0x0" for the first uncle)
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getUncleByBlockHashAndIndex. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getUncleByBlockNumberAndIndex
eth_getUncleByBlockNumberAndIndex operations.
Get uncle block by block number and index
Calls the eth_getUncleByBlockNumberAndIndex operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredblockNumber: 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).
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getUncleByBlockNumberAndIndex. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getUncleCountByBlockHash
eth_getUncleCountByBlockHash operations.
Get the number of uncle blocks by block hash
Calls the eth_getUncleCountByBlockHash operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredAn array containing the block hash.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getUncleCountByBlockHash. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_getUncleCountByBlockNumber
eth_getUncleCountByBlockNumber operations.
Get the number of uncle blocks by block number
Calls the eth_getUncleCountByBlockNumber operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredAn array containing the block number as a hex string.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_getUncleCountByBlockNumber. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_hashrate
eth_hashrate operations.
eth_hashrate
Returns the current mining hashrate reported by the client.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringeth_hashraterequiredJSON-RPC method name.
paramsarrayrequiredThis method takes no parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_hashrate. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_maxPriorityFeePerGas
eth_maxPriorityFeePerGas operations.
Get recommended maxPriorityFeePerGas value
Calls the eth_maxPriorityFeePerGas operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsarrayrequiredNo parameters are required.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_maxPriorityFeePerGas. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_mining
eth_mining operations.
eth_mining
Checks whether the Ethereum client is actively mining.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringeth_miningrequiredJSON-RPC method name.
paramsarrayrequiredThis method does not accept parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_mining. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_newBlockFilter
eth_newBlockFilter operations.
Create a new block filter
Calls the eth_newBlockFilter operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<any>requiredThis method does not require any parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_newBlockFilter. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_newFilter
eth_newFilter operations.
Create a new log filter
Calls the eth_newFilter operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<object>requiredArray with one object describing the filter options.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_newFilter. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_newPendingTransactionFilter
eth_newPendingTransactionFilter operations.
Create a filter for pending transactions
Calls the eth_newPendingTransactionFilter operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<any>requiredNo parameters required for this method
idintegerrequiredRequest identifier
Response
HTTP 200 response for eth_newPendingTransactionFilter. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_sendRawTransaction
eth_sendRawTransaction operations.
Send a raw signed transaction
Calls the eth_sendRawTransaction operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredMethod name
paramsArray<string>requiredArray containing a single signed transaction data (hex string)
idintegerrequiredRequest ID
Response
HTTP 200 response for eth_sendRawTransaction. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_sendTransaction
eth_sendTransaction operations.
Send a transaction using node-managed account
Calls the eth_sendTransaction operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<object>requiredTransaction object
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_sendTransaction. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_sign
eth_sign operations.
Sign arbitrary data using eth_sign
Calls the eth_sign operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>required[address, data]
- address: The account that will sign the data
- data: The data to be signed (must be a hex string)
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_sign. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_signTransaction
eth_signTransaction operations.
eth_signTransaction
Signs a transaction locally with the private key of the specified account.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringeth_signTransactionrequiredJSON-RPC method name.
paramsArray<object>requiredArray with a single object representing the transaction to sign.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_signTransaction. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_syncing
eth_syncing operations.
Check if node is syncing
Calls the eth_syncing operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsarrayrequiredMust be an empty array.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_syncing. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
eth_uninstallFilter
eth_uninstallFilter operations.
Uninstall an existing filter
Calls the eth_uninstallFilter operation.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredJSON-RPC method name.
paramsArray<string>requiredOrdered JSON-RPC method parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for eth_uninstallFilter. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
net_listening
net_listening operations.
net_listening
Checks if the client is listening for network connections.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringnet_listeningrequiredJSON-RPC method name.
paramsarrayrequiredThis method takes no parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for net_listening. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
net_peerCount
net_peerCount operations.
net_peerCount
Returns the number of peers currently connected to the client.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringnet_peerCountrequiredJSON-RPC method name.
paramsarrayrequiredThis method takes no parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for net_peerCount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
net_version
net_version operations.
net_version
Returns the current network ID of the Ethereum client.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringnet_versionrequiredJSON-RPC method name.
paramsarrayrequiredThis method takes no parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for net_version. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
web3_clientVersion
web3_clientVersion operations.
web3_clientVersion
Returns the current Ethereum client version.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringweb3_clientVersionrequiredJSON-RPC method name.
paramsarrayrequiredThis method takes no parameters.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for web3_clientVersion. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
web3_sha3
web3_sha3 operations.
web3_sha3
Computes the Keccak-256 (SHA-3) hash of the given hex-encoded data.
Body
Request value.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringweb3_sha3requiredJSON-RPC method name.
paramsArray<string>requiredArray containing a single hex-encoded data string to hash.
idintegerrequiredClient request identifier echoed by the server.
Response
HTTP 200 response for web3_sha3. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
MAINNET / node-wallet-solidity
Account Resources
Account Resources operations.
Get Account Details
Retrieves comprehensive information about a TRON account including TRX balance, bandwidth (net) usage, energy resources, votes for Super Representatives, and multi-signature permission structures. This endpoint queries the solidified (confirmed) state of the blockchain.
Body
Request body containing the account address to query
Request value.
addressstringrequiredThe TRON address to query. Can be Base58Check encoded (if visible=true) or hex format. Base58 addresses typically start with 'T' on mainnet.
visiblebooleanrequiredIf true, indicates the address is provided in Base58Check format. If false, the address is expected in hex format.
Response
HTTP 200 response for getAccount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get delegated resource information
Query the resource delegation from one account to another. Returns information about bandwidth and energy delegation.
Body
Request value.
fromAddressstringrequiredDelegator address in hex string format
toAddressstringrequiredDelegatee address in hex string format
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getdelegatedresource. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get delegated resource account index
Query the delegation relationships for an account. Returns information about both from and to delegation relationships.
Body
Request value.
valuestringrequiredAccount address in hex string format
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getdelegatedresourceaccountindex. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get account by ID
Query account information by account ID. This is an alternative method to get account details.
Body
Request value.
account_idstringrequiredAccount ID in hex string format
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getaccountbyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get available unfreeze count
Query the number of available unfreeze operations for an account. Accounts can unfreeze staked TRX after the freeze period expires.
Body
Request value.
owner_addressstringrequiredAccount address in hex string format
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getavailableunfreezecount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get withdrawable unfreeze amount
Query the amount of TRX that can be withdrawn from unfrozen balance at a specific timestamp.
Body
Request value.
owner_addressstringrequiredAccount address in hex string format
timestampintegerrequiredSpecific timestamp to check withdrawable amount
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getcanwithdrawunfreezeamount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get maximum delegatable size
Query the maximum amount of resources that can be delegated for a specific type.
Body
Request value.
owner_addressstringrequiredAccount address in hex string format
typeinteger01requiredResource type (0 for bandwidth, 1 for energy)
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getcandelegatedmaxsize. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get delegated resource information (V2)
Query the resource delegation from one account to another (updated version). Provides enhanced delegation information.
Body
Request value.
fromAddressstringrequiredDelegator address in hex string format
toAddressstringrequiredDelegatee address in hex string format
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getdelegatedresourcev2. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get delegated resource account index (V2)
Query the delegation relationships for an account (updated version). Provides enhanced delegation relationship information.
Body
Request value.
valuestringrequiredAccount address in hex string format
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getdelegatedresourceaccountindexv2. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Voting & SRs
Voting & SRs operations.
Get list of all Super Representatives (Witnesses)
Query the complete list of all Super Representatives (witnesses) from the solidity node. Super Representatives are the block producers in TRON's DPoS consensus mechanism. This method returns detailed information about each SR including their voting statistics, performance metrics, and current status.
The solidity node provides confirmed state data, making this method suitable for applications that require consistent and verified SR information.
Body
Request value.
visiblebooleanWhen set to true, addresses will be returned in base58 format. When false or omitted, addresses are returned in hex string format.
Response
HTTP 200 response for listwitnesses. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
TRC-10 Token
TRC-10 Token operations.
Get all TRC-10 token list
Query the complete list of all TRC-10 tokens issued on the TRON network. TRC-10 tokens are native tokens on TRON that don't require a smart contract. Returns detailed information about each token including name, ID, supply, and issuer.
Body
Request value.
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getassetissuelist. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get paginated TRC-10 token list
Query TRC-10 tokens in pagination format. Useful for applications that need to display tokens in pages or handle large datasets.
Body
Request value.
offsetintegerrequiredStarting index for pagination
limitintegerrequiredNumber of tokens to return
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getpaginatedassetissuelist. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get TRC-10 token by name
Query a specific TRC-10 token by its name. The name should be provided in hex string format.
Body
Request value.
valuestringrequiredToken name in hex string format
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getassetissuebyname. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get TRC-10 tokens by name
Query TRC-10 tokens by name. This method can return multiple tokens if there are tokens with similar names.
Body
Request value.
valuestringrequiredToken name in hex string format
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getassetissuelistbyname. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get TRC-10 token by ID
Query a specific TRC-10 token by its unique token ID. Token IDs are numerical strings assigned during token creation.
Body
Request value.
valuestringrequiredToken ID
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getassetissuebyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Blocks
Blocks operations.
Get latest block from solidity node
Query the latest block from the solidity node. The solidity node provides confirmed block data that has been verified and is irreversible. This method returns the most recent block that has achieved finality.
Body
Request value.
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getnowblock. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block by number from solidity node
Query a specific block by block number from the solidity node. Returns the complete block information including all transactions.
Body
Request value.
numintegerrequiredBlock number to query
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getblockbynum. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block by ID from solidity node
Query a specific block by block hash (ID) from the solidity node. The block ID is the hash of the block header.
Body
Request value.
valuestringrequiredBlock hash in hex string format
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getblockbyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get blocks by range
Query a range of blocks by start and end block numbers. Returns blocks from start number to end number (inclusive).
Body
Request value.
startNumintegerrequiredStarting block number
endNumintegerrequiredEnding block number
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getblockbylimitnext. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get latest blocks
Query the most recent N blocks from the solidity node. Returns the specified number of latest confirmed blocks.
Body
Request value.
numintegerrequiredNumber of latest blocks to return
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getblockbylatestnum. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get node information
Query information about the connected TRON node. Returns details about the node's configuration, network status, and current block information. This method queries the full node, providing real-time network data.
Body
Request value.
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getnodeinfo. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Transactions
Transactions operations.
Get transaction by ID
Query a specific transaction by its transaction ID (hash) from the solidity node. Returns the complete transaction details including raw data and signatures. The solidity node provides confirmed transaction data that has been included in a block.
Body
Request value.
valuestringrequiredTransaction ID (hash) in hex string format
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for gettransactionbyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction count by block number
Query the number of transactions in a specific block by block number. Returns the total count of transactions contained in the specified block.
Body
Request value.
numintegerrequiredBlock number
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for gettransactioncountbyblocknum. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction information by ID
Query detailed transaction information by transaction ID. Returns additional execution details including fee information, internal transactions, and contract execution results that are not available in the basic transaction data.
Body
Request value.
valuestringrequiredTransaction ID (hash) in hex string format
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for gettransactioninfobyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction information by block number
Query transaction information for all transactions in a specific block. Returns detailed execution information for each transaction in the block.
Body
Request value.
numintegerrequiredBlock number
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for gettransactioninfobyblocknum. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
DEX Exchanges
DEX Exchanges operations.
Get DEX exchange by ID
Query information about a specific decentralized exchange (DEX) by its exchange ID. Returns detailed information about the token pair, liquidity pools, and exchange statistics. DEX exchanges on TRON allow trading between TRX and TRC-10 tokens through automated market maker (AMM) pools.
Body
Request value.
idintegerrequiredThe unique identifier of the exchange
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for getexchangebyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Exchange not found
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get all DEX exchanges list
Query the complete list of all decentralized exchanges (DEX) on the TRON network. Returns information about all available trading pairs and their current liquidity. The list is typically sorted by exchange ID in ascending order.
Body
Request value.
visiblebooleanWhether addresses should be returned in base58 format
Response
HTTP 200 response for listexchanges. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
MAINNET / node-wallet
Account
Account operations.
Validate address
Validates whether a given address is a valid TRON address in either base58 or hex format. Returns validation result and address details.
Body
Request value.
addressstringrequiredThe address to validate. Can be in base58 format (starts with 'T') or hex format.
Response
HTTP 200 response for validateaddress. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Create account
Creates a new account on the TRON blockchain. This operation requires the creator to pay a fee and have sufficient balance. The account creation must be signed and broadcast to the network.
Body
Request value.
owner_addressstringrequiredThe address of the account creator (must have sufficient TRX for fee). In base58 format starting with 'T'.
account_addressstringrequiredThe address of the new account to be created. In base58 format starting with 'T'.
visiblebooleanWhether addresses are provided in base58 format. Set to true for base58 addresses.
Response
HTTP 200 response for createaccount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get account information
Returns comprehensive information about an account including balance, resource usage, permissions, and token holdings.
Body
Request value.
addressstringrequiredThe account address to query. In base58 format starting with 'T'.
visiblebooleanWhether the address is provided in base58 format. Set to true for base58 addresses.
Response
HTTP 200 response for getaccount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Update account
Update account information such as account name. This operation requires a fee and must be signed and broadcast to the network.
Body
Request value.
account_namestringrequiredThe new account name in hex string format. Maximum 32 bytes when converted to hex.
owner_addressstringrequiredThe account owner address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for updateaccount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Update account permission
Update account permissions including owner permission and active permissions. This is a critical security operation that requires careful consideration. The transaction must be signed and broadcast to the network.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
ownerobjectNew owner permission settings. This is a critical permission that controls the account.
activesArray<object>Active permission settings for daily operations.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for accountpermissionupdate. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get account balance
Returns the current TRX balance of an account. This method provides a simple way to query only the balance without other account details.
Body
Request value.
account_identifierobjectrequiredAccount identifier object containing the address.
block_identifierobjectrequiredOptional block identifier to get balance at a specific block height.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getaccountbalance. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Set account ID
Set a human-readable account ID for an account. This operation requires a fee and must be signed and broadcast to the network. Account ID must be unique across the network.
Body
Request value.
account_idstringrequiredThe account ID to set. Must be unique across the network. Maximum 32 bytes.
owner_addressstringrequiredThe account owner address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for setaccountid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get account by ID
Returns account information by account ID. Account ID is a unique identifier that can be set for an account.
Body
Request value.
account_idstringrequiredThe account ID to look up.
visiblebooleanWhether to return address in base58 format.
Response
HTTP 200 response for getaccountbyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Transfers and Transactions
Transfers and Transactions operations.
Create transaction
Creates a new transaction for transferring TRX between accounts. This method constructs the transaction but does not sign or broadcast it. The returned transaction must be signed before it can be broadcast to the network.
Body
Request value.
to_addressstringrequiredThe recipient's address in base58 format (starts with 'T').
owner_addressstringrequiredThe sender's address in base58 format (starts with 'T').
amountinteger<int64>requiredThe amount to send in SUN (1 TRX = 1,000,000 SUN). Must be a positive integer.
visiblebooleanWhether addresses are provided in base58 format. Set to true for base58 addresses.
permission_idintegerThe permission ID to use for the transaction (for multi-signature accounts). If not specified, uses the default active permission.
Response
HTTP 200 response for createtransaction. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Broadcast transaction
Broadcasts a signed transaction to the network for processing. The transaction must be properly signed before broadcasting. Once broadcast, the transaction will be processed by the network and included in a block.
Body
Request value.
transactionobjectrequiredThe signed transaction object to broadcast. This should be the transaction object returned by createtransaction with added signatures.
signatureArray<string>requiredArray of transaction signatures in hex format. For single-signature transactions, array should contain one signature. For multi-signature transactions, array should contain all required signatures.
visiblebooleanWhether the transaction uses visible addresses.
Response
HTTP 200 response for broadcasttransaction. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Broadcast hex transaction
Broadcasts a fully signed transaction in hex format to the network. This method accepts the complete signed transaction as a hex string. Useful for broadcasting transactions that were signed offline or by external tools.
Body
Request value.
transactionstringrequiredThe complete signed transaction in hex format. This should include the raw transaction data plus all signatures.
Response
HTTP 200 response for broadcasthex. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get sign weight
Returns the current signing weight of a transaction. This method is useful for multi-signature accounts to check if a transaction has sufficient signatures. It analyzes the provided signatures and calculates the current approval weight.
Body
Request value.
transactionobjectrequiredThe transaction object with signatures to analyze.
visiblebooleanWhether the transaction uses visible addresses.
permission_idintegerThe permission ID to check against. If not specified, checks against the active permission.
Response
HTTP 200 response for getsignweight. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get approved list
Returns the list of approved addresses and their approved amounts for a specific contract. This is useful for checking token allowances in TRC20 contracts.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getapprovedlist. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Resources
Resources operations.
Get account resource information
Returns comprehensive resource information for an account including energy, bandwidth, frozen balances, and delegation details for both bandwidth and energy.
Body
Request value.
addressstringrequiredThe account address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getaccountresource. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get account network information
Returns network resource information for an account including bandwidth usage and limits. Focuses specifically on bandwidth-related resources.
Body
Request value.
addressstringrequiredThe account address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getaccountnet. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Unfreeze balance
Unfreezes previously frozen TRX balance for bandwidth or energy. Frozen balances have a minimum freeze period and can be unfrozen after this period. This operation requires a fee and must be signed and broadcast.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
resourcestringBANDWIDTHENERGYThe resource type to unfreeze. BANDWIDTH - for bandwidth resources ENERGY - for energy resources
receiver_addressstringOptional receiver address for delegated resources. If provided, unfreezes delegated resources.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for unfreezebalance. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get delegated resource
Returns information about resources delegated from one account to another. Shows both bandwidth and energy delegation details.
Body
Request value.
fromAddressstringrequiredThe delegator address in base58 format.
toAddressstringrequiredThe delegatee address in base58 format.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for getdelegatedresource. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get delegated resource account index
Returns the delegated resource account index showing all delegation relationships for an account. Shows both incoming and outgoing delegations.
Body
Request value.
valuestringrequiredThe account address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getdelegatedresourceaccountindex. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Freeze balance V2
Freezes TRX balance to obtain resources (bandwidth or energy) in the new resource model. This is the updated version of freeze balance with improved resource management. The frozen balance contributes to the account's resource limits.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
frozen_balanceinteger<int64>requiredThe amount of TRX to freeze in SUN.
resourcestringBANDWIDTHENERGYrequiredThe resource type to obtain. BANDWIDTH - for bandwidth resources ENERGY - for energy resources
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for freezebalancev2. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Unfreeze balance V2
Unfreezes previously frozen TRX balance in the new resource model. Allows unfreezing specific amounts of frozen balance for bandwidth or energy.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
resourcestringBANDWIDTHENERGYrequiredThe resource type to unfreeze. BANDWIDTH - for bandwidth resources ENERGY - for energy resources
unfreeze_balanceinteger<int64>requiredThe amount of TRX to unfreeze in SUN.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for unfreezebalancev2. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Cancel all unfreeze V2
Cancels all pending unfreeze operations for an account in the new resource model. This prevents scheduled unfreezes from occurring.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for cancelallunfreezev2. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Delegate resource
Delegates resources (bandwidth or energy) to another account. The delegator freezes TRX and the delegatee can use the corresponding resources.
Body
Request value.
owner_addressstringrequiredThe delegator address in base58 format.
resourcestringBANDWIDTHENERGYrequiredThe resource type to delegate. BANDWIDTH - for bandwidth resources ENERGY - for energy resources
balanceinteger<int64>requiredThe amount of TRX to freeze and delegate in SUN.
receiver_addressstringrequiredThe delegatee address in base58 format.
lockbooleanWhether to lock the delegation (cannot be undelegated until expiration).
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for delegateresource. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Undelegate resource
Undelegates previously delegated resources. This starts the unfreeze process for delegated resources.
Body
Request value.
owner_addressstringrequiredThe delegator address in base58 format.
resourcestringBANDWIDTHENERGYrequiredThe resource type to undelegate. BANDWIDTH - for bandwidth resources ENERGY - for energy resources
balanceinteger<int64>requiredThe amount of TRX to undelegate in SUN.
receiver_addressstringrequiredThe delegatee address in base58 format.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for undelegateresource. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Withdraw expire unfreeze
Withdraws unfrozen TRX that has completed the unfreeze period. After unfreezing balance, there is a waiting period before it can be withdrawn.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for withdrawexpireunfreeze. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get available unfreeze count
Returns the number of available unfreeze operations for an account. There are limits on how many times an account can unfreeze balance within a period.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getavailableunfreezecount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get can withdraw unfreeze amount
Returns the amount of TRX that can be withdrawn from unfrozen balance. Shows the available amount that has completed the unfreeze waiting period.
Body
Request value.
owner_addressstringrequiredThe account owner address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getcanwithdrawunfreezeamount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get can delegated max size
Returns the maximum amount of resources that can be delegated to a specific account. Takes into account the delegator's frozen balance and network limits.
Body
Request value.
owner_addressstringrequiredThe delegator address in base58 format.
typeinteger01requiredThe resource type. 0 - for bandwidth resources 1 - for energy resources
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getcandelegatedmaxsize. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get delegated resource V2
Returns detailed information about delegated resources in the new resource model. Shows delegation details for both bandwidth and energy with enhanced information.
Body
Request value.
fromAddressstringrequiredThe delegator address in base58 format.
toAddressstringrequiredThe delegatee address in base58 format.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for getdelegatedresourcev2. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get delegated resource account index V2
Returns the delegated resource account index in the new resource model. Shows comprehensive delegation relationships with enhanced details.
Body
Request value.
valuestringrequiredThe account address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getdelegatedresourceaccountindexv2. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Query the Network
Query the Network operations.
Get current block
Returns the most recent block that has been added to the blockchain. This provides real-time access to the latest block information.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getnowblock. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block by ID or number
Returns a specific block by either its block ID (hash) or block number. Only one of id_or_num parameters should be provided.
Body
Request value.
id_or_numstringThe block ID (hash) or block number as string. Can be either hex hash or numeric string.
detailbooleanWhether to include full transaction details. If false, only transaction IDs are returned.
Response
HTTP 200 response for getblock. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block by number
Returns a specific block by its block number (height). This is the preferred method for retrieving blocks by their sequence number.
Body
Request value.
numintegerrequiredThe block number (height) to retrieve. Must be a valid block number that exists on the chain.
Response
HTTP 200 response for getblockbynum. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block by ID
Returns a specific block by its block ID (hash). Useful when you have the block hash but not the block number.
Body
Request value.
valuestringrequiredThe block ID (hash) in hex format.
Response
HTTP 200 response for getblockbyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get blocks by latest count
Returns the most recent N blocks from the current chain head. Useful for getting recent block history.
Body
Request value.
numintegerrequiredThe number of recent blocks to retrieve. Maximum value may be limited by node configuration.
Response
HTTP 200 response for getblockbylatestnum. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get blocks by range
Returns blocks within a specified range of block numbers. Useful for paginating through block history.
Body
Request value.
startNumintegerrequiredThe starting block number (inclusive).
endNumintegerrequiredThe ending block number (inclusive). Must be greater than or equal to startNum.
Response
HTTP 200 response for getblockbylimitnext. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get block balance
Returns balance information for a specific block. Shows the TRX balance changes and distributions at a particular block height.
Body
Request value.
block_identifierobjectrequiredBlock identifier specifying which block to query.
Response
HTTP 200 response for getblockbalance. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction by ID
Returns detailed information about a specific transaction by its transaction ID. Includes complete transaction data and metadata.
Body
Request value.
valuestringrequiredThe transaction ID (hash) in hex format.
Response
HTTP 200 response for gettransactionbyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction information by ID
Returns comprehensive information about a transaction including execution details, fee information, and resource usage. This provides more detailed information than gettransactionbyid.
Body
Request value.
valuestringrequiredThe transaction ID (hash) in hex format.
Response
HTTP 200 response for gettransactioninfobyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction count by block number
Returns the number of transactions in a specific block. Useful for analyzing block activity and network throughput.
Body
Request value.
numintegerrequiredThe block number to query.
Response
HTTP 200 response for gettransactioncountbyblocknum. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get transaction information by block number
Returns transaction information for all transactions in a specific block. Provides complete details for every transaction in the block.
Body
Request value.
numintegerrequiredThe block number to query.
Response
HTTP 200 response for gettransactioninfobyblocknum. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
List nodes
Returns information about nodes currently connected to the network. Shows the peer-to-peer network topology.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for listnodes. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get node information
Returns comprehensive information about the current node including version, network status, peer connections, and performance metrics.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getnodeinfo. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get chain parameters
Returns the current chain parameters and configuration. Shows network-wide settings and governance parameters.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getchainparameters. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get energy prices
Returns current energy prices and market information. Useful for estimating transaction costs for smart contract operations.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getenergyprices. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get bandwidth prices
Returns current bandwidth prices and market information. Useful for estimating transaction costs for regular transactions.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getbandwidthprices. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get memo fee
Returns the current fee for adding a memo to a transaction. Memos are optional messages that can be included with transactions.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getmemofee. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get burned TRX
Returns the total amount of TRX that has been burned (permanently removed from circulation). TRX can be burned through various network operations and fee mechanisms.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getburntrx. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Smart Contracts
Smart Contracts operations.
Get contract information
Returns basic information about a smart contract including its ABI, bytecode, and creation details. This method provides the fundamental contract metadata stored on the blockchain.
Body
Request value.
valuestringrequiredThe contract address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getcontract. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get contract detailed information
Returns detailed information about a smart contract including runtime statistics, resource usage, and current state. This provides more comprehensive information than getcontract.
Body
Request value.
valuestringrequiredThe contract address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getcontractinfo. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Deploy contract
Deploys a new smart contract to the TRON blockchain. This creates a transaction that must be signed and broadcast to the network. The contract deployment requires sufficient energy and bandwidth resources.
Body
Request value.
owner_addressstringrequiredThe address that will own and deploy the contract.
abistringrequiredThe contract's ABI in JSON string format.
bytecodestringrequiredThe contract's compiled bytecode in hex format.
namestringThe contract name.
fee_limitinteger<int64>The maximum fee (in SUN) for contract deployment.
origin_energy_limitintegerThe energy limit for the contract execution.
consume_user_resource_percentintegerThe percentage of resource consumption paid by the user (0-100).
parameterstringConstructor parameters in hex format (if any).
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for deploycontract. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Trigger smart contract
Executes a smart contract function that may modify the blockchain state. This creates a transaction that must be signed and broadcast to take effect. Used for state-changing operations like transferring tokens or updating storage.
Body
Request value.
contract_addressstringrequiredThe smart contract address in base58 format.
function_selectorstringrequiredThe function signature to call (e.g., "transfer(address,uint256)"). Must match exactly with the contract's ABI.
parameterstringThe encoded function parameters in hex format. Parameters must be ABI-encoded according to the function signature.
fee_limitinteger<int64>The maximum fee (in SUN) for the contract execution.
call_valueinteger<int64>The amount of TRX (in SUN) to send with the contract call. Used for payable functions.
owner_addressstringrequiredThe address that is triggering the contract call.
visiblebooleanWhether addresses are in base58 format.
permission_idintegerThe permission ID to use for the transaction.
Response
HTTP 200 response for triggersmartcontract. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Trigger constant contract
Executes a smart contract function in read-only mode without modifying blockchain state. This method does not create a transaction and is free to use. Used for querying contract state, reading values, and view functions.
Body
Request value.
contract_addressstringrequiredThe smart contract address in base58 format.
function_selectorstringrequiredThe function signature to call (e.g., "balanceOf(address)").
parameterstringThe encoded function parameters in hex format.
owner_addressstringrequiredThe address that is triggering the contract call.
visiblebooleanWhether addresses are in base58 format.
permission_idintegerThe permission ID to use for the call.
Response
HTTP 200 response for triggerconstantcontract. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Update contract setting
Updates the consume_user_resource_percent setting for a smart contract. This determines what percentage of resource consumption is paid by the user vs. the contract owner. Only the contract owner can update this setting.
Body
Request value.
owner_addressstringrequiredThe contract owner address in base58 format.
contract_addressstringrequiredThe contract address to update.
consume_user_resource_percentintegerrequiredThe new consume user resource percentage (0-100).
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for updatesetting. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Update energy limit
Updates the origin_energy_limit for a smart contract. This sets the maximum energy that can be consumed in a single contract call. Only the contract owner can update this setting.
Body
Request value.
owner_addressstringrequiredThe contract owner address in base58 format.
contract_addressstringrequiredThe contract address to update.
origin_energy_limitintegerrequiredThe new origin energy limit.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for updateenergylimit. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Clear contract ABI
Clears the ABI of a smart contract, removing its interface definition. This operation is irreversible and should be used with caution. Only the contract owner can clear the ABI.
Body
Request value.
owner_addressstringrequiredThe contract owner address in base58 format.
contract_addressstringrequiredThe contract address to clear ABI for.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for clearabi. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Estimate energy consumption
Estimates the energy consumption of a smart contract call without executing it. This helps predict the cost of contract interactions before submitting transactions. The estimation is based on the current network state and contract code.
Body
Request value.
owner_addressstringrequiredThe address that would trigger the contract call.
contract_addressstringrequiredThe smart contract address.
function_selectorstringrequiredThe function signature to estimate.
parameterstringrequiredThe encoded function parameters.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for estimateenergy. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
TRC-10 Tokens
TRC-10 Tokens operations.
Get asset issue by account
Returns all TRC-10 tokens issued by a specific account. Shows the tokens that an account has created and their details.
Body
Request value.
addressstringrequiredThe account address in base58 format that issued the tokens.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getassetissuebyaccount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get asset issue by name
Returns information about a specific TRC-10 token by its name. Token names are unique across the network.
Body
Request value.
valuestringrequiredThe token name to search for.
visiblebooleanWhether to return addresses in base58 format.
Response
HTTP 200 response for getassetissuebyname. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get asset issue list by name
Returns information about TRC-10 tokens matching a specific name pattern. Useful for searching tokens by partial name matches.
Body
Request value.
valuestringrequiredThe token name or partial name to search for.
Response
HTTP 200 response for getassetissuelistbyname. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get asset issue by ID
Returns information about a specific TRC-10 token by its token ID. Token IDs are unique numerical identifiers assigned to each TRC-10 token.
Body
Request value.
valuestringrequiredThe token ID to search for.
visiblebooleanWhether to return addresses in base58 format.
Response
HTTP 200 response for getassetissuebyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get asset issue list
Returns a list of all TRC-10 tokens on the network. This provides a comprehensive view of all issued tokens.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getassetissuelist. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get paginated asset issue list
Returns a paginated list of TRC-10 tokens. Useful for efficiently browsing large numbers of tokens.
Body
Request value.
offsetintegerrequiredThe starting index for pagination (0-based).
limitintegerrequiredThe maximum number of tokens to return.
Response
HTTP 200 response for getpaginatedassetissuelist. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Transfer asset
Transfers TRC-10 tokens from one account to another. This creates a transaction that must be signed and broadcast to the network. The sender must have sufficient token balance and bandwidth resources.
Body
Request value.
to_addressstringrequiredThe recipient's address in base58 format.
owner_addressstringrequiredThe sender's address in base58 format.
asset_namestringrequiredThe token name to transfer.
amountinteger<int64>requiredThe amount of tokens to transfer.
visiblebooleanWhether addresses are in base58 format.
permission_idintegerThe permission ID to use for the transaction.
Response
HTTP 200 response for transferasset. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Participate asset issue
Participates in a TRC-10 token sale by exchanging TRX for tokens. This allows users to purchase tokens during the token sale period. The token sale must be active and the exchange rate must be favorable.
Body
Request value.
to_addressstringrequiredThe token issuer's address in base58 format.
owner_addressstringrequiredThe participant's address in base58 format.
asset_namestringrequiredThe token name to purchase.
amountinteger<int64>requiredThe amount of TRX to spend (in SUN) for token purchase.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for participateassetissue. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Create asset issue
Creates a new TRC-10 token on the TRON blockchain. This operation requires a significant amount of TRX and creates a new token with specified parameters. Token creation is permanent and cannot be undone.
Body
Request value.
owner_addressstringrequiredThe token issuer's address in base58 format.
namestringrequiredThe token name (must be unique across the network).
abbrstringrequiredThe token abbreviation.
total_supplyinteger<int64>requiredThe total token supply.
trx_numintegerrequiredThe TRX to token conversion rate numerator.
numintegerrequiredThe TRX to token conversion rate denominator.
start_timeinteger<int64>requiredToken sale start timestamp in milliseconds.
end_timeinteger<int64>requiredToken sale end timestamp in milliseconds.
descriptionstringrequiredToken description.
urlstringrequiredToken website URL.
frozen_supplyobjectFrozen token supply details.
visiblebooleanWhether addresses are in base58 format.
Response
HTTP 200 response for createassetissue. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Unfreeze asset
Unfreezes previously frozen TRC-10 tokens. Token issuers can freeze a portion of token supply during creation and unfreeze it later. This makes frozen tokens available for circulation.
Body
Request value.
owner_addressstringrequiredThe token issuer's address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for unfreezeasset. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Update asset
Updates the description and URL of an existing TRC-10 token. Only the token issuer can update these details. Token name, supply, and other core parameters cannot be changed.
Body
Request value.
owner_addressstringrequiredThe token issuer's address in base58 format.
descriptionstringrequiredThe new token description.
urlstringrequiredThe new token website URL.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for updateasset. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Vote and Super Representative
Vote and Super Representative operations.
Create witness
Registers an account as a witness candidate (Super Representative candidate). This operation requires the account to have sufficient TRX balance and creates a witness node. Witnesses participate in block production and network governance.
Body
Request value.
owner_addressstringrequiredThe account address that will become a witness candidate in base58 format.
urlstringrequiredThe witness website or information URL. Maximum 256 bytes.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for createwitness. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Update witness
Updates the information of an existing witness (Super Representative). This allows witnesses to change their website URL or other public information. Only the witness owner can update witness information.
Body
Request value.
owner_addressstringrequiredThe witness owner address in base58 format.
update_urlstringrequiredThe new witness website or information URL. Maximum 256 bytes.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for updatewitness. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
List witnesses
Returns a list of all witness candidates and Super Representatives on the network. Includes both current Super Representatives and candidate witnesses.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for listwitnesses. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Withdraw balance
Allows a Super Representative to withdraw their block production rewards. Rewards are accumulated from block production and voting rewards. There may be a waiting period before rewards can be withdrawn.
Body
Request value.
owner_addressstringrequiredThe Super Representative address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for withdrawbalance. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Vote witness account
Votes for Super Representative candidates using TRX voting power. Each TRX held in account gives 1 vote. Votes can be distributed among multiple candidates. Voting helps determine which witnesses become Super Representatives.
Body
Request value.
owner_addressstringrequiredThe voter's address in base58 format.
votesArray<object>requiredArray of vote objects specifying witness addresses and vote counts.
visiblebooleanWhether addresses are in base58 format.
support_rewardbooleanWhether to support the reward system (optional).
Response
HTTP 200 response for votewitnessaccount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get brokerage
Returns the brokerage (commission rate) for a Super Representative. Brokerage is the percentage of block rewards that the SR shares with voters. Expressed as a value between 0 and 100.
Body
Request value.
addressstringrequiredThe Super Representative address in base58 format.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getBrokerage. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Update brokerage
Updates the brokerage (commission rate) for a Super Representative. This determines what percentage of block rewards are shared with voters. Only Super Representatives can update their brokerage rate.
Body
Request value.
owner_addressstringrequiredThe Super Representative address in base58 format.
brokerageintegerrequiredThe new brokerage rate as a percentage (0-100).
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for updateBrokerage. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get reward
Returns the unwithdrawn voting rewards for an account. Shows the accumulated rewards from voting for Super Representatives. Rewards can be withdrawn using the withdrawbalance method.
Body
Request value.
addressstringrequiredThe account address in base58 format to check rewards for.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for getReward. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get next maintenance time
Returns the timestamp of the next maintenance period. Maintenance periods are when Super Representative elections occur and rewards are distributed. This helps users know when to expect network updates.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for getnextmaintenancetime. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Proposals
Proposals operations.
Create proposal
Creates a new governance proposal for modifying network parameters. Only Super Representatives (witnesses) can create proposals. Proposals can change various network parameters like block rewards, fees, and resource costs.
Body
Request value.
owner_addressstringrequiredThe Super Representative address creating the proposal in base58 format.
parametersobjectrequiredKey-value pairs of parameters to modify. Keys are parameter IDs, values are the new parameter values.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for proposalcreate. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get proposal by ID
Returns detailed information about a specific governance proposal by its proposal ID. Shows proposal parameters, voting status, and approval information.
Body
Request value.
idintegerrequiredThe proposal ID to retrieve.
Response
HTTP 200 response for getproposalbyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
List proposals
Returns a list of all governance proposals on the network. Includes both active and historical proposals with their current status.
Body
No parameters required for this endpoint.
Response
HTTP 200 response for listproposals. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Approve proposal
Approves a governance proposal. Only Super Representatives can approve proposals. Proposals require approval from a sufficient number of SRs to be enacted.
Body
Request value.
owner_addressstringrequiredThe Super Representative address approving the proposal in base58 format.
proposal_idintegerrequiredThe proposal ID to approve.
is_add_approvalbooleanrequiredWhether to add approval (true) or remove approval (false). true - approve the proposal false - remove existing approval
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for proposalapprove. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Delete proposal
Deletes (cancels) a governance proposal. Only the proposal creator can delete their own proposal. Deleted proposals cannot be approved or enacted.
Body
Request value.
owner_addressstringrequiredThe proposal creator address in base58 format.
proposal_idintegerrequiredThe proposal ID to delete.
visiblebooleanWhether the address is in base58 format.
Response
HTTP 200 response for proposaldelete. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get paginated proposal list
Returns a paginated list of governance proposals. Useful for efficiently browsing large numbers of proposals with pagination controls.
Body
Request value.
offsetintegerrequiredThe starting index for pagination (0-based).
limitintegerrequiredThe maximum number of proposals to return.
Response
HTTP 200 response for getpaginatedproposallist. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
DEX Exchange
DEX Exchange operations.
Create a token exchange
Create a new token exchange between TRX and a TRC10 token. This operation requires a certain amount of TRX as a fee.
Body
Request value.
owner_addressstringrequiredThe owner address that creates the exchange, in hex string format
first_token_idstringrequiredThe id of the first token, if it's TRX, should be "_"
first_token_balanceintegerrequiredThe balance of the first token
second_token_idstringrequiredThe id of the second token, can be any TRC10 token id
second_token_balanceintegerrequiredThe balance of the second token
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for exchangecreate. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Add liquidity to an exchange
Add tokens to a token exchange. Need to specify the token and amount to add.
Body
Request value.
owner_addressstringrequiredThe owner address that adds tokens to the exchange, in hex string format
exchange_idintegerrequiredThe id of the exchange
token_idstringrequiredThe id of the token, if it's TRX, should be "_"
quantintegerrequiredThe amount of tokens to add
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for exchangeinject. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Remove liquidity from an exchange
Remove tokens from a token exchange. Need to specify the token and amount to withdraw.
Body
Request value.
owner_addressstringrequiredThe owner address that withdraws tokens from the exchange, in hex string format
exchange_idintegerrequiredThe id of the exchange
token_idstringrequiredThe id of the token, if it's TRX, should be "_"
quantintegerrequiredThe amount of tokens to withdraw
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for exchangewithdraw. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Trade tokens on an exchange
Trade tokens on a decentralized exchange. This operation exchanges one token for another.
Body
Request value.
owner_addressstringrequiredThe owner address that trades tokens, in hex string format
exchange_idintegerrequiredThe id of the exchange
token_idstringrequiredThe id of the token sold, if it's TRX, should be "_"
quantintegerrequiredThe amount of tokens to sell
expectedintegerrequiredThe expected amount of tokens to buy (minimum acceptable amount)
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for exchangetransaction. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get exchange information by ID
Query the information of a token exchange by exchange ID.
Body
Request value.
idintegerrequiredThe id of the exchange
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getexchangebyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
List all exchanges
List all token exchanges on the blockchain.
Body
Request value.
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for listexchanges. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get paginated exchange list
Query the list of exchanges in pagination.
Body
Request value.
offsetintegerrequiredIndex of the starting exchange
limitintegerrequiredNumber of exchanges to return
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getpaginatedexchangelist. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Place a market sell order
Place a sell order on the market.
Body
Request value.
owner_addressstringrequiredThe owner address that places the sell order, in hex string format
sell_token_idstringrequiredThe id of the token to sell
sell_token_quantityintegerrequiredThe quantity of tokens to sell
buy_token_idstringrequiredThe id of the token to buy
buy_token_quantityintegerrequiredThe quantity of tokens to buy
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for marketsellasset. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Cancel a market order
Cancel an existing market order.
Body
Request value.
owner_addressstringrequiredThe owner address that cancels the order, in hex string format
order_idstringrequiredThe id of the order to cancel
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for marketcancelorder. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get market orders by account
Query market orders by account address.
Body
Request value.
valuestringrequiredThe account address in hex string format
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getmarketorderbyaccount. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get market pair list
Query the list of all trading pairs on the market.
Body
Request value.
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getmarketpairlist. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get market orders by trading pair
Query market orders by trading pair.
Body
Request value.
sell_token_idstringrequiredThe id of the sell token
buy_token_idstringrequiredThe id of the buy token
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getmarketorderlistbypair. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get market price by trading pair
Query the market price of a trading pair.
Body
Request value.
sell_token_idstringrequiredThe id of the sell token
buy_token_idstringrequiredThe id of the buy token
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getmarketpricebypair. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get market order by ID
Query a market order by order ID.
Body
Request value.
valuestringrequiredThe order id
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getmarketorderbyid. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Pending Pool
Pending Pool operations.
Get transaction from pending pool by ID
Query a transaction from the pending pool by its transaction ID. The pending pool contains transactions that have been broadcast but not yet included in a block.
Body
Request value.
valuestringrequiredThe transaction ID in hex string format
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for gettransactionfrompending. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Transaction not found in pending pool
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get all transactions from pending pool
Query all transactions from the pending pool. Returns a list of all transactions that are currently waiting to be included in a block.
Body
Request value.
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for gettransactionlistfrompending. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.
Get pending pool size
Query the current size of the pending pool. Returns the number of transactions currently waiting to be processed.
Body
Request value.
visiblebooleanWhether the address is in base58 format
Response
HTTP 200 response for getpendingsize. The body contains either a successful result or a node-level error.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.
Authorization
api-keyAuthapiKey in headerNOWNodes API key passed in the api-key header.