Home

Conflux cfx_call API

v1.0.0
Base URL
https://cfx.nownodes.ioNOWNodes Conflux Core Space mainnet endpoint

Executes a message call without creating a transaction.

Authentication

api-keyAuthapiKey

NOWNodes API key passed in the api-key header.

API Key: api-key in header

Node

Conflux Core Space

Conflux Core Space JSON-RPC methods

cfx_call

POST
https://cfx.nownodes.io/

Executes a message call without creating a transaction.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_callrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_checkBalanceAgainstTransaction

POST
https://cfx.nownodes.io/

Checks whether an account can afford a transaction.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_checkBalanceAgainstTransactionrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_clientVersion

POST
https://cfx.nownodes.io/

Returns the Conflux client version.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_clientVersionrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_epochNumber

POST
https://cfx.nownodes.io/

Returns the highest epoch number for the selected epoch tag.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_epochNumberrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_estimateGasAndCollateral

POST
https://cfx.nownodes.io/

Estimates gas and storage collateral for a transaction.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_estimateGasAndCollateralrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_feeHistory

POST
https://cfx.nownodes.io/

Returns historical base fee and priority fee information.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_feeHistoryrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_gasPrice

POST
https://cfx.nownodes.io/

Returns the current gas price in Drip.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_gasPricerequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getAccount

POST
https://cfx.nownodes.io/

Returns account state information.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getAccountrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getAccountPendingInfo

POST
https://cfx.nownodes.io/

Returns pending transaction information for an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getAccountPendingInforequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getAccountPendingTransactions

POST
https://cfx.nownodes.io/

Returns pending transactions for an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getAccountPendingTransactionsrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getAccumulateInterestRate

POST
https://cfx.nownodes.io/

Returns the accumulated interest rate at an epoch.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getAccumulateInterestRaterequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getAdmin

POST
https://cfx.nownodes.io/

Returns the administrator address of a contract.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getAdminrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getBalance

POST
https://cfx.nownodes.io/

Returns the balance of an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getBalancerequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getBestBlockHash

POST
https://cfx.nownodes.io/

Returns the hash of the best block.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getBestBlockHashrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getBlockByBlockNumber

POST
https://cfx.nownodes.io/

Returns a block by its total-order block number.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getBlockByBlockNumberrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getBlockByEpochNumber

POST
https://cfx.nownodes.io/

Returns the pivot block for an epoch.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getBlockByEpochNumberrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getBlockByHash

POST
https://cfx.nownodes.io/

Returns a block by hash.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getBlockByHashrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getBlockByHashWithPivotAssumption

POST
https://cfx.nownodes.io/

Returns a block by hash under a pivot-chain assumption.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getBlockByHashWithPivotAssumptionrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getBlockRewardInfo

POST
https://cfx.nownodes.io/

Returns block reward information for an epoch.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getBlockRewardInforequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getBlocksByEpoch

POST
https://cfx.nownodes.io/

Returns block hashes in an epoch.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getBlocksByEpochrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getCode

POST
https://cfx.nownodes.io/

Returns contract bytecode at an address.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getCoderequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getCollateralForStorage

POST
https://cfx.nownodes.io/

Returns storage collateral locked by an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getCollateralForStoragerequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getCollateralInfo

POST
https://cfx.nownodes.io/

Returns current chain storage collateral information.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getCollateralInforequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getConfirmationRiskByHash

POST
https://cfx.nownodes.io/

Returns the confirmation risk of a block.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getConfirmationRiskByHashrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getDepositList

POST
https://cfx.nownodes.io/

Returns the deposit list of an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getDepositListrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getEpochReceipts

POST
https://cfx.nownodes.io/

Returns all transaction receipts in an epoch.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getEpochReceiptsrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getFeeBurnt

POST
https://cfx.nownodes.io/

Returns the total EIP-1559 transaction gas fee burnt.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getFeeBurntrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getFilterChanges

POST
https://cfx.nownodes.io/

Returns changes since the last filter poll.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getFilterChangesrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getFilterLogs

POST
https://cfx.nownodes.io/

Returns all logs matching a filter.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getFilterLogsrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getInterestRate

POST
https://cfx.nownodes.io/

Returns the interest rate at an epoch.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getInterestRaterequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getLogs

POST
https://cfx.nownodes.io/

Returns logs matching a filter.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getLogsrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getNextNonce

POST
https://cfx.nownodes.io/

Returns the next nonce for an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getNextNoncerequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getParamsFromVote

POST
https://cfx.nownodes.io/

Returns DAO vote parameter information.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getParamsFromVoterequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getPoSEconomics

POST
https://cfx.nownodes.io/

Returns PoS economic information.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getPoSEconomicsrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getPoSRewardByEpoch

POST
https://cfx.nownodes.io/

Returns PoS reward information by epoch.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getPoSRewardByEpochrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getSkippedBlocksByEpoch

POST
https://cfx.nownodes.io/

Returns non-executed blocks in an epoch.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getSkippedBlocksByEpochrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getSponsorInfo

POST
https://cfx.nownodes.io/

Returns sponsorship information for a contract.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getSponsorInforequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getStakingBalance

POST
https://cfx.nownodes.io/

Returns the staking balance of an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getStakingBalancerequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getStatus

POST
https://cfx.nownodes.io/

Returns node and chain status.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getStatusrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getStorageAt

POST
https://cfx.nownodes.io/

Returns a storage value from a contract.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getStorageAtrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getStorageRoot

POST
https://cfx.nownodes.io/

Returns the storage root of an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getStorageRootrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getSupplyInfo

POST
https://cfx.nownodes.io/

Returns CFX supply information.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getSupplyInforequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getTransactionByHash

POST
https://cfx.nownodes.io/

Returns transaction information by transaction hash.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getTransactionByHashrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getTransactionReceipt

POST
https://cfx.nownodes.io/

Returns the receipt of a transaction.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getTransactionReceiptrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_getVoteList

POST
https://cfx.nownodes.io/

Returns the vote list of an account.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_getVoteListrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_maxPriorityFeePerGas

POST
https://cfx.nownodes.io/

Returns the suggested maximum priority fee per gas.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_maxPriorityFeePerGasrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_newBlockFilter

POST
https://cfx.nownodes.io/

Creates a block filter.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_newBlockFilterrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_newFilter

POST
https://cfx.nownodes.io/

Creates a log filter.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_newFilterrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_newPendingTransactionFilter

POST
https://cfx.nownodes.io/

Creates a pending transaction filter.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_newPendingTransactionFilterrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_sendRawTransaction

POST
https://cfx.nownodes.io/

Submits a signed raw transaction.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_sendRawTransactionrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

cfx_uninstallFilter

POST
https://cfx.nownodes.io/

Removes a filter.

Body

application/json
jsonrpcstring2.0required
methodstringcfx_uninstallFilterrequired
paramsArray<any>required

Positional parameters for the JSON-RPC method.

idinteger | stringrequired

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request

401Unauthorized

Missing or invalid NOWNodes API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or gateway error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.