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
| Network | Base URL |
|---|---|
| Monacoin Mainnet | https://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.
| Method | Description |
|---|---|
createrawtransaction | Creates an unsigned raw transaction that spends the given inputs to the given outputs. |
decoderawtransaction | Decodes a hex-encoded raw transaction into JSON. |
decodescript | Decodes a hex-encoded script. |
estimatefee | Estimates the fee per kilobyte needed for a transaction to confirm. Deprecated in favor of estimatesmartfee on most nodes. |
estimatesmartfee | Estimates the fee rate needed for a transaction to confirm within a target number of blocks. |
getbestblockhash | Returns the hash of the best (tip) block in the most-work chain. |
getblock | Returns a block by hash, as hex or JSON at the requested verbosity. |
getblockchaininfo | Returns the state of the blockchain: chain, height, difficulty, verification progress and more. |
getblockcount | Returns the height of the most-work chain. |
getblockhash | Returns the hash of the block at a given height. |
getblockheader | Returns a block header by hash. |
getblockstats | Returns statistics for a block: fees, sizes, transaction counts and more. |
getchaintips | Returns information about all known chain tips, including stale branches. |
getdifficulty | Returns the proof-of-work difficulty as a multiple of the minimum difficulty. |
getmempoolancestors | Returns the in-mempool ancestors of a mempool transaction. |
getmempoolcluster | Returns the mempool cluster that a transaction belongs to. |
getmempooldescendants | Returns the in-mempool descendants of a mempool transaction. |
getmempoolentry | Returns mempool data for a transaction. |
getmempoolfeeratediagram | Returns the fee rate diagram of the mempool. |
getmempoolinfo | Returns details on the state of the mempool: size, usage and minimum fee rates. |
getnetworkinfo | Returns the node's P2P network state: version, protocol, connections and relay fee. |
getrawmempool | Returns the IDs of all transactions in the mempool. |
getrawtransaction | Returns a raw transaction by ID, as hex or JSON. |
gettxout | Returns details about an unspent transaction output. |
gettxoutproof | Returns a hex-encoded proof that one or more transactions were included in a block. |
searchrawtransactions | Returns the transactions that involve a given address. |
sendrawtransaction | Submits a signed raw transaction to the node and the network. |
submitpackage | Submits a package of related raw transactions to the node's mempool. |
testmempoolaccept | Checks whether raw transactions would be accepted by the mempool, without submitting them. |
validateaddress | Returns information about an address and whether it is valid. |
verifymessage | Verifies a message signed with an address's private key. |
verifytxoutproof | Verifies 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.