Monacoin - JSON-RPC

JSON-RPC methods supported on Monacoin Mainnet through Tatum RPC Gateway, with base URLs and an example request.

Call Monacoin JSON-RPC methods through Tatum RPC Gateway. Send an HTTP POST request with a JSON-RPC 2.0 body to the network's base URL, with your API key in the x-api-key header. See Authentication.

Base URLs

NetworkBase URL
Monacoin Mainnethttps://monacoin-mainnet.gateway.tatum.io

Example request

curl 'https://monacoin-mainnet.gateway.tatum.io' \
  --header 'content-type: application/json' \
  --header 'x-api-key: {YOUR_API_KEY}' \
  --data '{"jsonrpc":"2.0","method":"getblockcount","params":[],"id":1}'

Methods

32 methods.

MethodDescription
createrawtransactionCreates an unsigned raw transaction that spends the given inputs to the given outputs.
decoderawtransactionDecodes a hex-encoded raw transaction into JSON.
decodescriptDecodes a hex-encoded script.
estimatefeeEstimates the fee per kilobyte needed for a transaction to confirm. Deprecated in favor of estimatesmartfee on most nodes.
estimatesmartfeeEstimates the fee rate needed for a transaction to confirm within a target number of blocks.
getbestblockhashReturns the hash of the best (tip) block in the most-work chain.
getblockReturns a block by hash, as hex or JSON at the requested verbosity.
getblockchaininfoReturns the state of the blockchain: chain, height, difficulty, verification progress and more.
getblockcountReturns the height of the most-work chain.
getblockhashReturns the hash of the block at a given height.
getblockheaderReturns a block header by hash.
getblockstatsReturns statistics for a block: fees, sizes, transaction counts and more.
getchaintipsReturns information about all known chain tips, including stale branches.
getdifficultyReturns the proof-of-work difficulty as a multiple of the minimum difficulty.
getmempoolancestorsReturns the in-mempool ancestors of a mempool transaction.
getmempoolclusterReturns the mempool cluster that a transaction belongs to.
getmempooldescendantsReturns the in-mempool descendants of a mempool transaction.
getmempoolentryReturns mempool data for a transaction.
getmempoolfeeratediagramReturns the fee rate diagram of the mempool.
getmempoolinfoReturns details on the state of the mempool: size, usage and minimum fee rates.
getnetworkinfoReturns the node's P2P network state: version, protocol, connections and relay fee.
getrawmempoolReturns the IDs of all transactions in the mempool.
getrawtransactionReturns a raw transaction by ID, as hex or JSON.
gettxoutReturns details about an unspent transaction output.
gettxoutproofReturns a hex-encoded proof that one or more transactions were included in a block.
searchrawtransactionsReturns the transactions that involve a given address.
sendrawtransactionSubmits a signed raw transaction to the node and the network.
submitpackageSubmits a package of related raw transactions to the node's mempool.
testmempoolacceptChecks whether raw transactions would be accepted by the mempool, without submitting them.
validateaddressReturns information about an address and whether it is valid.
verifymessageVerifies a message signed with an address's private key.
verifytxoutproofVerifies a proof created by gettxoutproof and returns the transactions it commits to.

The gateway lists its supported methods at runtime:

Method unavailable?

If you need a method we don't support yet, contact support.