{"id":414,"date":"2023-03-30T07:00:34","date_gmt":"2023-03-30T07:00:34","guid":{"rendered":"https:\/\/dinastycoin.com\/?page_id=414"},"modified":"2023-03-30T14:26:54","modified_gmt":"2023-03-30T14:26:54","slug":"daemon-rpc-doc","status":"publish","type":"page","link":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/","title":{"rendered":"Daemon-rpc-doc"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"414\" class=\"elementor elementor-414\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f7e6eb5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f7e6eb5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6f1dde8\" data-id=\"6f1dde8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6486fa2 elementor-widget elementor-widget-text-editor\" data-id=\"6486fa2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"introduction\">Introduction<\/h2><p>This is a list of the dinastycoind daemon RPC calls, their inputs and outputs, and examples of each.<\/p><p>Many RPC calls use the daemon\u2019s JSON RPC interface while others use their own interfaces, as demonstrated below.<\/p><p id=\"inizio\"><strong>Note:\u00a0<\/strong>\u201catomic units\u201d refer to the smallest fraction of 1 DCY according to the dinastycoind implementation. 1 DCY = 1e12 <a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" target=\"_blank\" rel=\"noopener\">atomic units<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5ab934d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5ab934d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5d2cd12\" data-id=\"5d2cd12\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0ae0ebb elementor-widget elementor-widget-heading\" data-id=\"0ae0ebb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><a href=\"https:\/\/web.getmonero.org\/resources\/developer-guides\/daemon-rpc.html#json-rpc-methods\">JSON RPC Methods:<\/a><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e24c200 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e24c200\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-70bb04f\" data-id=\"70bb04f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b787e2b elementor-widget elementor-widget-text-editor\" data-id=\"b787e2b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"#flush_txpool\">flush_txpool<\/a><\/li><li><a href=\"#get_block_count\">get_block_count<\/a><\/li><li><a href=\"#get_block_headers_range\">get_block_headers_range<\/a><\/li><li><a href=\"#get_info\">get_info<\/a><\/li><li><a href=\"#get_txpool_backlog\">get_txpool_backlog<\/a><\/li><li><a href=\"#relay_tx\">relay_tx<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-c73a8a6\" data-id=\"c73a8a6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e216032 elementor-widget elementor-widget-text-editor\" data-id=\"e216032\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"#get_alternate_chains\">get_alternate_chains<\/a><\/li><li><a href=\"#get_block_template\">get_block_template<\/a><\/li><li><a href=\"#get_coinbase_tx_sum\">get_coinbase_tx_sum<\/a><\/li><li><a href=\"#get_last_block_header\">get_last_block_header<\/a><\/li><li><a href=\"#get_version\">get_version<\/a><\/li><li><a href=\"#set_bans\">set_bans<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-eeff98b\" data-id=\"eeff98b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-887024f elementor-widget elementor-widget-text-editor\" data-id=\"887024f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"#get_bans\">get_bans<\/a><\/li><li><a href=\"#get_block_header_by_hash\">get_block_header_by_hash<\/a><\/li><li><a href=\"#get_connections\">get_connections<\/a><\/li><li><a href=\"#get_output_distribution\">get_output_distribution<\/a><\/li><li><a href=\"#hard_fork_info\">hard_fork_info<\/a><\/li><li><a href=\"#submit_block\">submit_block<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-a994f31\" data-id=\"a994f31\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-860aba7 elementor-widget elementor-widget-text-editor\" data-id=\"860aba7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"#get_block\">get_block<\/a><\/li><li><a href=\"#get_block_header_by_height\">get_block_header_by_height<\/a><\/li><li><a href=\"#get_fee_estimate\">get_fee_estimate<\/a><\/li><li><a href=\"#get_output_histogram\">get_output_histogram<\/a><\/li><li><a href=\"#on_get_block_hash\">on_get_block_hash<\/a><\/li><li><a href=\"#sync_info\">sync_info<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-77d0126 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"77d0126\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8684d27\" data-id=\"8684d27\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9148aaf elementor-widget elementor-widget-heading\" data-id=\"9148aaf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Other Daemon RPC Calls<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-464dd92 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"464dd92\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-11d95db\" data-id=\"11d95db\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-30a351c elementor-widget elementor-widget-text-editor\" data-id=\"30a351c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"#get_alt_blocks_hashes\">\/get_alt_blocks_hashes<\/a><\/li><li><a href=\"#get_height\">\/get_height<\/a><\/li><li><a href=\"#get_outs\">\/get_outs<\/a><\/li><li><a href=\"#get_transaction_pool_hashes.bin\">\/get_transaction_pool_hashes.bin<\/a><\/li><li><a href=\"#is_key_image_spent\">\/is_key_image_spent<\/a><\/li><li><a href=\"#send_raw_transaction\">\/send_raw_transaction<\/a><\/li><li><a href=\"#set_log_level\">\/set_log_level<\/a><\/li><li><a href=\"#stop_mining\">\/stop_mining<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-d3316fe\" data-id=\"d3316fe\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fbef407 elementor-widget elementor-widget-text-editor\" data-id=\"fbef407\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"#get_blocksbin\">\/get_blocks.bin<\/a><\/li><li><a href=\"#get_info\">\/get_info (not JSON)<\/a><\/li><li><a href=\"#get_outsbin\">\/get_outs.bin<\/a><\/li><li><a href=\"#get_transaction_pool_stats\">\/get_transaction_pool_stats<\/a><\/li><li><a href=\"#mining_status\">\/mining_status<\/a><\/li><li><a href=\"#set_limit\">\/set_limit<\/a><\/li><li><a href=\"#start_mining\">\/start_mining<\/a><\/li><li><a href=\"#stop_save_graph\">\/stop_save_graph<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-f71bd30\" data-id=\"f71bd30\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-61033c1 elementor-widget elementor-widget-text-editor\" data-id=\"61033c1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"#get_blocks_by_heightbin\">\/get_blocks_by_height.bin<\/a><\/li><li><a href=\"#get_limit\">\/get_limit<\/a><\/li><li><a href=\"#get_peer_list\">\/get_peer_list<\/a><\/li><li><a href=\"#get_transactions\">\/get_transactions<\/a><\/li><li><a href=\"#out_peers\">\/out_peers<\/a><\/li><li><a href=\"#set_log_categories\">\/set_log_categories<\/a><\/li><li><a href=\"#start_save_graph\">\/start_save_graph<\/a><\/li><li><a href=\"#update\">\/update<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-400ad82\" data-id=\"400ad82\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a79b47b elementor-widget elementor-widget-text-editor\" data-id=\"a79b47b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><a href=\"#get_hashesbin\">\/get_hashes.bin<\/a><\/li><li><a href=\"#get_o_indexesbin\">\/get_o_indexes.bin<\/a><\/li><li><a href=\"#get_transaction_pool\">\/get_transaction_pool<\/a><\/li><li><a href=\"#in_peers\">\/in_peers<\/a><\/li><li><a href=\"#save_bc\">\/save_bc<\/a><\/li><li><a href=\"#set_log_hash_rate\">\/set_log_hash_rate<\/a><\/li><li><a href=\"#stop_daemon\">\/stop_daemon<\/a><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-91cf86d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"91cf86d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-429126c\" data-id=\"429126c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a318388 elementor-widget elementor-widget-text-editor\" data-id=\"a318388\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"json-rpc-methods-1\">JSON RPC Methods<\/h2><p>The majority of dinastycoind RPC calls use the daemon\u2019s\u00a0<code class=\"highlighter-rouge\">json_rpc<\/code>\u00a0interface to request various bits of information. These methods all follow a similar structure, for example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>IP=127.0.0.1\nPORT=18081\nMETHOD='get_block_header_by_height'\nALIAS='getblockheaderbyheight'\nPARAMS='{\"height\":912345}'\ncurl \\\n    -X POST http:\/\/$IP:$PORT\/json_rpc \\\n    -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"'$METHOD'\",\"params\":'$PARAMS'}' \\\n    -H 'Content-Type: application\/json'\n<\/code><\/pre><\/div><p>Some methods include parameters, while others do not. Examples of each JSON RPC method follow.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-48d9e87 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"48d9e87\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-03255c8\" data-id=\"03255c8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-68e459c elementor-widget elementor-widget-text-editor\" data-id=\"68e459c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"flush_txpool\"><strong>flush_txpool<\/strong><\/h3><p>Flush tx ids from transaction pool<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>txids<\/em>\u00a0\u2013 array of strings; Optional, list of transactions IDs to flush from pool (all tx ids flushed if empty).<\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><p class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"flush_txpool\",\"params\":{\"txids\":[\"dc16fa8eaffe1484ca9014ea050e13131d3acf23b419f33bb4cc0b32b6c49308\",\"\"]}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"status\": \"OK\"\n  }<\/code><\/p><p class=\"highlight\"><code>}<\/code><\/p><p><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/p><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e2be8bf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e2be8bf\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-23aa667\" data-id=\"23aa667\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1b3ef68 elementor-widget elementor-widget-text-editor\" data-id=\"1b3ef68\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_block_count\"><strong>get_block_count<\/strong><\/h3><p>Look up how many blocks are in the longest chain known to the node.<\/p><p>Alias:\u00a0<em>getblockcount<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>count<\/em>\u00a0\u2013 unsigned int; Number of blocks in longest chain seen by the node.<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_block_count\"}' -H 'Content-Type: application\/json'  \n\n{  \n  \"id\": \"0\",  \n  \"jsonrpc\": \"2.0\",  \n  \"result\": {  \n    \"count\": 993163,  \n    \"status\": \"OK\"  \n  }  \n}  <br \/><\/code><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-02b093d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"02b093d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c2f5c10\" data-id=\"c2f5c10\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ffc7b75 elementor-widget elementor-widget-text-editor\" data-id=\"ffc7b75\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_block_headers_range\"><strong>get_block_headers_range<\/strong><\/h3><p>Similar to\u00a0<a href=\"https:\/\/www.dinastycoin.com\/documentazione-daemon-rpc\/#get_block_header_by_height\">get_block_header_by_height<\/a>\u00a0above, but for a range of blocks. This method includes a starting block height and an ending block height as parameters to retrieve basic information about the range of blocks.<\/p><p>Alias:\u00a0<em>getblockheadersrange<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>start_height<\/em>\u00a0\u2013 unsigned int; The starting block\u2019s height.<\/li><li><em>end_height<\/em>\u00a0\u2013 unsigned int; The ending block\u2019s height.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>headers<\/em>\u00a0\u2013 array of\u00a0<code class=\"highlighter-rouge\">block_header<\/code>\u00a0(a structure containing block header information. See\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/developer-guides\/daemon-rpc.html#get_last_block_header\">get_last_block_header<\/a>).<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>In this example, blocks range from height 1545999 to 1546000 is looked up (notice that the returned informations are ascending order\u00a0 ):<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_block_headers_range\",\"params\":{\"start_height\":1545999,\"end_height\":1546000}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"headers\": [{\n      \"block_size\": 301413,\n      \"depth\": 16085,\n      \"difficulty\": 134636057921,\n      \"hash\": \"86d1d20a40cefcf3dd410ff6967e0491613b77bf73ea8f1bf2e335cf9cf7d57a\",\n      \"height\": 1545999,\n      \"major_version\": 6,\n      \"minor_version\": 6,\n      \"nonce\": 3246403956,\n      \"num_txes\": 20,\n      \"orphan_status\": false,\n      \"prev_hash\": \"0ef6e948f77b8f8806621003f5de24b1bcbea150bc0e376835aea099674a5db5\",\n      \"reward\": 5025593029981,\n      \"timestamp\": 1523002893\n    },{\n      \"block_size\": 13322,\n      \"depth\": 16084,\n      \"difficulty\": 134716086238,\n      \"hash\": \"b408bf4cfcd7de13e7e370c84b8314c85b24f0ba4093ca1d6eeb30b35e34e91a\",\n      \"height\": 1546000,\n      \"major_version\": 7,\n      \"minor_version\": 7,\n      \"nonce\": 3737164176,\n      \"num_txes\": 1,\n      \"orphan_status\": false,\n      \"prev_hash\": \"86d1d20a40cefcf3dd410ff6967e0491613b77bf73ea8f1bf2e335cf9cf7d57a\",\n      \"reward\": 4851952181070,\n      \"timestamp\": 1523002931\n    }],\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}<br \/><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/code><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0b048e6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0b048e6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-efeab84\" data-id=\"efeab84\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-190b72e elementor-widget elementor-widget-text-editor\" data-id=\"190b72e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_info\"><strong>get_info<\/strong><\/h3><p>Retrieve general information about the state of your node and the network.<\/p><p>Alias:<\/p><ul><li><em>\/get_info<\/em><\/li><li><em>\/getinfo<\/em><\/li><\/ul><p>See other RPC Methods\u00a0<a href=\"https:\/\/www.dinastycoin.com\/documentazione-daemon-rpc\/#get_info-not-json\">\/get_info (not JSON)<\/a><\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>alt_blocks_count<\/em>\u00a0\u2013 unsigned int; Number of alternative blocks to main chain.<\/li><li><em>block_size_limit<\/em>\u00a0\u2013 unsigned int; Maximum allowed block size<\/li><li><em>block_size_median<\/em>\u00a0\u2013 unsigned int; Median block size of latest 100 blocks<\/li><li><em>bootstrap_daemon_address<\/em>\u00a0\u2013 string;\u00a0<a href=\"https:\/\/github.com\/dinastyoffreedom\/dinastycoin\/wiki\/Bootstrap-node\" data-tooltip=\"A node to which a daemon connects to give immediate usability to wallets while syncing\">bootstrap node<\/a>\u00a0to give immediate usability to wallets while syncing by proxying RPC to it. (Note: the replies may be untrustworthy).<\/li><li><em>cumulative_difficulty<\/em>\u00a0\u2013 unsigned int; Cumulative difficulty of all blocks in the blockchain.<\/li><li><em>difficulty<\/em>\u00a0\u2013 unsigned int; Network difficulty (analogous to the strength of the network)<\/li><li><em>free_space<\/em>\u00a0\u2013 unsigned int; Available disk space on the node.<\/li><li><em>grey_peerlist_size<\/em>\u00a0\u2013 unsigned int; Grey Peerlist Size<\/li><li><em>height<\/em>\u00a0\u2013 unsigned int; Current length of longest chain known to daemon.<\/li><li><em>height_without_bootstrap<\/em>\u00a0\u2013 unsigned int; Current length of the local chain of the daemon.<\/li><li><em>incoming_connections_count<\/em>\u00a0\u2013 unsigned int; Number of peers connected to and pulling from your node.<\/li><li><em>mainnet<\/em>\u00a0\u2013 boolean; States if the node is on the mainnet (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>offline<\/em>\u00a0\u2013 boolean; States if the node is offline (<code class=\"highlighter-rouge\">true<\/code>) or online (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>outgoing_connections_count<\/em>\u00a0\u2013 unsigned int; Number of peers that you are connected to and getting information from.<\/li><li><em>rpc_connections_count<\/em>\u00a0\u2013 unsigned int; Number of RPC client connected to the daemon (Including this RPC request).<\/li><li><em>stagenet<\/em>\u00a0\u2013 boolean; States if the node is on the stagenet (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>start_time<\/em>\u00a0\u2013 unsigned int; Start time of the daemon, as UNIX time.<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>target<\/em>\u00a0\u2013 unsigned int; Current target for next proof of work.<\/li><li><em>target_height<\/em>\u00a0\u2013 unsigned int; The height of the next block in the chain.<\/li><li><em>testnet<\/em>\u00a0\u2013 boolean; States if the node is on the testnet (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>top_block_hash<\/em>\u00a0\u2013 string; Hash of the highest block in the chain.<\/li><li><em>tx_count<\/em>\u00a0\u2013 unsigned int; Total number of non-coinbase transaction in the chain.<\/li><li><em>tx_pool_size<\/em>\u00a0\u2013 unsigned int; Number of transactions that have been broadcast but not included in a block.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>was_bootstrap_ever_used<\/em>\u00a0\u2013 boolean; States if a bootstrap node has ever been used since the daemon started.<\/li><li><em>white_peerlist_size<\/em>\u00a0\u2013 unsigned int; White Peerlist Size<\/li><\/ul><p>Following is an example\u00a0<code class=\"highlighter-rouge\">get_info<\/code>\u00a0call and its return:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_info\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"alt_blocks_count\": 6,\n    \"block_size_limit\": 600000,\n    \"block_size_median\": 129017,\n    \"bootstrap_daemon_address\": \"\",\n    \"cumulative_difficulty\": 14121125493385685,\n    \"difficulty\": 60580751777,\n    \"free_space\": 138758750208,\n    \"grey_peerlist_size\": 4998,\n    \"height\": 1562168,\n    \"height_without_bootstrap\": 1562168,\n    \"incoming_connections_count\": 2,\n    \"mainnet\": true,\n    \"offline\": false,\n    \"outgoing_connections_count\": 8,\n    \"rpc_connections_count\": 2,\n    \"stagenet\": false,\n    \"start_time\": 1524751757,\n    \"status\": \"OK\",\n    \"target\": 120,\n    \"target_height\": 1562063,\n    \"testnet\": false,\n    \"top_block_hash\": \"7a7ba647080844073fdd8e3a069e00554c773d6e6863354dba1dec45a43f5592\",\n    \"tx_count\": 2759894,\n    \"tx_pool_size\": 755,\n    \"untrusted\": false,\n    \"was_bootstrap_ever_used\": false,\n    \"white_peerlist_size\": 1000\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c98f924 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c98f924\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7f63040\" data-id=\"7f63040\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5a07a1c elementor-widget elementor-widget-text-editor\" data-id=\"5a07a1c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_txpool_backlog\"><strong>get_txpool_backlog<\/strong><\/h3><p>Get all transaction pool backlog<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>backlog<\/em>: array of structures\u00a0<em>tx_backlog_entry<\/em>\u00a0(in binary form):<ul><li><em>blob_size<\/em>\u00a0\u2013 unsigned int (in binary form)<\/li><li><em>fee<\/em>\u00a0\u2013 unsigned int (in binary form)<\/li><li><em>time_in_pool<\/em>\u00a0\u2013 unsigned int (in binary form)<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_txpool_backlog\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"backlog\": \"...Binary...\",\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><p>\u00a0<\/p><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1103e94 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1103e94\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b258ddf\" data-id=\"b258ddf\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dff1dc9 elementor-widget elementor-widget-text-editor\" data-id=\"dff1dc9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"relay_tx\"><strong>relay_tx<\/strong><\/h3><p>Relay a list of transaction IDs.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>txids<\/em>\u00a0\u2013 array of string; list of transaction IDs to relay<\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"relay_tx\",\"params\":{\"txids\":[\"9fd75c429cbe52da9a52f2ffc5fbd107fe7fd2099c0d8de274dc8a67e0c98613\"]}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"status\": \"OK\"\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5597669 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5597669\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-511cc1d\" data-id=\"511cc1d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-802abca elementor-widget elementor-widget-text-editor\" data-id=\"802abca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_alternate_chains\"><strong>get_alternate_chains<\/strong><\/h3><p>Display alternative chains seen by the node.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>chains<\/em>\u00a0\u2013 array of chains, the following structure:<ul><li><em>block_hash<\/em>\u00a0\u2013 string; the block hash of the first diverging block of this alternative chain.<\/li><li><em>difficulty<\/em>\u00a0\u2013 unsigned int; the cumulative difficulty of all blocks in the alternative chain.<\/li><li><em>height<\/em>\u00a0\u2013 unsigned int; the block height of the first diverging block of this alternative chain.<\/li><li><em>length<\/em>\u00a0\u2013 unsigned int; the length in blocks of this alternative chain, after divergence.<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_alternate_chains\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"chains\": [{\n      \"block_hash\": \"697cf03c89a9b118f7bdf11b1b3a6a028d7b3617d2d0ed91322c5709acf75625\",\n      \"difficulty\": 14114729638300280,\n      \"height\": 1562062,\n      \"length\": 2\n    }],\n    \"status\": \"OK\"\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b03d2a8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b03d2a8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1436576\" data-id=\"1436576\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6eff797 elementor-widget elementor-widget-text-editor\" data-id=\"6eff797\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_block_template\"><strong>get_block_template<\/strong><\/h3><p>Get a block template on which mining a new block.<\/p><p>Alias:\u00a0<em>getblocktemplate<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>wallet_address<\/em>\u00a0\u2013 string; Address of wallet to receive coinbase transactions if block is successfully mined.<\/li><li><em>reserve_size<\/em>\u00a0\u2013 unsigned int; Reserve size.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>blocktemplate_blob<\/em>\u00a0\u2013 string; Blob on which to try to mine a new block.<\/li><li><em>blockhashing_blob<\/em>\u00a0\u2013 string; Blob on which to try to find a valid nonce.<\/li><li><em>difficulty<\/em>\u00a0\u2013 unsigned int; Difficulty of next block.<\/li><li><em>expected_reward<\/em>\u00a0\u2013 unsigned int; Coinbase reward expected to be received if block is successfully mined.<\/li><li><em>height<\/em>\u00a0\u2013 unsigned int; Height on which to mine.<\/li><li><em>prev_hash<\/em>\u00a0\u2013 string; Hash of the most recent block on which to mine the next block.<\/li><li><em>reserved_offset<\/em>\u00a0\u2013 unsigned int; Reserved offset.<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_block_template\",\"params\":{\"wallet_address\":\"NY4GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns\",\"reserve_size\":60}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"blockhashing_blob\": \"070786a498d705f8dc58791266179087907a2ff4cd883615216749b97d2f12173171c725a6f84a00000000fc751ea4a94c2f840751eaa36138eee66dda15ef554e7d6594395827994e31da10\",\n    \"blocktemplate_blob\": \"070786a498d705f8dc58791266179087907a2ff4cd883615216749b97d2f12173171c725a6f84a0000000002aeab5f01fff2aa5f01e0a9d0f2f08a01028fdb3d5b5a2c363d36ea17a4add99a23a3ec7935b4c3e1e0364fcc4295c7a2ef5f01f912b15f5d17c1539d4722f79d8856d8654c5af87f54cfb3a4ff7f6b512b2a08023c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f1755090c809421d69873c161e7969b8bf33cee3b451dd4859bfc244a705f0b4900498f804b6023e13fa023a0fb759e8b7c9a39506a21442bc47077beeedc6b78d34c4ebdae91bd96097ccc9a882bc5056568b0d2f1f06559368fea4acba8e745444e883e53156d5083c1fd260edf05292934c8b40c098b81fe4e261720bdd272b209e317247a1d2c55dc4718891af0d16273c5a610f36f382a3bf50f54808aaa6a508e51d4601dd0d8fbf8b3b1685066ce121666a1409e8ac7a4d673c1cc36d10b825f764af647441f53230518e4d2efbcf8791c6060912c76e90db4982a66d51bbd96290bbb34db8080b216c2940cec407260bf5e2c3a5ee280835f15298f0801e9d98c4d414792282fbc2c28c3e20bc0fcb1829b5c3ad8f8d20847be8fdb2a949fd96f0205fbd6d271c880c5d8c83e9813606cd803a44d377fdeae45bfa67112132af601e9b3b0613ba7dff2ec3d4b935c447b47bfe39f7b950981b2f4c66c0d853e2218f1f69229a9b608c3d98be09b6d4d640a9f6ff0e920dbacf7e58b59554c0b398b1ae4b1d497104b4e4e745d850eed7eddb8aa93437427bf442ae5beb22cbf10a8fa738ea38cfa5d86dfd30675d4be11a38016e36936fd5601e52643e8b8bc433702ea7ae6149309c95b898cc854850e73fe0b95c5b8879b7325ecd4\",\n    \"difficulty\": 61044293,\n    \"expected_reward\": 4771057248,\n    \"height\": 561970,\n    \"prev_hash\": \"f8dc58791266179087907a2ff4cd883615216749b97d2f12173171c725a6f84a\",\n    \"reserved_offset\": 129,\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-26be580 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"26be580\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-403fc8e\" data-id=\"403fc8e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b1efba5 elementor-widget elementor-widget-text-editor\" data-id=\"b1efba5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_coinbase_tx_sum\"><strong>get_coinbase_tx_sum<\/strong><\/h3><p>Get the coinbase amount and the fees amount for n last blocks starting at particular height<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>height<\/em>\u00a0\u2013 unsigned int; Block height from which getting the amounts<\/li><li><em>count<\/em>\u00a0\u2013 unsigned int; number of blocks to include in the sum<\/li><\/ul><p>Outputs:<\/p><ul><li><em>emission_amount<\/em>\u00a0\u2013 unsigned int; amount of coinbase reward in\u00a0<a href=\"https:\/\/github.com\/dinastyoffreedom\/dinastycoin\/wiki\/atomic-units\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a><\/li><li><em>fee_amount<\/em>\u00a0\u2013 unsigned int; amount of fees in\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_coinbase_tx_sum\",\"params\":{\"height\":1563078,\"count\":2}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"emission_amount\": 9387854817320,\n    \"fee_amount\": 83981380000,\n    \"status\": \"OK\"\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0f9664f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0f9664f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9e41d1c\" data-id=\"9e41d1c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d24cb7 elementor-widget elementor-widget-text-editor\" data-id=\"7d24cb7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_last_block_header\"><strong>get_last_block_header<\/strong><\/h3><p>Block header information for the most recent block is easily retrieved with this method. No inputs are needed.<\/p><p>Alias:\u00a0<em>getlastblockheader<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>block_header<\/em>\u00a0\u2013 A structure containing block header information.<ul><li><em>block_size<\/em>\u00a0\u2013 unsigned int; The block size in bytes.<\/li><li><em>depth<\/em>\u00a0\u2013 unsigned int; The number of blocks succeeding this block on the blockchain. A larger number means an older block.<\/li><li><em>difficulty<\/em>\u00a0\u2013 unsigned int; The strength of the dinastycoin network based on mining power.<\/li><li><em>hash<\/em>\u00a0\u2013 string; The hash of this block.<\/li><li><em>height<\/em>\u00a0\u2013 unsigned int; The number of blocks preceding this block on the blockchain.<\/li><li><em>major_version<\/em>\u00a0\u2013 unsigned int; The major version of the dinastycoin protocol at this block height.<\/li><li><em>minor_version<\/em>\u00a0\u2013 unsigned int; The minor version of the dinastycoin protocol at this block height.<\/li><li><em>nonce<\/em>\u00a0\u2013 unsigned int; a cryptographic random one-time number used in mining a dinastycoin block.<\/li><li><em>num_txes<\/em>\u00a0\u2013 unsigned int; Number of transactions in the block, not counting the coinbase tx.<\/li><li><em>orphan_status<\/em>\u00a0\u2013 boolean; Usually\u00a0<code class=\"highlighter-rouge\">false<\/code>. If\u00a0<code class=\"highlighter-rouge\">true<\/code>, this block is not part of the longest chain.<\/li><li><em>prev_hash<\/em>\u00a0\u2013 string; The hash of the block immediately preceding this block in the chain.<\/li><li><em>reward<\/em>\u00a0\u2013 unsigned int; The amount of new\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a>\u00a0generated in this block and rewarded to the miner. Note: 1 DCY = 1e12\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a>.<\/li><li><em>timestamp<\/em>\u00a0\u2013 unsigned int; The unix time at which the block was recorded into the blockchain.<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>In this example, the most recent block (562023 at the time) is returned:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_last_block_header\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"block_header\": {\n      \"block_size\": 62774,\n      \"depth\": 0,\n      \"difficulty\": 60097840,\n      \"hash\": \"3a289b8fa88b10e2163826c230b45d79f2be37d14fa3153ee58ff8a427782d14\",\n      \"height\": 562023,\n      \"major_version\": 7,\n      \"minor_version\": 7,\n      \"nonce\": 3789681204,\n      \"num_txes\": 5,\n      \"orphan_status\": false,\n      \"prev_hash\": \"743e5d0a26849efe27b96086f2c4ecc39a0bc744bf21473dad6710221aff6ac3\",\n      \"reward\": 4724029703,\n      \"timestamp\": 1525029411\n    },\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ebd6cba elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ebd6cba\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-65c5241\" data-id=\"65c5241\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d11bf36 elementor-widget elementor-widget-text-editor\" data-id=\"d11bf36\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_version\"><strong>get_version<\/strong><\/h3><p>Give the node current version<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>version<\/em>\u00a0\u2013 unsigned int;<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_version\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"status\": \"OK\",\n    \"untrusted\": false,\n    \"version\": 65555\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-13a260e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"13a260e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e83f336\" data-id=\"e83f336\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c160b97 elementor-widget elementor-widget-text-editor\" data-id=\"c160b97\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"set_bans\"><strong>set_bans<\/strong><\/h3><p>Ban another node by IP.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>bans<\/em>\u00a0\u2013 A list of nodes to ban:<ul><li><em>host<\/em>\u00a0\u2013 string; Host to ban (IP in A.B.C.D form \u2013 will support I2P address in the future).<\/li><li><em>ip<\/em>\u00a0\u2013 unsigned int; IP address to ban, in Int format.<\/li><li><em>ban<\/em>\u00a0\u2013 boolean; Set\u00a0<code class=\"highlighter-rouge\">true<\/code>\u00a0to ban.<\/li><li><em>seconds<\/em>\u00a0\u2013 unsigned int; Number of seconds to ban node.<\/li><\/ul><\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Examples:<\/p><p><strong>banning by host<\/strong><\/p><p>In the following example, host is banned with its IP address string-formatted as A.B.C.D:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"set_bans\",\"params\":{\"bans\":[{\"host\":\"192.168.1.51\",\"ban\":true,\"seconds\":30}]}}' -H  'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"status\": \"OK\"\n  }\n}\n<\/code><\/pre><\/div><p><strong>banning by ip<\/strong><\/p><p>In the following example, integer-formatted IP is banned:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"set_bans\",\"params\":{\"bans\":[{\"ip\":838969536,\"ban\":true,\"seconds\":30}]}}' -H  'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"status\": \"OK\"\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-003f5d3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"003f5d3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2722955\" data-id=\"2722955\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-274548d elementor-widget elementor-widget-text-editor\" data-id=\"274548d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_bans\"><strong>get_bans<\/strong><\/h3><p>Get list of banned IPs.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>bans<\/em>\u00a0\u2013 List of banned nodes:<ul><li><em>host<\/em>\u00a0\u2013 string; Banned host (IP in A.B.C.D form).<\/li><li><em>ip<\/em>\u00a0\u2013 unsigned int; Banned IP address, in Int format.<\/li><li><em>seconds<\/em>\u00a0\u2013 unsigned int; Local Unix time that IP is banned until.<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_bans\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"bans\": [{\n      \"host\": \"102.168.1.51\",\n      \"ip\": 855746662,\n      \"seconds\": 22\n    },{\n      \"host\": \"192.168.1.50\",\n      \"ip\": 838969536,\n      \"seconds\": 28\n    }],\n    \"status\": \"OK\"\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6bea978 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6bea978\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2ef91f7\" data-id=\"2ef91f7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3aae7bd elementor-widget elementor-widget-text-editor\" data-id=\"3aae7bd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_block_header_by_hash\"><strong>get_block_header_by_hash<\/strong><\/h3><p>Block header information can be retrieved using either a block\u2019s hash or height. This method includes a block\u2019s hash as an input parameter to retrieve basic information about the block.<\/p><p>Alias:\u00a0<em>getblockheaderbyhash<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>hash<\/em>\u00a0\u2013 string; The block\u2019s sha256 hash.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>block_header<\/em>\u00a0\u2013 A structure containing block header information. See\u00a0<a href=\"https:\/\/www.dinastycoin.com\/documentazione-daemon-rpc\/#get_last_block_header\">get_last_block_header<\/a>.<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>In this example, block 912345 is looked up by its hash:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_block_header_by_hash\",\"params\":{\"hash\":\"e22cf75f39ae720e8b71b3d120a5ac03f0db50bba6379e2850975b4859190bc6\"}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"block_header\": {\n      \"block_size\": 210,\n      \"depth\": 649717,\n      \"difficulty\": 815625611,\n      \"hash\": \"e22cf75f39ae720e8b71b3d120a5ac03f0db50bba6379e2850975b4859190bc6\",\n      \"height\": 912345,\n      \"major_version\": 1,\n      \"minor_version\": 2,\n      \"nonce\": 1646,\n      \"num_txes\": 0,\n      \"orphan_status\": false,\n      \"prev_hash\": \"b61c58b2e0be53fad5ef9d9731a55e8a81d972b8d90ed07c04fd37ca6403ff78\",\n      \"reward\": 7388968946286,\n      \"timestamp\": 1452793716\n    },\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-abd8e4b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"abd8e4b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-997e8c8\" data-id=\"997e8c8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-992f1dd elementor-widget elementor-widget-text-editor\" data-id=\"992f1dd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_connections\"><strong>get_connections<\/strong><\/h3><p>Retrieve information about incoming and outgoing connections to your node.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>connections<\/em>\u00a0\u2013 List of all connections and their info:<ul><li><em>address<\/em>\u00a0\u2013 string; The peer\u2019s address, actually IPv4 &amp; port<\/li><li><em>avg_download<\/em>\u00a0\u2013 unsigned int; Average bytes of data downloaded by node.<\/li><li><em>avg_upload<\/em>\u00a0\u2013 unsigned int; Average bytes of data uploaded by node.<\/li><li><em>connection_id<\/em>\u00a0\u2013 string; The connection ID<\/li><li><em>current_download<\/em>\u00a0\u2013 unsigned int; Current bytes downloaded by node.<\/li><li><em>current_upload<\/em>\u00a0\u2013 unsigned int; Current bytes uploaded by node.<\/li><li><em>height<\/em>\u2013 unsigned int; The peer height<\/li><li><em>host<\/em>\u00a0\u2013 string; The peer host<\/li><li><em>incoming<\/em>\u00a0\u2013 boolean; Is the node getting information from your node?<\/li><li><em>ip<\/em>\u00a0\u2013 string; The node\u2019s IP address.<\/li><li><em>live_time<\/em>\u00a0\u2013 unsigned int<\/li><li><em>local_ip<\/em>\u00a0\u2013 boolean<\/li><li><em>localhost<\/em>\u00a0\u2013 boolean<\/li><li><em>peer_id<\/em>\u00a0\u2013 string; The node\u2019s ID on the network.<\/li><li><em>port<\/em>\u00a0\u2013 string; The port that the node is using to connect to the network.<\/li><li><em>recv_count<\/em>\u00a0\u2013 unsigned int<\/li><li><em>recv_idle_time<\/em>\u00a0\u2013 unsigned int<\/li><li><em>send_count<\/em>\u00a0\u2013 unsigned int<\/li><li><em>send_idle_time<\/em>\u00a0\u2013 unsigned int<\/li><li><em>state<\/em>\u00a0\u2013 string<\/li><li><em>support_flags<\/em>\u00a0\u2013 unsigned int<\/li><\/ul><\/li><\/ul><p>Following is an example of\u00a0<code class=\"highlighter-rouge\">get_connections<\/code>\u00a0and it\u2019s return:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_connections\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"connections\": [{\n      \"address\": \"173.90.69.136:62950\",\n      \"avg_download\": 0,\n      \"avg_upload\": 2,\n      \"connection_id\": \"083c301a3030329a487adb12ad981d2c\",\n      \"current_download\": 0,\n      \"current_upload\": 2,\n      \"height\": 1562127,\n      \"host\": \"173.90.69.136\",\n      \"incoming\": true,\n      \"ip\": \"173.90.69.136\",\n      \"live_time\": 8,\n      \"local_ip\": false,\n      \"localhost\": false,\n      \"peer_id\": \"c959fbfbed9e44fb\",\n      \"port\": \"62950\",\n      \"recv_count\": 259,\n      \"recv_idle_time\": 8,\n      \"send_count\": 24342,\n      \"send_idle_time\": 8,\n      \"state\": \"state_normal\",\n      \"support_flags\": 0\n    },{\n    ...\n    }],\n    \"status\": \"OK\"\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f1d9e07 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f1d9e07\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-91f6fa0\" data-id=\"91f6fa0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dcb6309 elementor-widget elementor-widget-text-editor\" data-id=\"dcb6309\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_output_distribution\"><strong>get_output_distribution<\/strong><\/h3><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>amounts<\/em>\u00a0\u2013 array of unsigned int; amounts to look for<\/li><li><em>cumulative<\/em>\u00a0\u2013 boolean; (optional, default is\u00a0<code class=\"highlighter-rouge\">false<\/code>) States if the result should be cumulative (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>)<\/li><li><em>from_height<\/em>\u00a0\u2013 unsigned int; (optional, default is 0) starting height to check from<\/li><li><em>to_height<\/em>\u00a0\u2013 unsigned int; (optional, default is 0) ending height to check up to<\/li><\/ul><p>Outputs:<\/p><ul><li><em>distributions<\/em>\u00a0\u2013 array of structure distribution as follows:<ul><li><em>amount<\/em>\u00a0\u2013 unsigned int<\/li><li><em>base<\/em>\u00a0\u2013 unsigned int<\/li><li><em>distribution<\/em>\u00a0\u2013 array of unsigned int<\/li><li><em>start_height<\/em>\u00a0\u2013 unsigned int<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_output_distribution\",\"params\":{\"amounts\":[628780000],\"from_height\":1462078}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"distributions\": [{\n      \"amount\": 2628780000,\n      \"base\": 0,\n      \"distribution\": \"\",\n      \"start_height\": 1462078\n    }],\n    \"status\": \"OK\"\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-eba056e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"eba056e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e2d9400\" data-id=\"e2d9400\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0c174a3 elementor-widget elementor-widget-text-editor\" data-id=\"0c174a3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"hard_fork_info\"><strong>hard_fork_info<\/strong><\/h3><p>Look up information regarding hard fork voting and readiness.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>earliest_height<\/em>\u00a0\u2013 unsigned int; Block height at which hard fork would be enabled if voted in.<\/li><li><em>enabled<\/em>\u00a0\u2013 boolean; Tells if hard fork is enforced.<\/li><li><em>state<\/em>\u00a0\u2013 unsigned int; Current hard fork state: 0 (There is likely a hard fork), 1 (An update is needed to fork properly), or 2 (Everything looks good).<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>threshold<\/em>\u00a0\u2013 unsigned int; Minimum percent of votes to trigger hard fork. Default is 80.<\/li><li><em>version<\/em>\u00a0\u2013 unsigned int; The major block version for the fork.<\/li><li><em>votes<\/em>\u00a0\u2013 unsigned int; Number of votes towards hard fork.<\/li><li><em>voting<\/em>\u00a0\u2013 unsigned int; Hard fork voting status.<\/li><li><em>window<\/em>\u00a0\u2013 unsigned int; Number of blocks over which current votes are cast. Default is 10080 blocks.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"hard_fork_info\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"earliest_height\": 1009827,\n    \"enabled\": false,\n    \"state\": 2,\n    \"status\": \"OK\",\n    \"threshold\": 0,\n    \"version\": 1,\n    \"votes\": 7277,\n    \"voting\": 2,\n    \"window\": 10080\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-77347d9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"77347d9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fbe4a66\" data-id=\"fbe4a66\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5bb0afd elementor-widget elementor-widget-text-editor\" data-id=\"5bb0afd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"submit_block\"><strong>submit_block<\/strong><\/h3><p>Submit a mined block to the network.<\/p><p>Alias:\u00a0<em>submitblock<\/em>.<\/p><p>Inputs:<\/p><ul><li>Block blob data \u2013 array of strings; list of block blobs which have been mined. See\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/developer-guides\/daemon-rpc.html#get_block_template\">get_block_template<\/a>\u00a0to get a blob on which to mine.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; Block submit status.<\/li><\/ul><p>In this example, a block blob which has not been mined is submitted:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"submit_block\",\"params\":[\"0707e6bdfedc053771512f1bc27c62731ae9e8f2443db64ce742f4e57f5cf8d393de28551e441a0000000002fb830a01ffbf830a018cfe88bee283060274c0aae2ef5730e680308d9c00b6da59187ad0352efe3c71d36eeeb28782f29f2501bd56b952c3ddc3e350c2631d3a5086cac172c56893831228b17de296ff4669de020200000000\"]' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"error\": {\n    \"code\": -7,\n    \"message\": \"Block not accepted\"\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-acb1278 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"acb1278\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-26f5e79\" data-id=\"26f5e79\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5d9ae0b elementor-widget elementor-widget-text-editor\" data-id=\"5d9ae0b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_block\"><strong>get_block<\/strong><\/h3><p>Full block information can be retrieved by either block height or hash, like with the above block header calls. For full block information, both lookups use the same method, but with different input parameters.<\/p><p>Alias:\u00a0<em>getblock<\/em>.<\/p><p>Inputs (pick one of the following):<\/p><ul><li><em>height<\/em>\u00a0\u2013 unsigned int; The block\u2019s height.<\/li><li><em>hash<\/em>\u00a0\u2013 string; The block\u2019s hash.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>blob<\/em>\u00a0\u2013 string; Hexadecimal blob of block information.<\/li><li><em>block_header<\/em>\u00a0\u2013 A structure containing block header information. See\u00a0<a href=\"https:\/\/www.dinastycoin.com\/documentazione-daemon-rpc\/#get_last_block_header\">get_last_block_header<\/a>.<\/li><li><em>json<\/em>\u00a0\u2013 json string; JSON formatted block details:<ul><li><em>major_version<\/em>\u00a0\u2013 Same as in block header.<\/li><li><em>minor_version<\/em>\u00a0\u2013 Same as in block header.<\/li><li><em>timestamp<\/em>\u00a0\u2013 Same as in block header.<\/li><li><em>prev_id<\/em>\u00a0\u2013 Same as\u00a0<code class=\"highlighter-rouge\">prev_hash<\/code>\u00a0in block header.<\/li><li><em>nonce<\/em>\u00a0\u2013 Same as in block header.<\/li><li><em>miner_tx<\/em>\u00a0\u2013 Miner transaction information<ul><li><em>version<\/em>\u00a0\u2013 Transaction version number.<\/li><li><em>unlock_time<\/em>\u00a0\u2013 The block height when the coinbase transaction becomes spendable.<\/li><li><em>vin<\/em>\u00a0\u2013 List of transaction inputs:<ul><li><em>gen<\/em>\u00a0\u2013 Miner txs are coinbase txs, or \u201cgen\u201d.<ul><li><em>height<\/em>\u00a0\u2013 This block height, a.k.a. when the coinbase is generated.<\/li><\/ul><\/li><\/ul><\/li><li><em>vout<\/em>\u00a0\u2013 List of transaction outputs. Each output contains:<ul><li><em>amount<\/em>\u00a0\u2013 The amount of the output, in\u00a0<a href=\"https:\/\/github.com\/dinastyoffreedom\/dinastycoin\/wiki\/atomic-units\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a>.<\/li><li><em>target<\/em>\u00a0\u2013<ul><li><em>key<\/em>\u00a0\u2013<\/li><\/ul><\/li><\/ul><\/li><li><em>extra<\/em>\u00a0\u2013 Usually called the \u201ctransaction ID\u201d but can be used to include any random 32 byte\/64 character hex string.<\/li><li><em>signatures<\/em>\u00a0\u2013 Contain signatures of tx signers. Coinbased txs do not have signatures.<\/li><\/ul><\/li><li><em>tx_hashes<\/em>\u00a0\u2013 List of hashes of non-coinbase transactions in the block. If there are no other transactions, this will be an empty list.<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p><strong>Look up by height:<\/strong><\/p><p>In the following example, block 912345 is looked up by its height. Note that block 912345 does not have any non-coinbase transactions. (See the next example for a block with extra transactions):<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_block\",\"params\":{\"height\":912345}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"blob\": \"0102f4bedfb405b61c58b2e0be53fad5ef9d9731a55e8a81d972b8d90ed07c04fd37ca6403ff786e0600000195d83701ffd9d73704ee84ddb42102378b043c1724c92c69d923d266fe86477d3a5ddd21145062e148c64c5767700880c0fc82aa020273733cbd6e6218bda671596462a4b062f95cfe5e1dbb5b990dacb30e827d02f280f092cbdd080247a5dab669770da69a860acde21616a119818e1a489bb3c4b1b6b3c50547bc0c80e08d84ddcb01021f7e4762b8b755e3e3c72b8610cc87b9bc25d1f0a87c0c816ebb952e4f8aff3d2b01fd0a778957f4f3103a838afda488c3cdadf2697b3d34ad71234282b2fad9100e02080000000bdfc2c16c00\",\n    \"block_header\": {\n      \"block_size\": 210,\n      \"depth\": 649772,\n      \"difficulty\": 815625611,\n      \"hash\": \"e22cf75f39ae720e8b71b3d120a5ac03f0db50bba6379e2850975b4859190bc6\",\n      \"height\": 912345,\n      \"major_version\": 1,\n      \"minor_version\": 2,\n      \"nonce\": 1646,\n      \"num_txes\": 0,\n      \"orphan_status\": false,\n      \"prev_hash\": \"b61c58b2e0be53fad5ef9d9731a55e8a81d972b8d90ed07c04fd37ca6403ff78\",\n      \"reward\": 7388968946286,\n      \"timestamp\": 1452793716\n    },\n    \"json\": \"{\\n  \\\"major_version\\\": 1, \\n  \\\"minor_version\\\": 2, \\n  \\\"timestamp\\\": 1452793716, \\n  \\\"prev_id\\\": \\\"b61c58b2e0be53fad5ef9d9731a55e8a81d972b8d90ed07c04fd37ca6403ff78\\\", \\n  \\\"nonce\\\": 1646, \\n  \\\"miner_tx\\\": {\\n    \\\"version\\\": 1, \\n    \\\"unlock_time\\\": 912405, \\n    \\\"vin\\\": [ {\\n        \\\"gen\\\": {\\n          \\\"height\\\": 912345\\n        }\\n      }\\n    ], \\n    \\\"vout\\\": [ {\\n        \\\"amount\\\": 8968946286, \\n        \\\"target\\\": {\\n          \\\"key\\\": \\\"378b043c1724c92c69d923d266fe86477d3a5ddd21145062e148c64c57677008\\\"\\n        }\\n      }, {\\n        \\\"amount\\\": 80000000000, \\n        \\\"target\\\": {\\n          \\\"key\\\": \\\"73733cbd6e6218bda671596462a4b062f95cfe5e1dbb5b990dacb30e827d02f2\\\"\\n        }\\n      }, {\\n        \\\"amount\\\": 300000000000, \\n        \\\"target\\\": {\\n          \\\"key\\\": \\\"47a5dab669770da69a860acde21616a119818e1a489bb3c4b1b6b3c50547bc0c\\\"\\n        }\\n      }, {\\n        \\\"amount\\\": 7000000000000, \\n        \\\"target\\\": {\\n          \\\"key\\\": \\\"1f7e4762b8b755e3e3c72b8610cc87b9bc25d1f0a87c0c816ebb952e4f8aff3d\\\"\\n        }\\n      }\\n    ], \\n    \\\"extra\\\": [ 1, 253, 10, 119, 137, 87, 244, 243, 16, 58, 131, 138, 253, 164, 136, 195, 205, 173, 242, 105, 123, 61, 52, 173, 113, 35, 66, 130, 178, 250, 217, 16, 14, 2, 8, 0, 0, 0, 11, 223, 194, 193, 108\\n    ], \\n    \\\"signatures\\\": [ ]\\n  }, \\n  \\\"tx_hashes\\\": [ ]\\n}\",\n    \"miner_tx_hash\": \"c7da3965f25c19b8eb7dd8db48dcd4e7c885e2491db77e289f0609bf8e08ec30\",\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}\n<\/code><\/pre><\/div><p><strong>Look up by hash:<\/strong><\/p><p>In the following example, block 993056 is looked up by its hash. Note that block 993056 has 3 non-coinbase transactions:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_block\",\"params\":{\"hash\":\"510ee3c4e14330a7b96e883c323a60ebd1b5556ac1262d0bc03c24a3b785516f\"}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"blob\": \"0102a3978cb7050ea4af6547c05c965afc8df6d31509ff3105dc7ae6b10172521d77e09711fd6df407000001dcce3c01ffa0ce3c049da8bece070259e9d685b3484886bc7b47c133e6099ecdf212d5eaa16ce19cd58e8c3c1e590a80d88ee16f024c5e2f542d25513c46b9e3b7d40140a22d0ae5314bfcae492ad9f56fff8185f080d0b8e1981a0213dd8ffdac9e6a2f71e327dad65328198dc879a492d145eae72677c0703a351580c0f9decfae010262bda00341681dccbc066757862da593734395745bdfe1fdc89b5948c86a5d4c2b01b691851cf057b9c302a3dbca879e1cba4cc45061ca55aaa6e03cdc67ab9e455002080000000c617fdf160379c6b9f00db027bde151705aafe85c495883aae2597d5cb8e1adb2e0f3ae1d07d715db73331abc3ec588ef07c7bb195786a4724b08dff431b51ffa32a4ce899bb197066426c0ed89f0b431fe171f7fd62bc95dd29943daa7cf3585cf1fdfc99d\",\n    \"block_header\": {\n      \"block_size\": 3981,\n      \"depth\": 569068,\n      \"difficulty\": 964985344,\n      \"hash\": \"510ee3c4e14330a7b96e883c323a60ebd1b5556ac1262d0bc03c24a3b785516f\",\n      \"height\": 993056,\n      \"major_version\": 1,\n      \"minor_version\": 2,\n      \"nonce\": 2036,\n      \"num_txes\": 3,\n      \"orphan_status\": false,\n      \"prev_hash\": \"0ea4af6547c05c965afc8df6d31509ff3105dc7ae6b10172521d77e09711fd6d\",\n      \"reward\": 6932043647005,\n      \"timestamp\": 1457720227\n    },\n    \"json\": \"{\\n  \\\"major_version\\\": 1, \\n  \\\"minor_version\\\": 2, \\n  \\\"timestamp\\\": 1457720227, \\n  \\\"prev_id\\\": \\\"0ea4af6547c05c965afc8df6d31509ff3105dc7ae6b10172521d77e09711fd6d\\\", \\n  \\\"nonce\\\": 2036, \\n  \\\"miner_tx\\\": {\\n    \\\"version\\\": 1, \\n    \\\"unlock_time\\\": 993116, \\n    \\\"vin\\\": [ {\\n        \\\"gen\\\": {\\n          \\\"height\\\": 993056\\n        }\\n      }\\n    ], \\n    \\\"vout\\\": [ {\\n        \\\"amount\\\": 2043647005, \\n        \\\"target\\\": {\\n          \\\"key\\\": \\\"59e9d685b3484886bc7b47c133e6099ecdf212d5eaa16ce19cd58e8c3c1e590a\\\"\\n        }\\n      }, {\\n        \\\"amount\\\": 30000000000, \\n        \\\"target\\\": {\\n          \\\"key\\\": \\\"4c5e2f542d25513c46b9e3b7d40140a22d0ae5314bfcae492ad9f56fff8185f0\\\"\\n        }\\n      }, {\\n        \\\"amount\\\": 900000000000, \\n        \\\"target\\\": {\\n          \\\"key\\\": \\\"13dd8ffdac9e6a2f71e327dad65328198dc879a492d145eae72677c0703a3515\\\"\\n        }\\n      }, {\\n        \\\"amount\\\": 6000000000000, \\n        \\\"target\\\": {\\n          \\\"key\\\": \\\"62bda00341681dccbc066757862da593734395745bdfe1fdc89b5948c86a5d4c\\\"\\n        }\\n      }\\n    ], \\n    \\\"extra\\\": [ 1, 182, 145, 133, 28, 240, 87, 185, 195, 2, 163, 219, 202, 135, 158, 28, 186, 76, 196, 80, 97, 202, 85, 170, 166, 224, 60, 220, 103, 171, 158, 69, 80, 2, 8, 0, 0, 0, 12, 97, 127, 223, 22\\n    ], \\n    \\\"signatures\\\": [ ]\\n  }, \\n  \\\"tx_hashes\\\": [ \\\"79c6b9f00db027bde151705aafe85c495883aae2597d5cb8e1adb2e0f3ae1d07\\\", \\\"d715db73331abc3ec588ef07c7bb195786a4724b08dff431b51ffa32a4ce899b\\\", \\\"b197066426c0ed89f0b431fe171f7fd62bc95dd29943daa7cf3585cf1fdfc99d\\\"\\n  ]\\n}\",\n    \"miner_tx_hash\": \"372395aeac5e5ad2c40b4c546b0bad00c4242fb2bd88e2e25f4e43231876f81e\",\n    \"status\": \"OK\",\n    \"tx_hashes\": [\"79c6b9f00db027bde151705aafe85c495883aae2597d5cb8e1adb2e0f3ae1d07\",\"d715db73331abc3ec588ef07c7bb195786a4724b08dff431b51ffa32a4ce899b\",\"b197066426c0ed89f0b431fe171f7fd62bc95dd29943daa7cf3585cf1fdfc99d\"],\n    \"untrusted\": false\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-11396c1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"11396c1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-80e1d31\" data-id=\"80e1d31\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6c83ddf elementor-widget elementor-widget-text-editor\" data-id=\"6c83ddf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_block_header_by_height\"><strong>get_block_header_by_height<\/strong><\/h3><p>Similar to\u00a0<a href=\"https:\/\/www.dinastycoin.com\/documentazione-daemon-rpc\/#get_block_header_by_hash\">get_block_header_by_hash<\/a>\u00a0above, this method includes a block\u2019s height as an input parameter to retrieve basic information about the block.<\/p><p>Alias:\u00a0<em>getblockheaderbyheight<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>height<\/em>\u00a0\u2013 unsigned int; The block\u2019s height.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>block_header<\/em>\u00a0\u2013 A structure containing block header information. See\u00a0<a href=\"https:\/\/www.dinastycoin.com\/documentazione-daemon-rpc\/#get_last_block_header\">get_last_block_header<\/a>.<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>In this example, block 10000 is looked up by its height\u00a0 :<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_block_header_by_height\",\"params\":{\"height\":10000}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"block_header\": {\n      \"block_size\": 210,\n      \"depth\": 649721,\n      \"difficulty\": 815625611,\n      \"hash\": \"e22cf75f39ae720e8b71b3d120a5ac03f0db50bba6379e2850975b4859190bc6\",\n      \"height\": 10000,\n      \"major_version\": 1,\n      \"minor_version\": 2,\n      \"nonce\": 1646,\n      \"num_txes\": 0,\n      \"orphan_status\": false,\n      \"prev_hash\": \"b61c58b2e0be53fad5ef9d9731a55e8a81d972b8d90ed07c04fd37ca6403ff78\",\n      \"reward\": 7388968946286,\n      \"timestamp\": 1452793716\n    },\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1082ca0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1082ca0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8a77a0a\" data-id=\"8a77a0a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fd7fc5b elementor-widget elementor-widget-text-editor\" data-id=\"fd7fc5b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_fee_estimate\"><strong>get_fee_estimate<\/strong><\/h3><p>Gives an estimation on fees per byte.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>grace_blocks<\/em>\u00a0\u2013 unsigned int; Optional<\/li><\/ul><p>Outputs:<\/p><ul><li><em>fee<\/em>\u00a0\u2013 unsigned int; Amount of fees estimated per byte in\u00a0<a href=\"https:\/\/github.com\/dinastyoffreedom\/dinastycoin\/wiki\/atomic-units\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a><\/li><li><em>quantization_mask<\/em>\u00a0\u2013 unsigned int; Final fee should be rounded up to an even multiple of this value<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_fee_estimate\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"fee\": 187610000,\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-92fce85 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"92fce85\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-307fd88\" data-id=\"307fd88\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c0fb481 elementor-widget elementor-widget-text-editor\" data-id=\"c0fb481\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_output_histogram\"><strong>get_output_histogram<\/strong><\/h3><p>Get a histogram of output amounts. For all amounts (possibly filtered by parameters), gives the number of outputs on the chain for that amount. RingCT outputs counts as 0 amount.<\/p><p>Inputs:<\/p><ul><li><em>amounts<\/em>\u00a0\u2013 list of unsigned int<\/li><li><em>min_count<\/em>\u00a0\u2013 unsigned int<\/li><li><em>max_count<\/em>\u00a0\u2013 unsigned int<\/li><li><em>unlocked<\/em>\u00a0\u2013 boolean<\/li><li><em>recent_cutoff<\/em>\u00a0\u2013 unsigned int<\/li><\/ul><p>Outputs:<\/p><ul><li><em>histogram<\/em>\u00a0\u2013 list of histogram entries, in the following structure:<ul><li><em>amount<\/em>\u00a0\u2013 unsigned int; Output amount in\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a><\/li><li><em>total_instances<\/em>\u00a0\u2013 unsigned int;<\/li><li><em>unlocked_instances<\/em>\u00a0\u2013 unsigned int;<\/li><li><em>recent_instances<\/em>\u00a0\u2013 unsigned int;<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_output_histogram\",\"params\":{\"amounts\":[20000000000]}}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"histogram\": [{\n      \"amount\": 20000000000,\n      \"recent_instances\": 0,\n      \"total_instances\": 381458,\n      \"unlocked_instances\": 0\n    }],\n    \"status\": \"OK\",\n    \"untrusted\": false\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b58b55a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b58b55a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8c094e5\" data-id=\"8c094e5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b800847 elementor-widget elementor-widget-text-editor\" data-id=\"b800847\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"on_get_block_hash\"><strong>on_get_block_hash<\/strong><\/h3><p>Look up a block\u2019s hash by its height.<\/p><p>Alias:\u00a0<em>on_getblockhash<\/em>.<\/p><p>Inputs:<\/p><ul><li>block height (int array of length 1)<\/li><\/ul><p>Outputs:<\/p><ul><li>block hash (string)<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"on_get_block_hash\",\"params\":[912345]}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": \"e22cf75f39ae720e8b71b3d120a5ac03f0db50bba6379e2850975b4859190bc6\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b226408 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b226408\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e68ad66\" data-id=\"e68ad66\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d8f5aa4 elementor-widget elementor-widget-text-editor\" data-id=\"d8f5aa4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"sync_info\"><strong>sync_info<\/strong><\/h3><p>Get synchronisation informations<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>height<\/em>\u00a0\u2013 unsigned int;<\/li><li><em>peers<\/em>\u00a0\u2013 array of peer structure, defined as follows:<ul><li><em>info<\/em>\u00a0\u2013 structure of connection info, as defined in\u00a0<a href=\"https:\/\/www.dinastycoin.com\/documentazione-daemon-rpc\/#get_connections\">get_connections<\/a><\/li><\/ul><\/li><li><em>spans<\/em>\u00a0\u2013 array of span structure, defined as follows (optional, absent if node is fully synced):<ul><li><em>connection_id<\/em>\u00a0\u2013 string; Id of connection<\/li><li><em>nblocks<\/em>\u00a0\u2013 unsigned int; number of blocks in that span<\/li><li><em>rate<\/em>\u00a0\u2013 unsigned int; connection rate<\/li><li><em>remote_address<\/em>\u00a0\u2013 string; peer address the node is downloading (or has downloaded) than span from<\/li><li><em>size<\/em>\u00a0\u2013 unsigned int; total number of bytes in that span\u2019s blocks (including txes)<\/li><li><em>speed<\/em>\u00a0\u2013 unsigned int; connection speed<\/li><li><em>start_block_height<\/em>\u00a0\u2013 unsigned int; block height of the first block in that span<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>target_height<\/em>\u00a0\u2013 unsigned int; target height the node is syncing from (optional, absent if node is fully synced)<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/json_rpc -d '{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"sync_info\"}' -H 'Content-Type: application\/json'\n\n{\n  \"id\": \"0\",\n  \"jsonrpc\": \"2.0\",\n  \"result\": {\n    \"height\": 1563543,\n    \"peers\": [{\n      \"info\": {\n        \"address\": \"70.109.53.128:60064\",\n        \"avg_download\": 0,\n        \"avg_upload\": 5,\n        \"connection_id\": \"204067223b9b3415c265dd25ad29ee48\",\n        \"current_download\": 0,\n        \"current_upload\": 1,\n        \"height\": 1559975,\n        \"host\": \"70.109.53.128\",\n        \"incoming\": true,\n        \"ip\": \"70.109.53.128\",\n        \"live_time\": 38,\n        \"local_ip\": false,\n        \"localhost\": false,\n        \"peer_id\": \"96b8545dbc7a8866\",\n        \"port\": \"60064\",\n        \"recv_count\": 1580,\n        \"recv_idle_time\": 28,\n        \"send_count\": 203603,\n        \"send_idle_time\": 8,\n        \"state\": \"state_normal\",\n        \"support_flags\": 1\n      }\n    },{\n      \"info\": {\n        ...\n      }\n    },{\n      ...\n    },{\n      ...\n    },{\n      ...\n    }],\n    \"status\": \"OK\",\n    \"target_height\": 1564067\n  }\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-36cae2c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"36cae2c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-20e5b4d\" data-id=\"20e5b4d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-178a43a elementor-widget elementor-widget-text-editor\" data-id=\"178a43a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_alt_blocks_hashes\"><strong>\/get_alt_blocks_hashes<\/strong><\/h3><p>Get the known blocks hashes which are not on the main chain.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em><\/p><p>Outputs:<\/p><ul><li><em>blks_hashes<\/em>\u00a0\u2013 array of strings; list of alternative blocks hashes to main chain<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_alt_blocks_hashes -H 'Content-Type: application\/json'\n\n{\n  \"blks_hashes\": [\"9c2277c5470234be8b32382cdf8094a103aba4fcd5e875a6fc159dc2ec00e011\",\"637c0e0f0558e284493f38a5fcca3615db59458d90d3a5eff0a18ff59b83f46f\",\"6f3adc174a2e8082819ebb965c96a095e3e8b63929ad9be2d705ad9c086a6b1c\",\"697cf03c89a9b118f7bdf11b1b3a6a028d7b3617d2d0ed91322c5709acf75625\",\"d99b3cf3ac6f17157ac7526782a3c3b9537f89d07e069f9ce7821d74bd9cad0e\",\"e97b62109a6303233dcd697fa8545c9fcbc0bf8ed2268fede57ddfc36d8c939c\",\"70ff822066a53ad64b04885c89bbe5ce3e537cdc1f7fa0dc55317986f01d1788\",\"b0d36b209bd0d4442b55ea2f66b5c633f522401f921f5a85ea6f113fd2988866\"],\n  \"status\": \"OK\",\n  \"untrusted\": false\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9add9b9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9add9b9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6284094\" data-id=\"6284094\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bdf40f7 elementor-widget elementor-widget-text-editor\" data-id=\"bdf40f7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_height\"><strong>\/<a id=\"get_height\"><\/a>get_height<\/strong><\/h3><p>Get the node\u2019s current height.<\/p><p>Alias:\u00a0<em>\/getheight<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>height<\/em>\u00a0\u2013 unsigned int; Current length of longest chain known to daemon.<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_height -H 'Content-Type: application\/json'\n\n{\n  \"height\": 1564055,\n  \"status\": \"OK\",\n  \"untrusted\": false\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-54e09e3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"54e09e3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6b7bde5\" data-id=\"6b7bde5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7c7d710 elementor-widget elementor-widget-text-editor\" data-id=\"7c7d710\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_outs\"><strong>\/<a id=\"get_outs\"><\/a>get_outs<\/strong><\/h3><p>Get outputs.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>outputs<\/em>\u00a0array of\u00a0<em>get_outputs_out<\/em>\u00a0structure as follows:<ul><li><em>amount<\/em>\u00a0\u2013 unsigned int;<\/li><li><em>index<\/em>\u00a0\u2013 unsigned int;<\/li><\/ul><\/li><\/ul><p>Outputs:<\/p><ul><li><em>outs<\/em>\u00a0\u2013 array of structure\u00a0<em>outkey<\/em>\u00a0as follows:<ul><li><em>height<\/em>\u00a0\u2013 unsigned int; block height of the output<\/li><li><em>key<\/em>\u00a0\u2013 String; the public key of the output<\/li><li><em>mask<\/em>\u00a0\u2013 String<\/li><li><em>txid<\/em>\u00a0\u2013 String; transaction id<\/li><li><em>unlocked<\/em>\u00a0\u2013 boolean; States if output is locked (<code class=\"highlighter-rouge\">false<\/code>) or not (<code class=\"highlighter-rouge\">true<\/code>)<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-678e181 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"678e181\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0522fef\" data-id=\"0522fef\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d6e3091 elementor-widget elementor-widget-text-editor\" data-id=\"d6e3091\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_transaction_pool_hashesbin\"><strong>\/<a id=\"get_transaction_pool_hashes.bin\"><\/a>get_transaction_pool_hashes.bin<\/strong><\/h3><p>Get hashes from transaction pool. Binary request.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>tx_hashes<\/em>\u00a0\u2013 binary array of transaction hashes.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_transaction_pool_hashes.bin -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\",\n  \"tx_hashes\": \" ... \",\n  \"untrusted\": false\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-44c9c13 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"44c9c13\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bf06173\" data-id=\"bf06173\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3cbafe6 elementor-widget elementor-widget-text-editor\" data-id=\"3cbafe6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"is_key_image_spent\"><strong>\/<a id=\"is_key_image_spent\"><\/a>is_key_image_spent<\/strong><\/h3><p>Check if outputs have been spent using the key image associated with the output.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>key_images<\/em>\u00a0\u2013 string list; List of key image hex strings to check.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>spent_status<\/em>\u00a0\u2013 unsigned int list; List of statuses for each image checked. Statuses are follows: 0 = unspent, 1 = spent in blockchain, 2 = spent in transaction pool<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/is_key_image_spent -d '{\"key_images\":[\"8d1bd8181bf7d857bdb281e0153d84cd55a3fcaa57c3e570f4a49f935850b5e3\",\"7319134bfc50668251f5b899c66b005805ee255c136f0e1cecbb0f3a912e09d4\"]}' -H 'Content-Type: application\/json'\n\n{\n  \"spent_status\": [1,2],\n  \"status\": \"OK\"\n  \"untrusted\": false\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5ec5c7c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5ec5c7c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e74a601\" data-id=\"e74a601\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-75bdba1 elementor-widget elementor-widget-text-editor\" data-id=\"75bdba1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"send_raw_transaction\"><strong>\/<a id=\"send_raw_transaction\"><\/a>send_raw_transaction<\/strong><\/h3><p>Broadcast a raw transaction to the network.<\/p><p>Alias:\u00a0<em>\/sendrawtransaction<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>tx_as_hex<\/em>\u00a0\u2013 string; Full transaction information as hexidecimal string.<\/li><li><em>do_not_relay<\/em>\u00a0\u2013 boolean; Stop relaying transaction to other nodes (default is\u00a0<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Outputs:<\/p><ul><li><em>double_spend<\/em>\u00a0\u2013 boolean; Transaction is a double spend (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>fee_too_low<\/em>\u00a0\u2013 boolean; Fee is too low (<code class=\"highlighter-rouge\">true<\/code>) or OK (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>invalid_input<\/em>\u00a0\u2013 boolean; Input is invalid (<code class=\"highlighter-rouge\">true<\/code>) or valid (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>invalid_output<\/em>\u00a0\u2013 boolean; Output is invalid (<code class=\"highlighter-rouge\">true<\/code>) or valid (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>low_mixin<\/em>\u00a0\u2013 boolean; Mixin count is too low (<code class=\"highlighter-rouge\">true<\/code>) or OK (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>not_rct<\/em>\u00a0\u2013 boolean; Transaction is a standard ring transaction (<code class=\"highlighter-rouge\">true<\/code>) or a ring confidential transaction (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>not_relayed<\/em>\u00a0\u2013 boolean; Transaction was not relayed (<code class=\"highlighter-rouge\">true<\/code>) or relayed (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>overspend<\/em>\u00a0\u2013 boolean; Transaction uses more money than available (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>reason<\/em>\u00a0\u2013 string; Additional information. Currently empty or \u201cNot relayed\u201d if transaction was accepted but not relayed.<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><li><em>too_big<\/em>\u00a0\u2013 boolean; Transaction size is too big (<code class=\"highlighter-rouge\">true<\/code>) or OK (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example (No return information included here.):<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/send_raw_transaction -d '{\"tx_as_hex\":\"de6a3...\", \"do_not_relay\":false}' -H 'Content-Type: application\/json'<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5ae1f88 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5ae1f88\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f389c9e\" data-id=\"f389c9e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8a8eea8 elementor-widget elementor-widget-text-editor\" data-id=\"8a8eea8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"set_log_level\"><strong>\/<a id=\"set_log_level\"><\/a>set_log_level<\/strong><\/h3><p>Set the daemon log level. By default, log level is set to\u00a0<code class=\"highlighter-rouge\">0<\/code>.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>level<\/em>\u00a0\u2013 integer; daemon log level to set from\u00a0<code class=\"highlighter-rouge\">0<\/code>\u00a0(less verbose) to\u00a0<code class=\"highlighter-rouge\">4<\/code>\u00a0(most verbose)<\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/set_log_level -d '{\"level\":1}' -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-801be42 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"801be42\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8679891\" data-id=\"8679891\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0818420 elementor-widget elementor-widget-text-editor\" data-id=\"0818420\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"stop_mining\"><strong>\/<a id=\"stop_mining\"><\/a>stop_mining<\/strong><\/h3><p>Stop mining on the daemon.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/stop_mining -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bf01281 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bf01281\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3bbc3cb\" data-id=\"3bbc3cb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-375cf76 elementor-widget elementor-widget-text-editor\" data-id=\"375cf76\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_blocksbin\"><strong>\/get_blocks.bin<\/strong><\/h3><p>Get all blocks info. Binary request.<\/p><p>Alias:\u00a0<em>\/getblocks.bin<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>block_ids<\/em>\u00a0\u2013 binary array of hashes; first 10 blocks id goes sequential, next goes in pow(2,n) offset, like 2, 4, 8, 16, 32, 64 and so on, and the last one is always genesis block<\/li><li><em>start_height<\/em>\u00a0\u2013 unsigned int<\/li><li><em>prune<\/em>\u00a0\u2013 boolean<\/li><\/ul><p>Outputs:<\/p><ul><li><em>blocks<\/em>\u00a0\u2013 array of block complete entries<\/li><li><em>current_height<\/em>\u00a0\u2013 unsigned int<\/li><li><em>output_indices<\/em>\u00a0\u2013 structure as follows:<ul><li><em>indices<\/em>\u00a0\u2013 array of tx output indices, structure as follows:<ul><li><em>indices<\/em>\u00a0\u2013 array of unsigned int<\/li><\/ul><\/li><\/ul><\/li><li><em>start_height<\/em>\u00a0\u2013 unsigned int<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9cdfda8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9cdfda8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c7d20a3\" data-id=\"c7d20a3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f20c92d elementor-widget elementor-widget-text-editor\" data-id=\"f20c92d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_outsbin\"><strong>\/<a id=\"get_outs.bin\"><\/a>get_outs.bin<\/strong><\/h3><p>Get outputs. Binary request.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>outputs<\/em>\u00a0\u2013 array of structure\u00a0<em>get_outputs_out<\/em>\u00a0as follows:<ul><li><em>amount<\/em>\u00a0\u2013 unsigned int;<\/li><li><em>index<\/em>\u00a0\u2013 unsigned int;<\/li><\/ul><\/li><\/ul><p>Outputs:<\/p><ul><li><em>outs<\/em>\u00a0\u2013 array of structure\u00a0<em>outkey<\/em>\u00a0as follows:<ul><li><em>amount<\/em>\u00a0\u2013 unsigned int;<\/li><li><em>height<\/em>\u00a0\u2013 unsigned int; block height of the output<\/li><li><em>key<\/em>\u00a0\u2013 the public key of the output<\/li><li><em>mask<\/em><\/li><li><em>txid<\/em>\u00a0\u2013 transaction id<\/li><li><em>unlocked<\/em>\u00a0\u2013 boolean; States if output is locked (<code class=\"highlighter-rouge\">false<\/code>) or not (<code class=\"highlighter-rouge\">true<\/code>)<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3544b3f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3544b3f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5a73adf\" data-id=\"5a73adf\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-baf1c0f elementor-widget elementor-widget-text-editor\" data-id=\"baf1c0f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_transaction_pool_stats\"><strong>\/<a id=\"get_transaction_pool_stats\"><\/a>get_transaction_pool_stats<\/strong><\/h3><p>Get the transaction pool statistics.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>pool_stats<\/em>\u00a0\u2013 Structure as follows:<ul><li><em>bytes_max<\/em>\u00a0\u2013 unsigned int; Max transaction size in pool<\/li><li><em>bytes_med<\/em>\u00a0\u2013 unsigned int; Median transaction size in pool<\/li><li><em>bytes_min<\/em>\u00a0\u2013 unsigned int; Min transaction size in pool<\/li><li><em>bytes_total<\/em>\u00a0\u2013 unsigned int; total size of all transactions in pool<\/li><li><em>histo<\/em>\u00a0\u2013 structure\u00a0<em>txpool_histo<\/em>\u00a0as follows:<ul><li><em>txs<\/em>\u00a0\u2013 unsigned int; number of transactions<\/li><li><em>bytes<\/em>\u00a0\u2013 unsigned int; size in bytes.<\/li><\/ul><\/li><li><em>histo_98pc<\/em>\u00a0unsigned int; the time 98% of txes are \u201cyounger\u201d than<\/li><li><em>num_10m<\/em>\u00a0unsigned int; number of transactions in pool for more than 10 minutes<\/li><li><em>num_double_spends<\/em>\u00a0unsigned int; number of double spend transactions<\/li><li><em>num_failing<\/em>\u00a0unsigned int; number of failing transactions<\/li><li><em>num_not_relayed<\/em>\u00a0unsigned int; number of non-relayed transactions<\/li><li><em>oldest<\/em>\u00a0unsigned int; unix time of the oldest transaction in the pool<\/li><li><em>txs_total<\/em>\u00a0unsigned int; total number of transactions.<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_transaction_pool_stats -H 'Content-Type: application\/json'\n\n{\n  \"pool_stats\": {\n    \"bytes_max\": 47222,\n    \"bytes_med\": 13290,\n    \"bytes_min\": 13092,\n    \"bytes_total\": 449511,\n    \"fee_total\": 289715320000,\n    \"histo\": \"\\t\u2592'\u25925\u25924\u2592\\\/\u2592\u2592\u2592$3\",\n    \"histo_98pc\": 0,\n    \"num_10m\": 18,\n    \"num_double_spends\": 1,\n    \"num_failing\": 17,\n    \"num_not_relayed\": 0,\n    \"oldest\": 1525457001,\n    \"txs_total\": 26\n  },\n  \"status\": \"OK\",\n  \"untrusted\": false\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4334f68 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4334f68\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6c4f8da\" data-id=\"6c4f8da\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1528da6 elementor-widget elementor-widget-text-editor\" data-id=\"1528da6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"mining_status\"><strong>\/<a id=\"mining_status\"><\/a>mining_status<\/strong><\/h3><p>Get the mining status of the daemon.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>active<\/em>\u00a0\u2013 boolean; States if mining is enabled (<code class=\"highlighter-rouge\">true<\/code>) or disabled (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>address<\/em>\u00a0\u2013 string; Account address daemon is mining to. Empty if not mining.<\/li><li><em>is_background_mining_enabled<\/em>\u00a0\u2013 boolean; States if the mining is running in background (<code class=\"highlighter-rouge\">true<\/code>) or foreground (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>speed<\/em>\u00a0\u2013 unsigned int; Mining power in hashes per seconds.<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><li><em>threads_count<\/em>\u00a0\u2013 unsigned int; Number of running mining threads.<\/li><\/ul><p>Example while mining:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/mining_status -H 'Content-Type: application\/json'\n\n{\n  \"active\": true,\n  \"address\": \"47xu3gQpF569au9C2ajo5SSMrWji6xnoE5vhr94EzFRaKAGw6hEGFXYAwVADKuRpzsjiU1PtmaVgcjUJF89ghGPhUXkndHc\",\n  \"is_background_mining_enabled\": false,\n  \"speed\": 20,\n  \"status\": \"OK\",\n  \"threads_count\": 1\n}\n<\/code><\/pre><\/div><p>Example while not mining:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/mining_status -H 'Content-Type: application\/json'\n\n{\n  \"active\": false,\n  \"address\": \"\",\n  \"is_background_mining_enabled\": false,\n  \"speed\": 0,\n  \"status\": \"OK\",\n  \"threads_count\": 0\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-91323c4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"91323c4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c29c555\" data-id=\"c29c555\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a3bf424 elementor-widget elementor-widget-text-editor\" data-id=\"a3bf424\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"set_limit\"><strong>\/<a id=\"set_limit\"><\/a>set_limit<\/strong><\/h3><p>Set daemon bandwidth limits.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>limit_down<\/em>\u00a0\u2013 signed int; Download limit in kBytes per second (-1 reset to default, 0 don\u2019t change the current limit)<\/li><li><em>limit_up<\/em>\u00a0\u2013 signed int; Upload limit in kBytes per second (-1 reset to default, 0 don\u2019t change the current limit)<\/li><\/ul><p>Outputs:<\/p><ul><li><em>limit_down<\/em>\u00a0\u2013 unsigned int; Download limit in kBytes per second<\/li><li><em>limit_up<\/em>\u00a0\u2013 unsigned int; Upload limit in kBytes per second<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/set_limit -d '{\"limit_down\": 1024}' -H 'Content-Type: application\/json'\n\n{\n  \"limit_down\": 1024,\n  \"limit_up\": 128,\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-65d7cd5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"65d7cd5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f295d3b\" data-id=\"f295d3b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f96da04 elementor-widget elementor-widget-text-editor\" data-id=\"f96da04\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"start_mining\"><strong>\/<a id=\"start_mining\"><\/a>start_mining<\/strong><\/h3><p>Start mining on the daemon.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>do_background_mining<\/em>\u00a0\u2013 boolean; States if the mining should run in background (<code class=\"highlighter-rouge\">true<\/code>) or foreground (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>ignore_battery<\/em>\u00a0\u2013 boolean; States if batery state (on laptop) should be ignored (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>miner_address<\/em>\u00a0\u2013 string; Account address to mine to.<\/li><li><em>threads_count<\/em>\u00a0\u2013 unsigned int; Number of mining thread to run.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/start_mining -d '{\"do_background_mining\":false,\"ignore_battery\":true,\"miner_address\":\"47xu3gQpF569au9C2ajo5SSMrWji6xnoE5vhr94EzFRaKAGw6hEGFXYAwVADKuRpzsjiU1PtmaVgcjUJF89ghGPhUXkndHc\",\"threads_count\":1}' -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7fab079 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7fab079\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d1c6acc\" data-id=\"d1c6acc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4ec42eb elementor-widget elementor-widget-text-editor\" data-id=\"4ec42eb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"stop_save_graph\"><strong>\/<a id=\"stop_save_graph\"><\/a>stop_save_graph<\/strong><\/h3><p>Obsolete. Conserved here for reference.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/stop_save_graph -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fa6832b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fa6832b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-35c6bed\" data-id=\"35c6bed\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a2aeb83 elementor-widget elementor-widget-text-editor\" data-id=\"a2aeb83\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_blocks_by_heightbin\"><strong>\/get_blocks_by_height.bin<\/strong><\/h3><p>Get blocks by height. Binary request.<\/p><p>Alias:\u00a0<em>\/getblocks_by_height.bin<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>heights<\/em>\u00a0\u2013 array of unsigned int; list of block heights<\/li><\/ul><p>Outputs:<\/p><ul><li><em>blocks<\/em>\u00a0\u2013 array of block complete entries<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9554640 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9554640\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-09777a2\" data-id=\"09777a2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-029b7b0 elementor-widget elementor-widget-text-editor\" data-id=\"029b7b0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_limit\"><strong>\/<a id=\"get_limit\"><\/a>get_limit<\/strong><\/h3><p>Get daemon bandwidth limits.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>limit_down<\/em>\u00a0\u2013 unsigned int; Download limit in kBytes per second<\/li><li><em>limit_up<\/em>\u00a0\u2013 unsigned int; Upload limit in kBytes per second<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_limit -H 'Content-Type: application\/json'\n\n{\n  \"limit_down\": 8192,\n  \"limit_up\": 128,\n  \"status\": \"OK\",\n  \"untrusted\": false\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-73acae0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"73acae0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1829f25\" data-id=\"1829f25\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-86d4ece elementor-widget elementor-widget-text-editor\" data-id=\"86d4ece\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_peer_list\"><strong>\/<a id=\"get_peer_list\"><\/a>get_peer_list<\/strong><\/h3><p>Get the known peers list.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>gray_list<\/em>\u00a0\u2013 array of offline\u00a0<em>peer<\/em>\u00a0structure as follows:<ul><li><em>host<\/em>\u00a0\u2013 unsigned int; IP address in integer format<\/li><li><em>id<\/em>\u00a0\u2013 string; Peer id<\/li><li><em>ip<\/em>\u00a0\u2013 unsigned int; IP address in integer format<\/li><li><em>last_seen<\/em>\u00a0\u2013 unsigned int; unix time at which the peer has been seen for the last time<\/li><li><em>port<\/em>\u00a0\u2013 unsigned int; TCP port the peer is using to connect to dinastycoin network.<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><li><em>white_list<\/em>\u00a0\u2013 array of online\u00a0<em>peer<\/em>\u00a0structure, as above.<\/li><\/ul><p>Example (truncated lists):<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_peer_list -H 'Content-Type: application\/json'\n\n{\n  \"gray_list\": [{\n    \"host\": \"640304833\",\n    \"id\": 5345237316225602120,\n    \"ip\": 640304833,\n    \"last_seen\": 1525540510,\n    \"port\": 18080\n  },{\n    \"host\": \"2183731038\",\n    \"id\": 14955030573998424430,\n    \"ip\": 2183731038,\n    \"last_seen\": 1525540499,\n    \"port\": 28080 \u00a0 }, ...\n  ],\n  \"status\": \"OK\",\n  \"white_list\": [{\n    \"host\": \"1221637955\",\n    \"id\": 10354694710033118926,\n    \"ip\": 1221637955,\n    \"last_seen\": 1525540511,\n    \"port\": 18080\n  },{\n    \"host\": \"1780407354\",\n    \"id\": 17193661050352240890,\n    \"ip\": 1780407354,\n    \"last_seen\": 1525540510,\n    \"port\": 18080\n  }, ...\n  ]\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6be8752 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6be8752\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6d9f71f\" data-id=\"6d9f71f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0372a02 elementor-widget elementor-widget-text-editor\" data-id=\"0372a02\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_transactions\"><strong>\/<a id=\"get_transactions\"><\/a>get_transactions<\/strong><\/h3><p>Look up one or more transactions by hash.<\/p><p>Alias:\u00a0<em>\/gettransactions<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>txs_hashes<\/em>\u00a0\u2013 string list; List of transaction hashes to look up.<\/li><li><em>decode_as_json<\/em>\u00a0\u2013 boolean; Optional (<code class=\"highlighter-rouge\">false<\/code>\u00a0by default). If set\u00a0<code class=\"highlighter-rouge\">true<\/code>, the returned transaction information will be decoded rather than binary.<\/li><li><em>prune<\/em>\u00a0\u2013 boolean; Optional (<code class=\"highlighter-rouge\">false<\/code>\u00a0by default).<\/li><\/ul><p>Outputs:<\/p><ul><li><em>missed_tx<\/em>\u00a0\u2013 array of strings. (Optional \u2013 returned if not empty) Transaction hashes that could not be found.<\/li><li><em>status<\/em>\u00a0\u2013 General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>txs<\/em>\u00a0\u2013 array of structure\u00a0<em>entry<\/em>\u00a0as follows:<ul><li><em>as_hex<\/em>\u00a0\u2013 string; Full transaction information as a hex string.<\/li><li><em>as_json<\/em>\u00a0\u2013 json string; List of transaction info:<ul><li><em>version<\/em>\u00a0\u2013 Transaction version<\/li><li><em>unlock_time<\/em>\u00a0\u2013 If not 0, this tells when a transaction output is spendable.<\/li><li><em>vin<\/em>\u00a0\u2013 List of inputs into transaction:<ul><li><em>key<\/em>\u00a0\u2013 The public key of the previous output spent in this transaction.<ul><li><em>amount<\/em>\u00a0\u2013 The amount of the input, in\u00a0<a href=\"https:\/\/github.com\/dinastyoffreedom\/dinastycoin\/wiki\/atomic-units\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a>.<\/li><li><em>key_offsets<\/em>\u00a0\u2013 A list of integer offets to the input.<\/li><li><em>k_image<\/em>\u00a0\u2013 The key image for the given input<\/li><\/ul><\/li><\/ul><\/li><li><em>vout<\/em>\u00a0\u2013 List of outputs from transaction:<ul><li><em>amount<\/em>\u00a0\u2013 Amount of transaction output, in\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a>.<\/li><li><em>target<\/em>\u00a0\u2013 Output destination information:<ul><li><em>key<\/em>\u00a0\u2013 The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.<\/li><\/ul><\/li><\/ul><\/li><li><em>extra<\/em>\u00a0\u2013 Usually called the \u201cpayment ID\u201d but can be used to include any random 32 bytes.<\/li><li><em>signatures<\/em>\u00a0\u2013 List of signatures used in ring signature to hide the true origin of the transaction.<\/li><\/ul><\/li><li><em>block_height<\/em>\u00a0\u2013 unsigned int; block height including the transaction<\/li><li><em>block_timestamp<\/em>\u00a0\u2013 unsigned int; Unix time at chich the block has been added to the blockchain<\/li><li><em>double_spend_seen<\/em>\u00a0\u2013 boolean; States if the transaction is a double-spend (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>)<\/li><li><em>in_pool<\/em>\u00a0\u2013 boolean; States if the transaction is in pool (<code class=\"highlighter-rouge\">true<\/code>) or included in a block (<code class=\"highlighter-rouge\">false<\/code>)<\/li><li><em>output_indices<\/em>\u00a0\u2013 array of unsigned int; transaction indexes<\/li><li><em>tx_hash<\/em>\u00a0\u2013 string; transaction hash<\/li><\/ul><\/li><li><em>txs_as_hex<\/em>\u00a0\u2013 string; Full transaction information as a hex string (old compatibility parameter)<\/li><li><em>txs_as_json<\/em>\u00a0\u2013 json string; (Optional \u2013 returned if set in inputs. Old compatibility parameter) List of transaction as in\u00a0<em>as_json<\/em>\u00a0above:<\/li><\/ul><p>Example 1: Return transaction information in binary format.<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_transactions -d '{\"txs_hashes\":[\"d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090408\"]}' -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\",\n  \"txs\": [{\n    \"as_hex\": \"...\",\n    \"as_json\": \"\",\n    \"block_height\": 993442,\n    \"block_timestamp\": 1457749396,\n    \"double_spend_seen\": false,\n    \"in_pool\": false,\n    \"output_indices\": [198769,418598,176616,50345,509],\n    \"tx_hash\": \"d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090408\"\n  }],\n  \"txs_as_hex\": [\"...\"],\n  \"untrusted\": false\n}\n<\/code><\/pre><\/div><p>Example 2: Decode returned transaction information in JSON format. Note: the \u201cvin\u201d, \u201cvout\u201d and \u201csignatures\u201d list have been truncated in the displayed return for space considerations.<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_transactions -d '{\"txs_hashes\":[\"d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090408\"],\"decode_as_json\":true}' -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\",\n  \"txs\": [{\n    \"as_hex\": \"...\",\n    \"as_json\": \"{\\n  \\\"version\\\": 1, \\n  \\\"unlock_time\\\": 0, \\n  \\\"vin\\\": [ {\\n      \\\"key\\\": {\\n        \\\"amount\\\": 9999999999, \\n        \\\"key_offsets\\\": [ 691\\n        ], \\n        \\\"k_image\\\": \\\"6ebee1b651a8da723462b4891d471b990ddc226049a0866d3029b8e2f75b7012\\\"\\n      }\\n    }, {\\n      \\\"key\\\": {\\n        \\\"amount\\\": 9000000000000, \\n        \\\"key_offsets\\\": [ 175760\\n        ], \\n        \\\"k_image\\\": \\\"200bd02b70ee707441a8863c5279b4e4d9f376dc97a140b1e5bc7d72bc508069\\\"\\n      }\\n    }, ... \\n  ], \\n  \\\"vout\\\": [ {\\n      \\\"amount\\\": 60000000000, \\n      \\\"target\\\": {\\n        \\\"key\\\": \\\"8c792dea94dab48160e067fb681edd6247ba375281fbcfedc03cb970f3b98e2d\\\"\\n      }\\n    }, {\\n      \\\"amount\\\": 700000000000, \\n      \\\"target\\\": {\\n        \\\"key\\\": \\\"1ab33e69737e157d23e33274c42793be06a8711670e73fa10ecebc604f87cc71\\\"\\n      }\\n    }, ... \\n  ], \\n  \\\"extra\\\": [ 1, 3, 140, 109, 156, 205, 47, 148, 153, 9, 17, 93, 83, 33, 162, 110, 152, 1, 139, 70, 121, 19, 138, 10, 44, 6, 55, 140, 242, 124, 143, 219, 172\\n  ], \\n  \\\"signatures\\\": [ \\\"fd82214a59c99d9251fa00126d353f9cf502a80d8993a6c223e3c802a40ab405555637f495903d3ba558312881e586d452e6e95826d8e128345f6c0a8f9f350e\\\", \\\"8c04ef50cf34afa3a9ec19c457143496f8cf7045ed869b581f9efa2f1d65e30f1cec5272b00e9c61a34bdd3c78cf82ae8ef4df3132f70861391069b9c255cd08\\\", ... ]\\n}\",\n    \"block_height\": 993442,\n    \"block_timestamp\": 1457749396,\n    \"double_spend_seen\": false,\n    \"in_pool\": false,\n    \"output_indices\": [198769,418598,176616,50345,509],\n    \"tx_hash\": \"d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090408\"\n  }],\n  \"txs_as_hex\": [\"...\"],\n  \"txs_as_json\": [\"{\\n  \\\"version\\\": 1, \\n  \\\"unlock_time\\\": 0, \\n  \\\"vin\\\": [ {\\n      \\\"key\\\": {\\n        \\\"amount\\\": 9999999999, \\n        \\\"key_offsets\\\": [ 691\\n        ], \\n        \\\"k_image\\\": \\\"6ebee1b651a8da723462b4891d471b990ddc226049a0866d3029b8e2f75b7012\\\"\\n      }\\n    }, {\\n      \\\"key\\\": {\\n        \\\"amount\\\": 9000000000000, \\n        \\\"key_offsets\\\": [ 175760\\n        ], \\n        \\\"k_image\\\": \\\"200bd02b70ee707441a8863c5279b4e4d9f376dc97a140b1e5bc7d72bc508069\\\"\\n      }\\n    }, ... \\n  ], \\n  \\\"vout\\\": [ {\\n      \\\"amount\\\": 60000000000, \\n      \\\"target\\\": {\\n        \\\"key\\\": \\\"8c792dea94dab48160e067fb681edd6247ba375281fbcfedc03cb970f3b98e2d\\\"\\n      }\\n    }, {\\n      \\\"amount\\\": 700000000000, \\n      \\\"target\\\": {\\n        \\\"key\\\": \\\"1ab33e69737e157d23e33274c42793be06a8711670e73fa10ecebc604f87cc71\\\"\\n      }\\n    }, ... \\n  ], \\n  \\\"extra\\\": [ 1, 3, 140, 109, 156, 205, 47, 148, 153, 9, 17, 93, 83, 33, 162, 110, 152, 1, 139, 70, 121, 19, 138, 10, 44, 6, 55, 140, 242, 124, 143, 219, 172\\n  ], \\n  \\\"signatures\\\": [ \\\"fd82214a59c99d9251fa00126d353f9cf502a80d8993a6c223e3c802a40ab405555637f495903d3ba558312881e586d452e6e95826d8e128345f6c0a8f9f350e\\\", \\\"8c04ef50cf34afa3a9ec19c457143496f8cf7045ed869b581f9efa2f1d65e30f1cec5272b00e9c61a34bdd3c78cf82ae8ef4df3132f70861391069b9c255cd08\\\", ... ]\\n}\"],\n  \"untrusted\": false\n}\n<\/code><\/pre><\/div><p>Example 3: Returned a missed (unexisting) transaction.<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>curl -X POST http:\/\/127.0.0.1:18081\/get_transactions -d '{\"txs_hashes\":[\"d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090409\"]}' -H 'Content-Type: application\/json'\n\n{\n  \"missed_tx\": [\"d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090409\"],\n  \"status\": \"OK\",\n  \"untrusted\": false\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-44e88be elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"44e88be\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cecac97\" data-id=\"cecac97\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5efea94 elementor-widget elementor-widget-text-editor\" data-id=\"5efea94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"out_peers\"><strong>\/<a id=\"out_peers\"><\/a>out_peers<\/strong><\/h3><p>Limit number of Outgoing peers.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>out_peers<\/em>\u00a0\u2013 unsigned int; Max number of outgoing peers<\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/out_peers -d '{\"out_peers\": 3232235535}' -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d44ae2f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d44ae2f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d8dae2c\" data-id=\"d8dae2c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2f06848 elementor-widget elementor-widget-text-editor\" data-id=\"2f06848\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"set_log_categories\"><strong>\/<a id=\"set_log_categories\"><\/a>set_log_categories<\/strong><\/h3><p>Set the daemon log categories. Categories are represented as a comma separated list of\u00a0<code class=\"highlighter-rouge\">&lt;Category&gt;:&lt;level&gt;<\/code>\u00a0(similarly to syslog standard\u00a0<code class=\"highlighter-rouge\">&lt;Facility&gt;:&lt;Severity-level&gt;<\/code>), where:<\/p><ul><li><em>Category<\/em>\u00a0is one of the following:<ul><li><em>*<\/em>\u00a0\u2013 All facilities<\/li><li><em>default<\/em><\/li><li><em>net<\/em><\/li><li><em>net.http<\/em><\/li><li><em>net.p2p<\/em><\/li><li><em>logging<\/em><\/li><li><em>net.throttle<\/em><\/li><li><em>blockchain.db<\/em><\/li><li><em>blockchain.db.lmdb<\/em><\/li><li><em>bcutil<\/em><\/li><li><em>checkpoints<\/em><\/li><li><em>net.dns<\/em><\/li><li><em>net.dl<\/em><\/li><li><em>i18n<\/em><\/li><li><em>perf<\/em><\/li><li><em>stacktrace<\/em><\/li><li><em>updates<\/em><\/li><li><em>account<\/em><\/li><li><em>cn<\/em><\/li><li><em>difficulty<\/em><\/li><li><em>hardfork<\/em><\/li><li><em>miner<\/em><\/li><li><em>blockchain<\/em><\/li><li><em>txpool<\/em><\/li><li><em>cn.block_queue<\/em><\/li><li><em>net.cn<\/em><\/li><li><em>daemon<\/em><\/li><li><em>debugtools.deserialize<\/em><\/li><li><em>debugtools.objectsizes<\/em><\/li><li><em>device.ledger<\/em><\/li><li><em>wallet.gen_multisig<\/em><\/li><li><em>multisig<\/em><\/li><li><em>bulletproofs<\/em><\/li><li><em>ringct<\/em><\/li><li><em>daemon.rpc<\/em><\/li><li><em>wallet.simplewallet<\/em><\/li><li><em>WalletAPI<\/em><\/li><li><em>wallet.ringdb<\/em><\/li><li><em>wallet.wallet2<\/em><\/li><li><em>wallet.rpc<\/em><\/li><li><em>tests.core<\/em><\/li><\/ul><\/li><li><em>Level<\/em>\u00a0is one of the following:<ul><li><em>FATAL<\/em>\u00a0\u2013 higher level<\/li><li><em>ERROR<\/em><\/li><li><em>WARNING<\/em><\/li><li><em>INFO<\/em><\/li><li><em>DEBUG<\/em><\/li><li><em>TRACE<\/em>\u00a0\u2013 lower level A level automatically includes higher level. By default, categories are set to\u00a0<code class=\"highlighter-rouge\">*:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO<\/code>. Setting the categories to \u201c\u201d prevent any logs to be outputed.<\/li><\/ul><\/li><\/ul><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>categories<\/em>\u00a0\u2013 string; Optional, daemon log categories to enable<\/li><\/ul><p>Outputs:<\/p><ul><li><em>categories<\/em>\u00a0\u2013 string; daemon log enabled categories<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><\/ul><p>Example to set all facilities to Security Level\u00a0<code class=\"highlighter-rouge\">Info<\/code>:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/set_log_categories -d '{\"categories\": \"*:INFO\"}' -H 'Content-Type: application\/json'\n\n{\n  \"categories\": \"*:INFO\",\n  \"status\": \"OK\"\n}\n<\/code><\/pre><\/blockquote><\/div><p>Example without input to set the default categories:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/set_log_categories -H 'Content-Type: application\/json'\n\n{\n  \"categories\": \"*:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO\",\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8dc5cdd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8dc5cdd\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-91ae942\" data-id=\"91ae942\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c2eae91 elementor-widget elementor-widget-text-editor\" data-id=\"c2eae91\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"start_save_graph\"><strong>\/<a id=\"start_save_graph\"><\/a>start_save_graph<\/strong><\/h3><p>Obsolete. Conserved here for reference.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/start_save_graph -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-eb49c01 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"eb49c01\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-018fa63\" data-id=\"018fa63\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-874cb4d elementor-widget elementor-widget-text-editor\" data-id=\"874cb4d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"update\"><strong>\/<a id=\"update\"><\/a>update<\/strong><\/h3><p>Update daemon.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>command<\/em>\u00a0\u2013 String; command to use, either\u00a0<code class=\"highlighter-rouge\">check<\/code>\u00a0or\u00a0<code class=\"highlighter-rouge\">download<\/code><\/li><li><em>path<\/em>\u00a0\u2013 String; Optional, path where to download the update.<\/li><\/ul><p>Outputs:<\/p><ul><li><em>auto_uri<\/em>\u00a0\u2013 string;<\/li><li><em>hash<\/em>\u00a0\u2013 string;<\/li><li><em>path<\/em>\u00a0\u2013 String; path to download the update<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>update<\/em>\u00a0\u2013 boolean; States if an update is available to download (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>)<\/li><li><em>user_uri<\/em>\u00a0\u2013 string;<\/li><li><em>version<\/em>\u00a0\u2013 string; Version available for download.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/update -d '{\"command\":\"check\"}' -H 'Content-Type: application\/json'\n\n{\n  \"auto_uri\": \"\",\n  \"hash\": \"\",\n  \"path\": \"\",\n  \"status\": \"OK\",\n  \"update\": false,\n  \"user_uri\": \"\",\n  \"version\": \"\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1f16a0e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1f16a0e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b63111e\" data-id=\"b63111e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-73579e5 elementor-widget elementor-widget-text-editor\" data-id=\"73579e5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_hashesbin\"><strong>\/<a id=\"get_hashes.bin\"><\/a>get_hashes.bin<\/strong><\/h3><p>Get hashes. Binary request.<\/p><p>Alias:\u00a0<em>\/gethashes.bin<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>block_ids<\/em>\u00a0\u2013 binary array of hashes; first 10 blocks id goes sequential, next goes in pow(2,n) offset, like 2, 4, 8, 16, 32, 64 and so on, and the last one is always genesis block<\/li><li><em>start_height<\/em>\u00a0\u2013 unsigned int<\/li><\/ul><p>Outputs:<\/p><ul><li><em>current_height<\/em>\u00a0\u2013 unsigned int<\/li><li><em>m_block_ids<\/em>\u00a0\u2013 binary array of hashes; see\u00a0<em>block_ids<\/em>\u00a0above.<\/li><li><em>start_height<\/em>\u00a0\u2013 unsigned int<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6927910 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6927910\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2bc3a9a\" data-id=\"2bc3a9a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0e5b0bc elementor-widget elementor-widget-text-editor\" data-id=\"0e5b0bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_o_indexesbin\"><strong>\/get_o_indexes.bin<\/strong><\/h3><p>Get global outputs of transactions. Binary request.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>txid<\/em>\u00a0\u2013 binary txid<\/li><\/ul><p>Outputs:<\/p><ul><li><em>o_indexes<\/em>\u00a0\u2013 array of unsigned int; List of output indexes<\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>untrusted<\/em>\u00a0\u2013 boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (<code class=\"highlighter-rouge\">true<\/code>), or when the daemon is fully synced (<code class=\"highlighter-rouge\">false<\/code>).<\/li><\/ul><p><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-47e3d3d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"47e3d3d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-832728b\" data-id=\"832728b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-64a4c07 elementor-widget elementor-widget-text-editor\" data-id=\"64a4c07\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"get_transaction_pool\"><strong>\/<a id=\"get_transaction_pool\"><\/a>get_transaction_pool<\/strong><\/h3><p>Show information about valid transactions seen by the node but not yet mined into a block, as well as spent key image information for the txpool in the node\u2019s memory.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>spent_key_images<\/em>\u00a0\u2013 List of spent output key images:<ul><li><em>id_hash<\/em>\u00a0\u2013 string; Key image.<\/li><li><em>txs_hashes<\/em>\u00a0\u2013 string list; tx hashes of the txes (usually one) spending that key image.<\/li><\/ul><\/li><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><li><em>transactions<\/em>\u00a0\u2013 List of transactions in the mempool are not in a block on the main chain at the moment:<ul><li><em>blob_size<\/em>\u00a0\u2013 unsigned int; The size of the full transaction blob.<\/li><li><em>double_spend_seen<\/em>\u00a0\u2013 boolean; States if this transaction has been seen as double spend.<\/li><li><em>do_not_relay<\/em>; boolean; States if this transaction should not be relayed<\/li><li><em>fee<\/em>\u00a0\u2013 unsigned int; The amount of the mining fee included in the transaction, in\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a>.<\/li><li><em>id_hash<\/em>\u00a0\u2013 string; The transaction ID hash.<\/li><li><em>kept_by_block<\/em>\u00a0\u2013 boolean; States if the tx was included in a block at least once (<code class=\"highlighter-rouge\">true<\/code>) or not (<code class=\"highlighter-rouge\">false<\/code>).<\/li><li><em>last_failed_height<\/em>\u00a0\u2013 unsigned int; If the transaction validation has previously failed, this tells at what height that occured.<\/li><li><em>last_failed_id_hash<\/em>\u00a0\u2013 string; Like the previous, this tells the previous transaction ID hash.<\/li><li><em>last_relayed_time<\/em>\u00a0\u2013 unsigned int; Last unix time at which the transaction has been relayed.<\/li><li><em>max_used_block_height<\/em>\u00a0\u2013 unsigned int; Tells the height of the most recent block with an output used in this transaction.<\/li><li><em>max_used_block_hash<\/em>\u00a0\u2013 string; Tells the hash of the most recent block with an output used in this transaction.<\/li><li><em>receive_time<\/em>\u00a0\u2013 unsigned int; The Unix time that the transaction was first seen on the network by the node.<\/li><li><em>relayed<\/em>\u00a0\u2013 boolean; States if this transaction has been relayed<\/li><li><em>tx_blob<\/em>\u00a0\u2013 unsigned int; Hexadecimal blob represnting the transaction.<\/li><li><em>tx_json<\/em>\u00a0\u2013 json string; JSON structure of all information in the transaction:<ul><li><em>version<\/em>\u00a0\u2013 Transaction version<\/li><li><em>unlock_time<\/em>\u00a0\u2013 If not 0, this tells when a transaction output is spendable.<\/li><li><em>vin<\/em>\u00a0\u2013 List of inputs into transaction:<ul><li><em>key<\/em>\u00a0\u2013 The public key of the previous output spent in this transaction.<ul><li><em>amount<\/em>\u00a0\u2013 The amount of the input, in\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a>.<\/li><li><em>key_offsets<\/em>\u00a0\u2013 A list of integer offets to the input.<\/li><li><em>k_image<\/em>\u00a0\u2013 The key image for the given input<\/li><\/ul><\/li><\/ul><\/li><li><em>vout<\/em>\u00a0\u2013 List of outputs from transaction:<ul><li><em>amount<\/em>\u00a0\u2013 Amount of transaction output, in\u00a0<a href=\"https:\/\/web.getmonero.org\/resources\/moneropedia\/atomic-units.html\" data-tooltip=\"Atomic Units refer to the smallest fraction of 1 XMR.\">atomic units<\/a>.<\/li><li><em>target<\/em>\u00a0\u2013 Output destination information:<ul><li><em>key<\/em>\u00a0\u2013 The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.<\/li><\/ul><\/li><\/ul><\/li><li><em>extra<\/em>\u00a0\u2013 Usually called the \u201ctransaction ID\u201d but can be used to include any random 32 bytes.<\/li><li><em>rct_signatures<\/em>\u00a0\u2013 Ring signatures:<ul><li><em>type<\/em><\/li><li><em>txnFee<\/em><\/li><li><em>ecdhInfo<\/em>\u00a0\u2013 array of Diffie Helman Elipctic curves structures as follows:<ul><li><em>mask<\/em>\u00a0\u2013 String<\/li><li><em>amount<\/em>\u00a0\u2013 String<\/li><\/ul><\/li><li><em>outPk<\/em><\/li><\/ul><\/li><li><em>rctsig_prunable<\/em><ul><li><em>rangeSigs<\/em>\u00a0\u2013 array of structures as follows:<ul><li><em>asig<\/em><\/li><li><em>Ci<\/em><\/li><\/ul><\/li><li><em>MGs<\/em>\u00a0\u2013 array of structures as follows:<ul><li><em>ss<\/em>\u00a0\u2013 array of arrays of two strings.<\/li><li><em>cc<\/em>\u00a0\u2013 String<\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul><p>Example (Note: Some lists in the returned information have been truncated for display reasons):<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/get_transaction_pool -H 'Content-Type: application\/json'\n\n{\n  \"spent_key_images\": [{\n    \"id_hash\": \"a2af919609db4ff5ab8d4ba18502e647d521760e1cbc30288f06fa87bf9a0c1c\",\n    \"txs_hashes\": [\"1ee6a4873b638711795fc3b0b73fc7146505a09a7f4749534fd408d571a273cf\"]\n  },{\n    \"id_hash\": \"02d5f6559e9bca5ae5a335130aeeb05df2db518ab9837fa64ebbab276c100792\",\n    \"txs_hashes\": [\"531aacc0ceb8514cdde5f104285202ccc3e969c77584e3c6fa614c987c583965\"]\n  },\n  ...],\n  \"status\": \"OK\",\n  \"transactions\": [{\n    \"blob_size\": 13193,\n    \"do_not_relay\": false,\n    \"double_spend_seen\": false,\n    \"fee\": 9694360000,\n    \"id_hash\": \"f8fb875cfc9e2e59bcf96a42474c79e01d50b69e6548d445d45984f7db66e50f\",\n    \"kept_by_block\": false,\n    \"last_failed_height\": 0,\n    \"last_failed_id_hash\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n    \"last_relayed_time\": 1525615049,\n    \"max_used_block_height\": 1564924,\n    \"max_used_block_id_hash\": \"4bae7856979f46c7de31f3fb58cac36d4dfd2765bf33f876edf33d0e05ebb4a7\",\n    \"receive_time\": 1525615049,\n    \"relayed\": true,\n    \"tx_blob\": \" ... \",\n    \"tx_json\": \"{\\n  \\\"version\\\": 2, \\n  \\\"unlock_time\\\": 0, \\n  \\\"vin\\\": [ {\\n      \\\"key\\\": {\\n        \\\"amount\\\": 0, \\n        \\\"key_offsets\\\": [ 2630347, 594429, 1047509, 758973, 464501, 61971, 22268\\n        ], \\n        \\\"k_image\\\": \\\"0731363c58dd4492f031fa20c82fe6ddcb9cc070d73938afe8a5f7f77897f8b4\\\"\\n      }\\n    }\\n  ], \\n  \\\"vout\\\": [ {\\n      \\\"amount\\\": 0, \\n      \\\"target\\\": {\\n        \\\"key\\\": \\\"f3b3dd09483616e343b9866eed50a0ce01d5c0d0f2612ce2c4d0e9cce5c218cd\\\"\\n      }\\n    }, {\\n      \\\"amount\\\": 0, \\n      \\\"target\\\": {\\n        \\\"key\\\": \\\"9796f2d477a696b6282bf3cb1a41cefba0c4604eedcc2e7a44904d7033643e0e\\\"\\n      }\\n    }\\n  ], \\n  \\\"extra\\\": [ 1, 25, 228, 80, 5, 214, 117, 150, 9, 125, 98, 17, 113, 208, 89, 223, 242, 227, 188, 197, 141, 190, 135, 140, 152, 117, 240, 150, 21, 93, 62, 108, 124\\n  ], \\n  \\\"rct_signatures\\\": {\\n    \\\"type\\\": 1, \\n    \\\"txnFee\\\": 9694360000, \\n    \\\"ecdhInfo\\\": [ {\\n        \\\"mask\\\": \\\"645f06a2816aecf83d5041c3320eb31092b994fb2733bb74c8c47e288d452c04\\\", \\n        \\\"amount\\\": \\\"3908f14d39dcb3831331cb255eeadc5b0aea0143645b9cd3034abf613995740d\\\"\\n      }, {\\n        \\\"mask\\\": \\\"0785b5df0a994b14d59da810503a022721d8f629720f526e15bd848ad3c2c509\\\", \\n        \\\"amount\\\": \\\"fbd81cf2368dcd742905ded5287457030467aaf5bc9939e13f1d6bf8d4c8ca09\\\"\\n      }], \\n    \\\"outPk\\\": [ \\\"c19f5fa052859126e0eed0e3c860aadab049677b2b3dd14cc74d02f92f1d013f\\\", \\\"1581ef6368de1608ea366566b88272db220479cf215f6d88d7b60ec221d11e0a\\\"]\\n  }, \\n  \\\"rctsig_prunable\\\": {\\n    \\\"rangeSigs\\\": [ {\\n        \\\"asig\\\": \\\" ... \\\", \\n        \\\"Ci\\\": \\\" .. \\\"\\n      }, {\\n        \\\"asig\\\": \\\" ... \\\", \\n        \\\"Ci\\\": \\\" ... \\\"\\n      }], \\n    \\\"MGs\\\": [ {\\n        \\\"ss\\\": [ [ \\\"218a10a29e0f66e5a324af67b7734708a8a4cc8f16b28acd8cda538aaa495a02\\\", \\\"b368b4e956df5808c5c257f0dc3f7eff8c28463d0bb20759d19977fa02d6f205\\\"], [ \\\"f741d2c96bc23b362b4155a03fb6f1351ab5bf4445a43b3e52ba776f526af305\\\", \\\"a10ad1ee80dce3f311dd3dc141803daeecaa4d2a25a390cd9c35e4161b7c9e0c\\\"],\n    ...], \\n        \\\"cc\\\": \\\"e93801b707261ca76e146fdf2085abae71ad9203a00edc843c74f4ead8a39601\\\"\\n      }]\\n  }\\n}\"\n  },\n  ...]\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bfd4fd8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bfd4fd8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-03642e2\" data-id=\"03642e2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8d4fb9a elementor-widget elementor-widget-text-editor\" data-id=\"8d4fb9a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"in_peers\"><strong>\/<a id=\"in_peers\"><\/a>in_peers<\/strong><\/h3><p>Limit number of Incoming peers.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>in_peers<\/em>\u00a0\u2013 unsigned int; Max number of incoming peers<\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/out_peers -d '{\"in_peers\": 3232235535}' -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-24bd742 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"24bd742\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6b339f5\" data-id=\"6b339f5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7b9d7d8 elementor-widget elementor-widget-text-editor\" data-id=\"7b9d7d8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"save_bc\"><strong>\/<a id=\"save_bc\"><\/a>save_bc<\/strong><\/h3><p>Save the blockchain. The blockchain does not need saving and is always saved when modified, however it does a sync to flush the filesystem cache onto the disk for safety purposes against Operating System or Harware crashes.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/save_bc -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0e87339 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0e87339\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7daee48\" data-id=\"7daee48\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b3485f1 elementor-widget elementor-widget-text-editor\" data-id=\"b3485f1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"set_log_hash_rate\"><strong>\/<a id=\"set_log_hash_rate\"><\/a>set_log_hash_rate<\/strong><\/h3><p>Set the log hash rate display mode.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:<\/p><ul><li><em>visible<\/em>\u00a0\u2013 boolean; States if hash rate logs should be visible (<code class=\"highlighter-rouge\">true<\/code>) or hidden (<code class=\"highlighter-rouge\">false<\/code>)<\/li><\/ul><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good. Any other value means that something went wrong.<\/li><\/ul><p>Example while mining:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/set_log_hash_rate -d '{\"visible\":true}' -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}\n<\/code><\/pre><\/blockquote><\/div><p>Error while not mining:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/set_log_hash_rate -d '{\"visible\":true}' -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"NOT MINING\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8f46909 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8f46909\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6056c76\" data-id=\"6056c76\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3abe97d elementor-widget elementor-widget-text-editor\" data-id=\"3abe97d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"stop_daemon\"><strong>\/<a id=\"stop_daemon\"><\/a>stop_daemon<\/strong><\/h3><p>Send a command to the daemon to safely disconnect and shut down.<\/p><p>Alias:\u00a0<em>None<\/em>.<\/p><p>Inputs:\u00a0<em>None<\/em>.<\/p><p>Outputs:<\/p><ul><li><em>status<\/em>\u00a0\u2013 string; General RPC error code. \u201cOK\u201d means everything looks good.<\/li><\/ul><p>Example:<\/p><div class=\"highlighter-rouge\"><blockquote><pre class=\"highlight\"><code>$ curl -X POST http:\/\/127.0.0.1:18081\/stop_daemon -H 'Content-Type: application\/json'\n\n{\n  \"status\": \"OK\"\n}<\/code><br \/><a href=\"#inizio\"><img decoding=\"async\" class=\" wp-image-796 aligncenter\" src=\"https:\/\/dinastycoin-1-274121.ingress-bonde.ewp.live\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" alt=\"\" width=\"86\" height=\"86\" srcset=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png 300w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-150x150.png 150w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-12x12.png 12w, https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32.png 320w\" sizes=\"(max-width: 86px) 100vw, 86px\" \/><\/a><\/pre><\/blockquote><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Introduction This is a list of the dinastycoind daemon RPC calls, their inputs and outputs, and examples of each. Many RPC calls use the daemon\u2019s JSON RPC interface while others use their own interfaces, as demonstrated below. Note:\u00a0\u201catomic units\u201d refer to the smallest fraction of 1 DCY according to the dinastycoind implementation. 1 DCY = [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-414","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Daemon-rpc-doc - Dinastycoin<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Daemon-rpc-doc - Dinastycoin\" \/>\n<meta property=\"og:description\" content=\"Introduction This is a list of the dinastycoind daemon RPC calls, their inputs and outputs, and examples of each. Many RPC calls use the daemon\u2019s JSON RPC interface while others use their own interfaces, as demonstrated below. Note:\u00a0\u201catomic units\u201d refer to the smallest fraction of 1 DCY according to the dinastycoind implementation. 1 DCY = [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/\" \/>\n<meta property=\"og:site_name\" content=\"Dinastycoin\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-30T14:26:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"55 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dinastycoin.com\\\/en\\\/daemon-rpc-doc\\\/\",\"url\":\"https:\\\/\\\/dinastycoin.com\\\/en\\\/daemon-rpc-doc\\\/\",\"name\":\"Daemon-rpc-doc - Dinastycoin\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/dinastycoin.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/dinastycoin.com\\\/en\\\/daemon-rpc-doc\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/dinastycoin.com\\\/en\\\/daemon-rpc-doc\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/dinastycoin.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/red-up-arrow-png-32-300x300.png\",\"datePublished\":\"2023-03-30T07:00:34+00:00\",\"dateModified\":\"2023-03-30T14:26:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dinastycoin.com\\\/en\\\/daemon-rpc-doc\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/dinastycoin.com\\\/en\\\/daemon-rpc-doc\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/dinastycoin.com\\\/en\\\/daemon-rpc-doc\\\/#primaryimage\",\"url\":\"https:\\\/\\\/dinastycoin.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/red-up-arrow-png-32-300x300.png\",\"contentUrl\":\"https:\\\/\\\/dinastycoin.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/red-up-arrow-png-32-300x300.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dinastycoin.com\\\/en\\\/daemon-rpc-doc\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dinastycoin.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Daemon-rpc-doc\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/dinastycoin.com\\\/#website\",\"url\":\"http:\\\/\\\/dinastycoin.com\\\/\",\"name\":\"Dinastycoin\",\"description\":\"Dinastycoin crypto sicura anonima e spendibile\",\"publisher\":{\"@id\":\"http:\\\/\\\/dinastycoin.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/dinastycoin.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"http:\\\/\\\/dinastycoin.com\\\/#organization\",\"name\":\"Dinastycoin\",\"url\":\"http:\\\/\\\/dinastycoin.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"http:\\\/\\\/dinastycoin.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/dinastycoin.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/cropped-cropped-Logo.png\",\"contentUrl\":\"https:\\\/\\\/dinastycoin.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/cropped-cropped-Logo.png\",\"width\":577,\"height\":174,\"caption\":\"Dinastycoin\"},\"image\":{\"@id\":\"http:\\\/\\\/dinastycoin.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Daemon-rpc-doc - Dinastycoin","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/","og_locale":"en_GB","og_type":"article","og_title":"Daemon-rpc-doc - Dinastycoin","og_description":"Introduction This is a list of the dinastycoind daemon RPC calls, their inputs and outputs, and examples of each. Many RPC calls use the daemon\u2019s JSON RPC interface while others use their own interfaces, as demonstrated below. Note:\u00a0\u201catomic units\u201d refer to the smallest fraction of 1 DCY according to the dinastycoind implementation. 1 DCY = [&hellip;]","og_url":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/","og_site_name":"Dinastycoin","article_modified_time":"2023-03-30T14:26:54+00:00","og_image":[{"url":"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"55 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/","url":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/","name":"Daemon-rpc-doc - Dinastycoin","isPartOf":{"@id":"http:\/\/dinastycoin.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/#primaryimage"},"image":{"@id":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/#primaryimage"},"thumbnailUrl":"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png","datePublished":"2023-03-30T07:00:34+00:00","dateModified":"2023-03-30T14:26:54+00:00","breadcrumb":{"@id":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/#primaryimage","url":"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png","contentUrl":"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/red-up-arrow-png-32-300x300.png"},{"@type":"BreadcrumbList","@id":"https:\/\/dinastycoin.com\/en\/daemon-rpc-doc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dinastycoin.com\/"},{"@type":"ListItem","position":2,"name":"Daemon-rpc-doc"}]},{"@type":"WebSite","@id":"http:\/\/dinastycoin.com\/#website","url":"http:\/\/dinastycoin.com\/","name":"Dynastycoins","description":"Dynastycoin anonymous and expendable secure crypto","publisher":{"@id":"http:\/\/dinastycoin.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/dinastycoin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"http:\/\/dinastycoin.com\/#organization","name":"Dynastycoins","url":"http:\/\/dinastycoin.com\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"http:\/\/dinastycoin.com\/#\/schema\/logo\/image\/","url":"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/cropped-cropped-Logo.png","contentUrl":"https:\/\/dinastycoin.com\/wp-content\/uploads\/2023\/03\/cropped-cropped-Logo.png","width":577,"height":174,"caption":"Dinastycoin"},"image":{"@id":"http:\/\/dinastycoin.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/dinastycoin.com\/en\/wp-json\/wp\/v2\/pages\/414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dinastycoin.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dinastycoin.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dinastycoin.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dinastycoin.com\/en\/wp-json\/wp\/v2\/comments?post=414"}],"version-history":[{"count":6,"href":"https:\/\/dinastycoin.com\/en\/wp-json\/wp\/v2\/pages\/414\/revisions"}],"predecessor-version":[{"id":1293,"href":"https:\/\/dinastycoin.com\/en\/wp-json\/wp\/v2\/pages\/414\/revisions\/1293"}],"wp:attachment":[{"href":"https:\/\/dinastycoin.com\/en\/wp-json\/wp\/v2\/media?parent=414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}