{"id":384,"date":"2021-06-07T15:40:20","date_gmt":"2021-06-07T07:40:20","guid":{"rendered":"https:\/\/www.paralism.com\/info\/docs\/paralism-%e8%8a%82%e7%82%b9-rpc-%e6%8e%a5%e5%8f%a3\/rpc%e6%96%b9%e6%b3%95%e5%88%97%e8%a1%a8\/%e8%8a%82%e7%82%b9%e5%9f%ba%e6%9c%acrpc%e6%96%b9%e6%b3%95\/"},"modified":"2021-06-08T10:46:28","modified_gmt":"2021-06-08T02:46:28","slug":"%e8%8a%82%e7%82%b9%e5%9f%ba%e6%9c%acrpc%e6%96%b9%e6%b3%95","status":"publish","type":"docs","link":"https:\/\/www.paralism.com\/info\/docs\/paralism-%e8%8a%82%e7%82%b9-rpc-%e6%8e%a5%e5%8f%a3\/rpc%e6%96%b9%e6%b3%95%e5%88%97%e8%a1%a8\/%e8%8a%82%e7%82%b9%e5%9f%ba%e6%9c%acrpc%e6%96%b9%e6%b3%95\/","title":{"rendered":"\u8282\u70b9\u57fa\u672cRPC\u65b9\u6cd5"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><a>help<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u67e5\u8be2\u8282\u70b9\u652f\u6301\u7684RPC\u65b9\u6cd5<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a\u65e0<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8282\u70b9\u6240\u652f\u6301RPC\u65b9\u6cd5\u5217\u8868<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"help\",\n  \"params\":&#91;],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"result\": \"\n  backupwallet &lt;destination&gt;\n  encryptwallet &lt;passphrase&gt;\n  getaccount &lt;address&gt;\n  getaccountaddress &lt;account&gt;\n  getaddressesbyaccount &lt;account&gt;\n  getbalance &#91;account] &#91;minconf=1]\n  getblockcount\n  getblocknumber\n  getcoininfo &lt;hyperblockId&gt; &lt;chainId&gt; &lt;localblockId&gt; \n  getconnectioncount\n  getdifficulty\n  getgenerate\n  getinfo\n  getnewaddress &#91;account]\n  getreceivedbyaccount &lt;account&gt; &#91;minconf=1]\n  getreceivedbyaddress &lt;address&gt; &#91;minconf=1]\n  gettransaction &lt;txid&gt;\n  gettransactionaddr &lt;txid&gt;\n  gid2rid {GID}\n  importcoin &lt;hyperblockId&gt; &lt;chainId&gt; &lt;localblockId&gt; \n  issuecoin &lt;Name&gt; &#91;Genesis block message] &#91;Model] &#91;Logo]\n  keypoolrefill\n  listaccounts &#91;minconf=1]\n  listreceivedbyaccount &#91;minconf=1] &#91;includeempty=false]\n  listreceivedbyaddress &#91;minconf=1] &#91;includeempty=false]\n  listtransactions &#91;account] &#91;count=10] &#91;from=0]\n  move &lt;fromaccount&gt; &lt;toaccount&gt; &lt;amount&gt; &#91;minconf=1] &#91;comment]\n  querygenesisblock &lt;GID&gt;\n  queryminingstatus\n  sendfrom &lt;fromaccount&gt; &lt;toaddress&gt; &lt;amount&gt; &#91;minconf=1] &#91;comment] &#91;comment-to]\n  sendmany &lt;fromaccount&gt; {address:amount,...} &#91;minconf=1] &#91;comment]\n  sendtoaddress &lt;ledgeraddress&gt; &lt;amount&gt; &#91;comment] &#91;comment-to]\n  setaccount &lt;address&gt; &lt;account&gt;\n  setgenerate &lt;generate&gt; &#91;genproclimit]\n  settxfee &lt;amount&gt;\n  startmining &#91;&lt;name&gt; | &lt;hyperblockId&gt; &lt;chainId&gt; &lt;localblockId&gt;]\n  stopmining\n  validateaddress &lt;ledgeraddress&gt;\",\n  \"error\": null,\n  \"id\": xxx\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getblockcount<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u8fd4\u56de\u8282\u70b9\u672c\u5730\u6700\u4f18\u94fe\u4e2d\u7684\u533a\u5757\u9ad8\u5ea6<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a\u65e0<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u4e00\u4e2a\u6574\u6570\u503c\uff0c\u8868\u793a\u672c\u5730\u6700\u4f18\u94fe\u4e2d\u7684\u533a\u5757\u9ad8\u5ea6<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"getblockcount\",\n  \"params\":&#91;],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": 572,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getblocknumber<\/a><\/h4>\n\n\n\n<p><strong>\u540cgetblockcount<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getconnectioncount<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u67e5\u8be2\u8282\u70b9\u7684\u5728\u7ebf\u90bb\u5c45\u8282\u70b9\u6570\u91cf<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a\u65e0<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u4e00\u4e2a\u6574\u6570\u503c\uff0c\u8282\u70b9\u7684\u5728\u7ebf\u90bb\u5c45\u8282\u70b9\u6570\u91cf<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\" getconnectioncount\",\n  \"params\":&#91;],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": 5,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a>getinfo<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u67e5\u8be2\u8282\u70b9\u8fd0\u884c\u72b6\u6001\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a\u65e0<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u5f53\u524d\u8282\u70b9\u7684\u8fd0\u884c\u72b6\u6001\u5c5e\u6027\u5217\u8868<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\" getinfo\",\n  \"params\":&#91;],\n  \"id\":xxx\n}\n<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": {\n        \"version\": 40000, \/\/\u8282\u70b9\u8f6f\u4ef6\u7248\u672c\uff1f\n        \"balance\": 864.00000000,\/\/\u8282\u70b9\u94b1\u5305\u6240\u6709\u5730\u5740\u603b\u4f59\u989d\n        \"blocks\": 572,\/\/\u8282\u70b9\u672c\u5730\u533a\u5757\u6570\uff1f\n        \"connections\": 1,\/\/\u90bb\u5c45\u8282\u70b9\u6570\n        \"proxy \": \"\",\n        \"generate\": true,\/\/\u6316\u77ff\u529f\u80fd\u662f\u5426\u5f00\u542f\n        \"difficulty\": 0.00000095,\/\/\u8282\u70b9\u5f53\u524d\u51fa\u5757\u96be\u5ea6\n        \"hashespersec\": 0,\/\/\u8282\u70b9\u7b97\u4f8b\uff0c\u6bcf\u79d2hash\u6b21\u6570\n        \"testnet\": false, \/\/\u662f\u5426\u6d4b\u8bd5\u7f51\u8282\u70b9\n        \"keypoololdest\": 1603867377, \/\/\u8282\u70b9\u94b1\u5305\u5bc6\u94a5\u6c60\u5e74\u9f84\n        \"keypoolsize\": 101,\/\/\u8282\u70b9\u5bc6\u94a5\u6c60\u5927\u5c0f\n        \"paytxfee\": 0.00000000, \/\/\u4ea4\u6613\u8d39\u7528\u8bbe\u7f6e\n        \"errors\": \"\" \/\/\u4ec0\u4e48\u9519\u8bef\u4fe1\u606f\uff1f\n    },\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getnewaddress<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u4e3a\u6307\u5b9a\u7684\u8d26\u6237\u751f\u6210\u4e00\u4e2a\u65b0\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;account&gt;\uff0caccount\u4e3a\u8d26\u6237\u540d\u5b57\u7b26\u4e32<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u4e3a\u6307\u5b9a\u8d26\u6237\u751f\u6210\u7684\u65b0\u5730\u5740<\/strong><\/p>\n\n\n\n<p>\u5907\u6ce8\uff1a<\/p>\n\n\n\n<p>1.\u82e5\u8d26\u6237\u540d\u4e3a\u7a7a[\u201c\u201d],\u5219\u4e3a\u8282\u70b9\u7f3a\u7701\u8d26\u6237\u751f\u6210\u65b0\u5730\u5740\u3002<\/p>\n\n\n\n<p>2.\u82e5\u8f93\u5165\u7684\u8d26\u6237\u540d\u4e0d\u5b58\u5728\uff0c\u5219\u8282\u70b9\u5185\u81ea\u52a8\u751f\u6210\u8be5\u8d26\u6237\uff0c\u5e76\u5c06\u751f\u6210\u7684\u65b0\u5730\u5740\u5173\u8054\u5230\u8be5\u8d26\u6237\u3002\u751f\u6210\u7684\u8d26\u6237\u53ef\u901a\u8fc7listaccounts\u65b9\u6cd5\u67e5\u770b\u3002<\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"getnewaddress\",\n  \"params\":&#91;\"yage\"],\n  \"id\":xxx\n}\n<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": \"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getaccountaddress<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u83b7\u53d6\u6307\u5b9a\u8d26\u6237\u53ef\u7528\u7684\u94b1\u5305\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;account&gt;,\u8d26\u6237\u540d\u5b57\u7b26\u4e32<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u4e00\u4e2a\u8d26\u6237\u53ef\u7528\u94b1\u5305\u5730\u5740<\/strong><\/p>\n\n\n\n<p>\u5907\u6ce8\uff1a\u5982\u679c\u8f93\u5165\u7684\u8d26\u6237\u6ca1\u6709\u53ef\u7528\u5730\u5740\uff0c\u5219\u8282\u70b9\u81ea\u52a8\u751f\u6210\u5e76\u8fd4\u56de\u4e00\u4e2a\u65b0\u5730\u5740\u3002<\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"getaccountaddress\",\n  \"params\":&#91;\u201cyage\u201d],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": {\n        \"yage\": \"15yKypansKe1voCJWHZBdYhVsBVbQx6rZv\"\n    },\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>setaccount<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u5173\u8054\u5730\u5740\u5230\u6307\u5b9a\u8d26\u6237<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;address&gt;,\u94b1\u5305\u5730\u5740\u5b57\u7b26\u4e32<\/strong><\/p>\n\n\n\n<p><strong>&lt;account&gt;,\u8d26\u6237\u540d\u5b57\u7b26\u4e32<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u5173\u8054\u6210\u529f\u5219result\u8fd4\u56denull\uff0c\u5931\u8d25\u5219\u8fd4\u56deerror\u9519\u8bef\u4fe1\u606f\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"setaccount\",\n  \"params\":&#91;\"15yKypansKe1voCJWHZBdYhVsBVbQx6rZv\", \"yage\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": null,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getaccount<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u67e5\u8be2\u94b1\u5305\u5730\u5740\u6240\u5173\u8054\u7684\u8d26\u6237<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;address&gt; \uff0c\u94b1\u5305\u5730\u5740\u5b57\u7b26\u4e32<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u5730\u5740\u6240\u5173\u8054\u7684\u8d26\u6237\u540d\u5b57\u7b26\u4e32<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"getaccount\",\n  \"params\":&#91;\"15yKypansKe1voCJWHZBdYhVsBVbQx6rZv\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": \"yage\",\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getaddressesbyaccount<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u67e5\u8be2\u6307\u5b9a\u8d26\u6237\u5173\u8054\u7684\u6240\u6709\u94b1\u5305\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;account&gt;\uff0c\u8d26\u6237\u540d\u5b57\u7b26\u4e32<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u8d26\u6237\u6240\u5173\u8054\u7684\u6240\u6709\u94b1\u5305\u5730\u5740\u5217\u8868<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\": \"getaddressesbyaccount\",\n  \"params\":&#91;\"yage\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": &#91;\n        \"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",\n        \"14R5qXbGCANCbvi4z7JZGLZxQ9VHdDM7TU\",\n        \"15yKypansKe1voCJWHZBdYhVsBVbQx6rZv\"\n    ],\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>sendtoaddress<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u8f6c\u8d26\u5230\u6307\u5b9a\u7684\u94b1\u5305\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;address-to&gt;\uff0c\u6536\u6b3e\u94b1\u5305\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>&lt;amount&gt;\uff0c\u8f6c\u8d26\u91d1\u989d<\/strong><\/p>\n\n\n\n<p><strong>[comment]\uff0c\u8f6c\u8d26\u5907\u6ce8<\/strong><\/p>\n\n\n\n<p><strong>[comment-to]\uff0c\u7ed9\u63a5\u53d7\u65b9\u7684\u5907\u6ce8<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u8f6c\u8d26\u4ea4\u6613\u7684\u6807\u8bc6\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"sendtoaddress\",\n  \"params\":&#91;\"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",100],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": {\n        \"txid\": \"3d56953163e3c66bb56a5996690dcc1a625b26c4e42b53aa9360a43b299f2e41\"\n    },\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getreceivedbyaddress<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u83b7\u53d6\u6307\u5b9a\u94b1\u5305\u5730\u5740\u4e0a\u63a5\u6536\u5230\u7684\u6240\u6709\u5e01\u603b\u989d<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;address&gt;\uff0c\u94b1\u5305\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>[minconf=1]\uff0c\u6700\u5c0f\u5e01\u9f84\uff0c\u7f3a\u7701\u503c\u4e3a1<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u8be5\u5730\u5740\u4e0a\u63a5\u6536\u5230\u7684\u6240\u6709\u5e01\u603b\u989d<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"getreceivedbyaddress\",\n  \"params\":&#91;\"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2 \"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": 100.00000000,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getreceivedbyaccount<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u83b7\u53d6\u6307\u5b9a\u8d26\u6237\u63a5\u6536\u7684\u5e01\u603b\u989d<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;account&gt;\uff0c\u8d26\u6237\u540d<\/strong><\/p>\n\n\n\n<p><strong>[minconf=1]\uff0c\u6700\u5c0f\u5e01\u9f84\uff0c\u7f3a\u7701\u503c\u4e3a1<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u8be5\u8d26\u6237\u6240\u6709\u5730\u5740\u4e0a\u63a5\u6536\u5230\u7684\u5e01\u603b\u989d<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"getreceivedbyaccount\",\n  \"params\":&#91;\"yage\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": 100.00000000,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>listreceivedbyaddress<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u6309\u94b1\u5305\u5730\u5740\u5217\u51fa\u63a5\u6536\u5230\u7684\u5e01\u603b\u989d<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a[minconf=1]\uff0c\u6700\u5c0f\u5e01\u9f84\uff0c\u9ed8\u8ba4\u503c\u4e3a1<\/strong><\/p>\n\n\n\n<p><strong>[includeempty=false]\uff0c\u662f\u5426\u5217\u51fa\u6ca1\u6709\u6536\u5230\u5e01\u7684\u5730\u5740\uff0c\u9ed8\u8ba4\u4e0d\u5217\u51fa<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u94b1\u5305\u5730\u5740\u4e0e\u76f8\u5e94\u6536\u5e01\u989d\u7684\u5217\u8868<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"listreceivedbyaddress\",\n  \"params\":&#91;\"\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": &#91;\n        {\n            \"address\": \"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",\n            \"account\": \"yage\",\n            \"label\": \"yage\",\n            \"amount\": 100.00000000,\n            \"confirmations\": 18\n        }\n    ],\n    \"error\": null,\n    \"id\": 77\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>listreceivedbyaccount<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u6309\u94b1\u5305\u8d26\u6237\u5206\u522b\u5217\u51fa\u76f8\u5173\u5165\u8d26\u4ea4\u6613\u603b\u989d<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a[minconf=1]\uff0c\u6700\u5c0f\u5e01\u9f84\uff0c\u9ed8\u8ba4\u503c\u4e3a1<\/strong><\/p>\n\n\n\n<p><strong>[includeempty=false]\uff0c\u662f\u5426\u5217\u51fa\u6ca1\u6709\u6536\u5230\u5e01\u7684\u8d26\u6237\uff0c\u9ed8\u8ba4\u4e0d\u5217\u51fa<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u94b1\u5305\u8d26\u6237\u76f8\u5173\u5165\u8d26\u4ea4\u6613\u603b\u989d\u7684\u5217\u8868<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"listreceivedbyaccount\",\n  \"params\":&#91;],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": &#91;\n        {\n            \"account\": \"yage\",\n            \"label\": \"yage\",\n            \"amount\": 100.00000000,\n            \"confirmations\": 14\n        },\n        {\n            \"account\": \"yage1\",\n            \"label\": \"yage1\",\n            \"amount\": 100.00000000,\n            \"confirmations\": 14\n        }\n\n    ],\n    \"error\": null,\n    \"id\": 77\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>keypoolrefill<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u751f\u6210\u65b0\u7684\u5bc6\u94a5\u5bf9\u586b\u5145\u5bc6\u94a5\u6c60\uff0c\u6bcf\u6b21\u751f\u6210100\u4e2a<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a \u65e0<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u6210\u529f\u5219result\u8fd4\u56denull\uff0c\u5931\u8d25\u5219\u8fd4\u56deerror\u9519\u8bef\u4fe1\u606f\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"keypoolrefill\",\n  \"params\":&#91;],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": null,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>walletpassphrase<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u8f93\u5165\u5bc6\u7801\u89e3\u9501\u5df2\u52a0\u5bc6\u7684\u94b1\u5305\uff0c\u5e76\u6307\u5b9a\u89e3\u9501\u6709\u6548\u65f6\u95f4\uff0c\u89e3\u9501\u65f6\u95f4\u5185\u53ef\u514d\u5bc6\u64cd\u4f5c\u94b1\u5305\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;passphrase&gt; \u94b1\u5305\u89e3\u9501\u5bc6\u7801<\/strong><\/p>\n\n\n\n<p><strong>&lt;timeout&gt; \u89e3\u9501\u6709\u6548\u65f6\u95f4\uff0c\u5355\u4f4d\u79d2<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u6210\u529f\u5219result\u8fd4\u56denull\uff0c\u5931\u8d25\u5219\u8fd4\u56deerror\u9519\u8bef\u4fe1\u606f\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\" walletpassphrase \",\n  \"params\":&#91;\"xxxxyyyyzzzz\",10],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": null,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>walletlock<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u9501\u5b9a\u94b1\u5305\uff0c\u64cd\u4f5c\u5df2\u52a0\u5bc6\u94b1\u5305\u9700\u8981\u5148\u63d0\u4f9b\u5bc6\u7801\u89e3\u9501\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a \u65e0<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u6210\u529f\u5219result\u8fd4\u56denull\uff0c\u5931\u8d25\u5219\u8fd4\u56deerror\u9519\u8bef\u4fe1\u606f\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"walletlock\",\n  \"params\":&#91;],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": null,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>encryptwallet<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u5bf9\u94b1\u5305\u52a0\u5bc6\uff0c\u5bf9\u5df2\u52a0\u5bc6\u94b1\u5305\u64cd\u4f5c\u9700\u8981\u5148\u8f93\u5165\u5bc6\u7801\u89e3\u9501<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a &lt;passphrase&gt;\uff0c\u5bc6\u7801<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u6210\u529f\u5219result\u8fd4\u56denull\uff0c\u5931\u8d25\u5219\u8fd4\u56deerror\u9519\u8bef\u4fe1\u606f\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"encryptwallet\",\n  \"params\":&#91;\"xxxxyyyyzzzz\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": null,\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>validateaddress<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u6821\u9a8c\u94b1\u5305\u5730\u5740\u662f\u5426\u5408\u6cd5<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;address&gt;\uff0c\u94b1\u5305\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u5730\u5740\u548c\u662f\u5426\u5408\u6cd5\u4fe1\u606f\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"validateaddress\",\n  \"params\":&#91;\"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": {\n        \"isvalid\": true,\/\/\u5730\u5740\u662f\u5426\u5408\u6cd5\n        \"address\": \"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",\/\/\u88ab\u6821\u9a8c\u5730\u5740\n        \"ismine\":  false \n    },\n    \"error\": null,\n    \"id\": 12\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>getbalance<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u67e5\u8be2\u6307\u5b9a\u8d26\u6237\u53ef\u7528\u4f59\u989d<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a[account]\uff0c\u94b1\u5305\u8d26\u6237<\/strong><\/p>\n\n\n\n<p><strong>[minconf=1]\uff0c\u6700\u5c0f\u5e01\u9f84\uff0c\u9ed8\u8ba4\u503c\u4e3a1<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u8d26\u6237\u6240\u6709\u5730\u5740\u53ef\u7528\u603b\u4f59\u989d<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"getbalance\",\n  \"params\":&#91;\"yage\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": 520.00000000,\n    \"error\": null,\n    \"id\": 12\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>move<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u8282\u70b9\u94b1\u5305\u5185\u90e8\u5730\u5740\u95f4\u8f6c\u8d26<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;fromacount&gt;\uff0c\u53d1\u9001\u65b9\u8d26\u53f7\u540d\uff0c\u8d26\u6237\u540d\u4e3a\u201d\u201d\u8868\u793a\u7f3a\u7701\u94b1\u5305\u8d26\u6237<\/strong><\/p>\n\n\n\n<p><strong>&lt;toaddress&gt;\uff0c \u63a5\u6536\u65b9\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>&lt;amount&gt;\uff0c\u91d1\u989d<\/strong><\/p>\n\n\n\n<p><strong>[comment]\uff0c\u5907\u6ce8<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u6210\u529f\u5219result\u8fd4\u56detrue\uff0c\u5931\u8d25\u5219\u8fd4\u56defalse\u548cerror\u9519\u8bef\u4fe1\u606f\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"move\",\n  \"params\":&#91;\"\",\"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",0.02],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": true,\n    \"error\": null,\n    \"id\": 12\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>sendfrom<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u4ece\u8282\u70b9\u672c\u5730\u94b1\u5305\u8d26\u6237\u8f6c\u8d26\u5230\u4efb\u610f\u4e00\u4e2a\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;fromacount&gt;\uff0c\u53d1\u9001\u65b9\u8d26\u53f7\u540d\uff0c\u8d26\u6237\u540d\u4e3a\u201d\u201d\u8868\u793a\u7f3a\u7701\u94b1\u5305\u8d26\u6237<\/strong><\/p>\n\n\n\n<p><strong>&lt;toaddress&gt;\uff0c \u63a5\u6536\u65b9\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>&lt;amount&gt;\uff0c\u91d1\u989d<\/strong><\/p>\n\n\n\n<p><strong>[comment]\uff0c\u5907\u6ce8<\/strong><\/p>\n\n\n\n<p><strong>[comment-to]\uff0c\u7ed9\u63a5\u6536\u65b9\u7684\u5907\u6ce8<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp; \u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u8282\u70b9\u5411\u533a\u5757\u94fe\u7f51\u7edc\u53d1\u9001\u7684\u4ea4\u6613\u6807\u8bc6txid\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"sendfrom\",\n  \"params\":&#91;\"\",\"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",0.02],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": \"37399f8cfd5cd6746065973b33e4955380804cc39ec11e22914521eac99250da\",\n    \"error\": null,\n    \"id\": 12\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>sendmany<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u5411\u591a\u4eba\u8f6c\u8d26<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;fromaccount&gt; \uff0c\u53d1\u9001\u65b9\u8d26\u53f7\u540d\uff0c\u8d26\u6237\u540d\u4e3a\u201d\u201d\u8868\u793a\u7f3a\u7701\u94b1\u5305\u8d26\u6237<\/strong><\/p>\n\n\n\n<p><strong>{address:amount,&#8230;} \uff0c\u63a5\u6536\u65b9\u5730\u5740\u548c\u91d1\u989d\u5143\u7ec4<\/strong><\/p>\n\n\n\n<p><strong>[minconf=1]\uff0c\u6700\u5c0f\u5e01\u9f84\uff0c\u9ed8\u8ba4\u503c\u4e3a1<\/strong><\/p>\n\n\n\n<p><strong>[comment]\uff0c\u5907\u6ce8<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u8282\u70b9\u5411\u533a\u5757\u94fe\u7f51\u7edc\u53d1\u9001\u7684\u4ea4\u6613\u6807\u8bc6txid<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"sendmany\",\n  \"params\":&#91;\n    \"\",\n    {\n      \"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\": 12.8, \n      \"14R5qXbGCANCbvi4z7JZGLZxQ9VHdDM7TU\": 23\n    }\n  ],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": \"fcafcfe9e680e24475416989426f3fc96f5d1fd6a85c6aed63a0822b9cfc9307\",\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>gettransaction<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u67e5\u8be2\u4ea4\u6613\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;txid&gt; ,\u4ea4\u6613\u6807\u8bc6<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u4ea4\u6613\u8be6\u7ec6\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"gettransaction\",\n  \"params\":&#91;\"37399f8cfd5cd6746065973b33e4955380804cc39ec11e22914521eac99250da\"],\n  \"id\":133\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"result\": {\n    \"amount\": -0.02000000, \/\/\u53d1\u9001\u91d1\u989d\n    \"fee\": 0.00000000,\/\/\u4ea4\u6613\u624b\u7eed\u8d39\n    \"confirmations\": 10, \/\/\u5e01\u9f84\n    \"txid\": \"37399f8cfd5cd6746065973b33e4955380804cc39ec11e22914521eac99250da\",\n    \"time\": 1603963924,\n    \"details\": &#91;\n      {\n        \"account\": \"\",\n        \"address\": \"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",\n        \"category\": \"send\",\n        \"amount\": -0.02000000,\n        \"fee\": 0.00000000\n      }\n    ]\n  },\n  \"error\": null,\n  \"id\": 133\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a>gettransactionaddr<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u67e5\u8be2\u4ea4\u6613\u6240\u5728\u5b50\u94fe\u533a\u5757\u7684\u8d85\u5757\u94fe\u4e09\u5143\u7ec4\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;txid&gt; \u4ea4\u6613\u6807\u8bc6<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u4ea4\u6613\u6240\u5728\u5b50\u94fe\u533a\u5757\u7684\u8d85\u5757\u94fe\u4e09\u5143\u7ec4\u5730\u5740<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"gettransactionaddr\",\n  \"params\":&#91;\"37399f8cfd5cd6746065973b33e4955380804cc39ec11e22914521eac99250da\"],\n  \"id\":133\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": {\n        \"address  \": &#91;13,2,1] \/\/\u8d85\u5757\u94fe\u4e09\u5143\u7ec4\u5730\u5740\n    },\n    \"error\": null,\n    \"id\": 133\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>listtransactions<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u5217\u51fa\u8282\u70b9\u94b1\u5305\u8d26\u53f7\u6700\u8fd1\u76f8\u5173\u4ea4\u6613<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a[account]\uff0c\u94b1\u5305\u8d26\u53f7<\/strong><\/p>\n\n\n\n<p><strong>[count=10]\uff0c\u8bf7\u6c42\u8bb0\u5f55\u6570\u91cf\uff0c\u9ed8\u8ba4\u4e3a10<\/strong><\/p>\n\n\n\n<p><strong>[from=0]\uff0c\u8bf7\u6c42\u8bb0\u5f55\u8d77\u70b9\uff0c\u9ed8\u8ba4\u4e3a0<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u94b1\u5305\u8d26\u53f7\u6700\u8fd1\u4ea4\u6613\u8bb0\u5f55\u5217\u8868<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"listtransactions\",\n  \"params\":&#91;],\n  \"id\":133\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"result\": &#91;\n    {\n      \"account\": \"\",\n      \"category\": \"generate\", \n      \"amount\": 8.00000000,\n      \"confirmations\": 21,\n      \"txid\": \"43941624bc17ffae87fca66c3272fd305377ec0b9a0b9877c430170a8f0e6914\",\n      \"time\": 1603964054\n    },\n    {\n      \"account\": \"\",\n      \"category\": \"immature\",\n      \"amount\": 8.00000000,\n      \"confirmations\": 20,\n      \"txid\": \"0ca69b6be62e76a47a83f385c136f7f9531dfe0b661c7cc53974c21738be1dbe\",\n      \"time\": 1603964098\n    },                     \n    {\n      \"account\": \"\",\n      \"address\": \"1ae9CcbE49TnpFygKt7udeP5NbZ7REcC2\",\n      \"category\": \"send\",\n      \"amount\": -12.80000000,\n      \"fee\": 0.00000000,\n      \"confirmations\": 9,\n      \"txid\": \"fcafcfe9e680e24475416989426f3fc96f5d1fd6a85c6aed63a0822b9cfc9307\",\n      \"time\": 1603965018\n    },\n    {\n      \"account\": \"\",\n      \"category\": \"immature\",\n      \"amount\": 8.00000000,\n      \"confirmations\": 5,\n      \"txid\": \"adaec471c7bfe421bdce6ca5275c9b0391d91d41642ee08dae4b2a147754bd05\",\n      \"time\": 1603965175\n    },\n    {\n      \"account\": \"\",\n      \"category\": \"immature\",\n      \"amount\": 8.00000000,\n      \"confirmations\": 3,\n      \"txid\": \"e88849df751ccf5c3d1c3f6a42036f1b8be51b8d3f5d3f253f2f9e4d656e95cd\",\n      \"time\": 1603965309\n    },\n    {\n      \"account\": \"\",\n      \"category\": \"immature\",\n      \"amount\": 8.00000000,\n      \"confirmations\": 2,\n      \"txid\": \"0cdf4eddce6517a315178c00ab3c78c4a6d048e88fccaca0cb7dc2e18d18d20e\",\n      \"time\": 1603965336\n    },\n    {\n      \"account\": \"\",\n      \"category\": \"orphan\",\n      \"amount\": 8.00000000,\n      \"confirmations\": 0,\n      \"txid\": \"e64d4fa0abcb7937e0c093d3a43e42474fe6229bd52d1c6936ce494fdb012eb1\",\n      \"time\": 1603965341\n    }\n  ],\n  \"error\": null,\n  \"id\": 133\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>listaccounts<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a<\/strong>\u5217\u51fa\u8282\u70b9\u94b1\u5305\u6240\u6709\u8d26\u53f7\u4f59\u989d<strong><\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a[minconf=1]\uff0c\u5e01\u9f84\uff0c\u9ed8\u8ba4\u503c\u4e3a1<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8fd4\u56de\u94b1\u5305\u5404\u8d26\u53f7\u4f59\u989d\u5217\u8868<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\" listaccounts\",\n  \"params\":&#91;\"\"],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"result\": {\n    \"\": &#91;\n        952.00000000, \/\/\u94b1\u5305\u8d26\u6237\u603b\u989d\n        864.00000000  \/\/\u5df2\u6210\u719fpara\u5e01\u6570\u91cf\uff0c\u6839\u636e\u5e01\u9f84\u53c2\u6570\u503c\u533a\u5206\n    ]\n    \"yage\" : &#91;\n      10.00000000,\n      10.00000000\n    ]\n  },\n  \"error\": null,\n  \"id\": xxx\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a><\/a><a>settxfee<\/a><\/h4>\n\n\n\n<p><strong>\u529f\u80fd\uff1a\u8bbe\u7f6e\u94b1\u5305\u4ea4\u6613\u652f\u4ed8\u65f6\u91c7\u7528\u7684\u6bcf\u5343\u5b57\u8282\u624b\u7eed\u8d39\u7387<\/strong><\/p>\n\n\n\n<p><strong>\u53c2\u6570\uff1a&lt;FeePerKB&gt;\uff0c\u6bcf\u5343\u5b57\u8282\u8d39\u7387<\/strong><\/p>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\uff1a\u8bbe\u7f6e\u6210\u529f\u8fd4\u56detrue\uff0c\u5931\u8d25\u8fd4\u56defalse\u548cerror\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p><strong>\u8c03\u7528\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"method\":\"settxfee\",\n  \"params\":&#91;0.00002],\n  \"id\":xxx\n}<\/code><\/pre>\n\n\n\n<p><strong>\u8fd4\u56de\u7ed3\u679c\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"result\": \"true\",\n    \"error\": null,\n    \"id\": xxx\n}\n<\/code><\/pre>\n","protected":false},"featured_media":0,"parent":383,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-384","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/comments?post=384"}],"version-history":[{"count":1,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/384\/revisions"}],"predecessor-version":[{"id":421,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/384\/revisions\/421"}],"up":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/383"}],"next":[{"title":"Coin\u76f8\u5173RPC\u65b9\u6cd5","link":"https:\/\/www.paralism.com\/info\/docs\/paralism-%e8%8a%82%e7%82%b9-rpc-%e6%8e%a5%e5%8f%a3\/rpc%e6%96%b9%e6%b3%95%e5%88%97%e8%a1%a8\/coin%e7%9b%b8%e5%85%b3rpc%e6%96%b9%e6%b3%95\/","href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/385"}],"wp:attachment":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/media?parent=384"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/doc_tag?post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}