From 97e7be1399ee7eca96bba70d34ffa9ebf4379606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Mon, 12 Aug 2024 11:30:41 +0800 Subject: [PATCH 1/4] Update getcontractstate.md --- .../rpc/latest-version/api/getcontractstate.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/n3/reference/rpc/latest-version/api/getcontractstate.md b/docs/n3/reference/rpc/latest-version/api/getcontractstate.md index 0b1f6ff..5dd2f66 100644 --- a/docs/n3/reference/rpc/latest-version/api/getcontractstate.md +++ b/docs/n3/reference/rpc/latest-version/api/getcontractstate.md @@ -8,7 +8,23 @@ You must install the plugin [RpcServer](https://github.com/neo-project/neo-modul ## Parameter Description -script_hash / name: Contract script hash or the native contract name. +script_hash / contract_id / native_contract_name: Contract script hash or Contract ID or the native contract name. + +Such as: `-5`, `0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5`, `neotoken`. + +If you want to look up the name or ID of a native contract, you can use the [getnativecontracts](getnativecontracts.md) method. + +| Native Contract Name | ID | ScriptHash | +| -------------------- | ---- | ------------------------------------------ | +| ContractManagement | -1 | 0xfffdc93764dbaddd97c48f252a53ea4643faa3fd | +| StdLib | -2 | 0xacce6fd80d44e1796aa0c2c625e9e4e0ce39efc0 | +| CryptoLib | -3 | 0x726cb6e0cd8628a1350a611384688911ab75f51b | +| LedgerContract | -4 | 0xda65b600f7124ce6c79950c1772a36403104f2be | +| NeoToken | -5 | 0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5 | +| GasToken | -6 | 0xd2a4cff31913016155e38e474a2c06d08be276cf | +| PolicyContract | -7 | 0xcc5e4edd9f5f8dba8bb65734541df7a1c081c67b | +| RoleManagement | -8 | 0x49cf4e5378ffcd4dec034fd98a174c5491e395e2 | +| OracleContract | -9 | 0xfe924b7cfe89ddd271abaf7210a80a7e11178758 | ## Example From d5400fa2e0122e0d9b0b1117d0322fa1c356576c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Mon, 12 Aug 2024 11:39:26 +0800 Subject: [PATCH 2/4] Update getrawmempool.md --- docs/n3/reference/rpc/latest-version/api/getrawmempool.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/n3/reference/rpc/latest-version/api/getrawmempool.md b/docs/n3/reference/rpc/latest-version/api/getrawmempool.md index cd2696b..2726063 100644 --- a/docs/n3/reference/rpc/latest-version/api/getrawmempool.md +++ b/docs/n3/reference/rpc/latest-version/api/getrawmempool.md @@ -6,6 +6,13 @@ Obtains a list of confirmed / unconfirmed transactions in memory. You must install the plugin [RpcServer](https://github.com/neo-project/neo-modules/releases) before you can invoke the method. ::: +## Parameter Description + +shouldGetUnverified: Optional. The default value is `false`. + +- `true`: include unverified transactions. +- `false`: excluding unverified transactions + ## Examples ### Example 1 - Get verified transactions From af742cad214640aa08fe1bec96f95a408c3cbaa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Mon, 12 Aug 2024 14:41:16 +0800 Subject: [PATCH 3/4] findstorage --- docs/n3/reference/rpc/latest-version/api.md | 1 + .../rpc/latest-version/api/findstorage.md | 258 ++++++++++++++++++ .../latest-version/api/getcontractstate.md | 8 +- .../rpc/latest-version/api/getrawmempool.md | 4 +- 4 files changed, 265 insertions(+), 6 deletions(-) create mode 100644 docs/n3/reference/rpc/latest-version/api/findstorage.md diff --git a/docs/n3/reference/rpc/latest-version/api.md b/docs/n3/reference/rpc/latest-version/api.md index b743d14..5dea8c4 100644 --- a/docs/n3/reference/rpc/latest-version/api.md +++ b/docs/n3/reference/rpc/latest-version/api.md @@ -42,6 +42,7 @@ You can modify the port in config.json in the RpcServer folder. | [getrawtransaction](api/getrawtransaction.md) | [verbose=0] | Returns the transaction information with the specified hash value. | | [getstorage](api/getstorage.md) | | Returns the value with the contract script hash and the key. | | [gettransactionheight](api/gettransactionheight.md) | | Returns the transaction height with the specified transaction hash. | +| [findStorage](api/findStorage.md) | \ | Finds storage items by contract ID or script hash and prefix. | ### Node diff --git a/docs/n3/reference/rpc/latest-version/api/findstorage.md b/docs/n3/reference/rpc/latest-version/api/findstorage.md new file mode 100644 index 0000000..ed089d0 --- /dev/null +++ b/docs/n3/reference/rpc/latest-version/api/findstorage.md @@ -0,0 +1,258 @@ +# findstorage Method + +Finds storage items by contract ID or script hash and prefix. + +:::note +You must install the plugin [RpcServer](https://github.com/neo-project/neo-modules/releases) before you can invoke the method. +::: + +## Parameter Description + +- script_hash / contract_id / native_contract_name: Contract script hash or Contract ID or the native contract name. + + Such as: `-5`, `0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5`, `neotoken`. + + If you want to look up the name or ID of a native contract, you can use the [getnativecontracts](getnativecontracts.md) method. + + | Native Contract Name | ID | ScriptHash | +| -------------------- | ---- | ------------------------------------------ | +| ContractManagement | -1 | 0xfffdc93764dbaddd97c48f252a53ea4643faa3fd | +| StdLib | -2 | 0xacce6fd80d44e1796aa0c2c625e9e4e0ce39efc0 | +| CryptoLib | -3 | 0x726cb6e0cd8628a1350a611384688911ab75f51b | +| LedgerContract | -4 | 0xda65b600f7124ce6c79950c1772a36403104f2be | +| NeoToken | -5 | 0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5 | +| GasToken | -6 | 0xd2a4cff31913016155e38e474a2c06d08be276cf | +| PolicyContract | -7 | 0xcc5e4edd9f5f8dba8bb65734541df7a1c081c67b | +| RoleManagement | -8 | 0x49cf4e5378ffcd4dec034fd98a174c5491e395e2 | +| OracleContract | -9 | 0xfe924b7cfe89ddd271abaf7210a80a7e11178758 | + +- The Base64-encoded storage key prefix as the second element +- Optional, start index as the third element + +## Example + +Request body: + +```json +{ + "jsonrpc": "2.0", + "id": 1, + "method": "findstorage", + "params": [2, "AQ==", 0] +} +``` + +Response body: + +```json +{ + "jsonrpc": "2.0", + "id": 1, + "result": { + "truncated": true, + "next": 50, + "results": [ + { + "key": "AQEC", + "value": "jgg=" + }, + { + "key": "AQED", + "value": "kgI=" + }, + { + "key": "AQEF", + "value": "mQg=" + }, + { + "key": "AQEG", + "value": "zws=" + }, + { + "key": "AQEH", + "value": "Wg==" + }, + { + "key": "AQEOAAAAAAAAAA==", + "value": "AQ==" + }, + { + "key": "AQER", + "value": "UgE=" + }, + { + "key": "AQET", + "value": "Dg==" + }, + { + "key": "AQEV", + "value": "Kg==" + }, + { + "key": "AQEY", + "value": "Aw==" + }, + { + "key": "AQEv", + "value": "SA==" + }, + { + "key": "AQIC", + "value": "IDBoVQlE//8riM8rS+bOlbcW3CPCD/M/qfhv8PneRZtYIGHzUUvyv+uBcH/swZNLm/dBWtI95T7kExytNDIqat32FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thTe4ezMLkbmNuifSZasJ4gVwrySlVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAAE=", + "value": "IAt4TatO+xK4M3nHm1531ygMf7Zam/XlE+JO7tfqkBqNIHBn+/jVKcBauD7GH6o/T+Mo+3oUrp7OI4ceFyPxpKF7FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShTr0OiYisJaeT3Cc2j5alpy40781xRnpSBx9+6wvFOEzMguWYpQKjQyACt6CmkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAAI=", + "value": "IL28o+a8U5LC/8daTy64xdeEDoTRyy7LX5Khl9IZXvtFIDkLq7jOwOQQBKBfy1JxLsADvALdsNjdLdhLWGrQmPZ4FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShQ1YJ3FnhXQPFyGVQfhNI+lq7MZqBQHcUqL8HNRCZbZSNiqOfjjJif+YgBQOSeMBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAAM=", + "value": "IN7VDXm4N5YpCIBHYlJ2tufvbt/m1alj9RlWN78DxmddIBmmp7sZRLWoboMu4KWfzCt9rUYI6sY6GorGROAvHvLCFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thSBhGochL9wGt4VRnP0lGFt8B+1m3aNqGqJ9vp9AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAAQ=", + "value": "IIyThvR41WPIe/YV3XL3aeqmpQPDlYcBZ/5Ejfi2C+x9IHqzdDgkjDL5+Ku2X8ul41snoVkvLz7ccVMV3dXTrQcvFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBQAIMUiKiTkqWtyDAa4A/uNNK3Ar5JgJXoLAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAAU=", + "value": "IFmoHjRV3DcuGhSHecqACxfV5zrKP/F8yBmV42yTRb34IFKPd8XEnkcCfDXH4iZE9/lSl8fLhEENcm6B5uqb4WO0FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBQhENLe5PMUx/IVUcrNHLeA24kgkwDh9QUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAAY=", + "value": "IP1vpwxGhvznmOTSGvDJqOeRH/stVwYdWuFVSfti0MxbIIaJ3clKvFb7omb/DotN2Qf96+8f4oXOsroX5Wq1FE9ZFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBTweP+chIZiJkjhf74T3OBGguV44KJ7vx0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAAc=", + "value": "IDUsx8tgPvDNk8RnBEtb2eFQ6dPR1YuM8q6PdkhzbI43ICU+zexD1HloXH7toafCkaCsWpe4I8O9G6cQAiTCQHXXFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBQyB78Lyw9hZ2VhrCeyO8PClLvSviLaQZoGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAAg=", + "value": "IE69zY83FSkeRzrAbaGsN8i7rlKH3Bls2Xv+Ok38npZkIKhgzBvS7n3/4f1Rg0qrMEuX0PnrclUhI95qKfLqb/zQFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrRBSpNyfoZh1Pgs/VD32P0/OOyEk7hA4rAAAACgcAAAAKAAQAAEBCDwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQ==", + "value": "INI2eRc3Nw88tnDMrCIqdtQ/K8nDY2KbP2dK7UxwrsrnIOo4xLoCozGabr0c5yLgqNkER+7tiCibIpElpmHA4cjRFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thTe4ezMLkbmNuifSZasJ4gVwrySlVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQE=", + "value": "IGLZai0XTwa8OrqYd8EaLEWjpXISq5R3TH0Ew1peMdDrIME/97rpwQRo5FAXmP7pzLKVEMWWoNDpD4MGz3LQOclyFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBRnpSBx9+6wvFOEzMguWYpQKjQyAACIUmp0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQI=", + "value": "IMJrLm34OJnxvXW3G3q1J3O9m6qsvf+gCQFCaDMbK/aAIN2i3R5oUgPexnMipdWwISm1pp23DcmWfP+AC3Ol1xfZFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thRTFWrDso21R/ZtPiwKOwnURfEqDwAAuJ0NaVWgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQM=", + "value": "IGrjEllwW443Y4Hr0l/24SKhOkFlpfouRPumDvxpjYXOIOp71mnYoNFN2au7KECslu0wBw6npk/aH3tKPMY9VlnpFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBTweP+chIZiJkjhf74T3OBGguV44EGOGx0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQQ=", + "value": "ICJnrgM85soDWXQXy7O3PPMODL1c+RTsh4aYTqP6jOIcICcDZj+2/dNR81lNCYNO0lr40D9iI6TAjmCrFZvqFVBdFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBRIcTj7FTZPGSqjRIsM6fhiUjiJHcxqAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQU=", + "value": "IKq2EyLZgl+FpONH5jI9mfRiGPNyaeiSMtOI/7EWEzDqIPCsWZQbtoZNVEjysuUfM0CGIegIht2j1qaiDQSuWdXbFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBQhENLe5PMUx/IVUcrNHLeA24kgk3/j3WsNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQY=", + "value": "INLDA14Ygam6hCImErbWWhriVAUBhyFrC9ZQgIpZBqAsII4tBjQSeZpm2+BWIJPWdylihfwmbUEXsFsto95mq+s0FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShTr0OiYisJaeT3Cc2j5alpy40781xR/DJCRa3o+qrGFtWJmpTezfyNYKwDh9QUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQc=", + "value": "ILY9mV70FO0/84XAzHg061/LitHOxl6x/BI3iZBrxmKlIMnCRfshFjTMvClMIDTFaMdnwtZSnXm7NlsmwSKxjw8IFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBQqe36HO6SRjH6NISVlIRbqEv3xd+8kXncAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAQg=", + "value": "IHmwRujscwLk1UW/7A+d8dPaqw6rlTHnVqNCNs3PD7rTIN2ZNOvBCfoPrKNgQv1KTWVpE1U4brf5NFHFUE2HVdWlFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBRuYui24Ms2DkqZG2JGBtW3OiPrwQDkC1QCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAg==", + "value": "IECVSSqXgJw8nO4JSDcKp80uQB4nCvxR7CRkMeuP/yT2IHxZc5XoeCPRGn1TigvZ5ZKmPZO+AO/wnYxu3NTOXMJHFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thTe4ezMLkbmNuifSZasJ4gVwrySlVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAgE=", + "value": "IIjZG9callfZTNoWgrCW01EMqdpW0DC8OpkaYS8QCdywID9POIFJCYczJKs5e0lcqpIqBnqRz7tPEPKDpVKSoMIcFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBRnpSBx9+6wvFOEzMguWYpQKjQyAADh9QUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAgI=", + "value": "IENA1TdJAFeeiQYC+ydL5nFDmBylbAHBfkzdPSYKTk/0IBTvqQeHl1tz24yRM40NIiXgiOn05B6RTsnuapovOLhSFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShTr0OiYisJaeT3Cc2j5alpy40781xRTFWrDso21R/ZtPiwKOwnURfEqDx6qKwQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAgM=", + "value": "IEst7ph/2E2JXHivmA2las4fsD9sbv1lCOmENItFg3gFIFXZcXDirdcxkv5BvJ40ksRDQYrG7YG54jKkDppec5GcFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thTeuLPKf50K8VJ9UzZMkr0XLnGOQiiOYHZ8Z4EGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAgQ=", + "value": "IGuNEtUfd3O6J2hfU2K57K1ugAIL4PtagKMonXldp5REII0sJEwm8xL9ZH54vvQb+wyCp1d93APPKHG3uxvswui9FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBTygzezvk1enlaQAeYUP6ZPK4DAuKkqNiIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAgU=", + "value": "IBSuwZ+IcZElfH/NvvuI6ke1RMTrydSydcwdh0d9wGgjIEYuqGtgBJGKL6Zg+szspl8dyNeAW7CoUxpeAtE8U6cCFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBQhENLe5PMUx/IVUcrNHLeA24kgkwA8U0wQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAgY=", + "value": "IMzOz6zUjI21WxOrEe9hFvb/R+1PaqkRWcNDRTqCgbh+IG6q2f46SNoSV0kkjrSw3MO3A4xHbmaACnqVjtwGCsPLFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBTUMc/HEe6ox5C7O5kT3TXq3p+mEQB1K30AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAgc=", + "value": "IPFWY2zD7AqAviDv68WQrMA+422Vncdy7tqhU9Kr57owIIWysbc5+abZHQgQ8MUV4tum+pR+RtG/ojoV47fliFmRFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShTr0OiYisJaeT3Cc2j5alpy40781xSYIGyoW8jdtcCvF7kCEmrbqrkGZlw3ewAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAgg=", + "value": "IBcZsxvS7QVMC4ZEJBewke0nff4DsOcRSMepoamGvYAIII1vrLIcaP0wzeCabm8FuzOZp58/MZKBrL8NgefZZyKAFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thQYMMAFz+MXMKvJd63kZi7JYQw6WhWEGmFAEkkOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAw==", + "value": "IOhPo6pH0zZoHB1M5psStUhFtZIwhHx85hTT0P7wx747IPdDKuK9mIzWLCa4exrpJ+4I5URy+QEKI1MB2xv38JHoFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thRuYui24Ms2DkqZG2JGBtW3OiPrwat+6MC+MtgCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAwE=", + "value": "IJiKaMZfFBhOOHfJXYgeSzmuNynbYRDqwwYpQ0iTjKsNILsaEgVFWe7Mh62ugGs+uvnlJ4qMDUxxtqz2RZhqiYRiFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBRghpFyOHv1S5KaeLQ4ek38FG2Bo6l5GikBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAwI=", + "value": "IOqVnkOtqc7mnO5gUmhtt1MQOuHnnmLsk1KvhXFlZrCFICIEvcjNzZ3ygUZiizXf7Sygj9LFkPg3m/c1Lup3XQg/FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thR5UyqSYiWfw49ofpVt9kcgp1DpF0kXzoOpm0MDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAwM=", + "value": "IEu4IpjWqSWRjzmQXiac/YXVL+CUy8sXAVSTnTm/2FVPICROtxBSamlY+xaPt2JWMPaQo6k/gGKHca5dvoKOzVbdFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBSDDrQRmHw0hpvX3a9TaVuHbeBGASkiOZRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAwQ=", + "value": "II7YL6PU0Ev7bitytKMRitwRlu+5+cvHVhGMBhSZkIeVIF9/Fv4SiVRBPloWFJ1snHCit7R1NLLG0IimzTg4LHs3FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thR0xEEfvahF5HICZ73J2hZRjd4n5QC8OtyIKFowAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAwU=", + "value": "IGdJ8kU2oi+ZNw0yGmJwocAqcngPpxA1jihOHT03nJRsIENrnpwMy+zj712Lvngx9dJI0bJ/5H1zEW9S9ZWum3iPFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thTe4ezMLkbmNuifSZasJ4gVwrySlQAA3M6GtCrQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAwY=", + "value": "IG24NGZW1uZXHcX5bD/VELS+xPW+7vz/yvcb8PfJIum8IPQodc0TEUS0QTUpN7M25+enRFu4oE+GJIUwnNjNWArxFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBTUMc/HEe6ox5C7O5kT3TXq3p+mEQDxU2UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAwc=", + "value": "IO/VS9H2+A6eX9ok2Jjq8D1X/ga8RazOJERxR9/jEgMKIJSjiwf14Pg54rOGExCKCkYdn/r8n8XD7FHXHVA4SsJhFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShTr0OiYisJaeT3Cc2j5alpy40781xSYIGyoW8jdtcCvF7kCEmrbqrkGZkemegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICAwg=", + "value": "IAO14gtiOkqvELUNqDS4D/5Ljrd8Px6yPgT5jN0wpsYrIJ72fQPZHZSV/4n3yI2ReSE/eM8Ir4o+aKh2U6et941aFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAU7fGVtuqCfPIdHMM3vCDjX1H36w8GdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBTYGo88P4sAbvGuSi/Shpmtfj4hxdmbBQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICBA==", + "value": "IBTNLc0fWIMDjBxvTMzcDyi0qe3HhAawYGGXr3oBdRvQIMIpNzvyBJkbHqooJhv5NXZcnEYBlkJ8Jft5GkxbEni3FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thRuYui24Ms2DkqZG2JGBtW3OiPrwd+Ifnh577ZLAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICBAE=", + "value": "IEg0uV8boe8rDXsi0WT/IUeIiSIOQstWZANBtDdMXUcHIIb4gGBA0aIzUPMNOqb1DYx7nJ9rb0NtGZcZiasBe+h8FMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShSpNyfoZh1Pgs/VD32P0/OOyEk7hBRnpSBx9+6wvFOEzMguWYpQKjQyAGYMiouOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "key": "AQICBAI=", + "value": "IEyFCuNK0agZ+zrjLajii9MdHw3eHaQUEShomOvKdN6kIP+syzQUvowLPl3Uwt526b+jOnD7xm0zVZELozNQQ7FpFMtWlFN4FJfcsGe3PZWyiALLAVU4AgAAAAAAAAAUJQ52mH2DinUxDDS/Qi6p8axMyQYGdW5sb2NrShRGsuAiTvsD1D66iKtaGZVIDmp2thSxXW3T++mGIZwaxX+F6Fgn8ufu2KTo4q3tIWwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + } + ] + } +} +``` diff --git a/docs/n3/reference/rpc/latest-version/api/getcontractstate.md b/docs/n3/reference/rpc/latest-version/api/getcontractstate.md index 5dd2f66..b09ad82 100644 --- a/docs/n3/reference/rpc/latest-version/api/getcontractstate.md +++ b/docs/n3/reference/rpc/latest-version/api/getcontractstate.md @@ -8,13 +8,13 @@ You must install the plugin [RpcServer](https://github.com/neo-project/neo-modul ## Parameter Description -script_hash / contract_id / native_contract_name: Contract script hash or Contract ID or the native contract name. +- script_hash / contract_id / native_contract_name: Contract script hash or Contract ID or the native contract name. -Such as: `-5`, `0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5`, `neotoken`. + Such as: `-5`, `0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5`, `neotoken`. -If you want to look up the name or ID of a native contract, you can use the [getnativecontracts](getnativecontracts.md) method. + If you want to look up the name or ID of a native contract, you can use the [getnativecontracts](getnativecontracts.md) method. -| Native Contract Name | ID | ScriptHash | + | Native Contract Name | ID | ScriptHash | | -------------------- | ---- | ------------------------------------------ | | ContractManagement | -1 | 0xfffdc93764dbaddd97c48f252a53ea4643faa3fd | | StdLib | -2 | 0xacce6fd80d44e1796aa0c2c625e9e4e0ce39efc0 | diff --git a/docs/n3/reference/rpc/latest-version/api/getrawmempool.md b/docs/n3/reference/rpc/latest-version/api/getrawmempool.md index 2726063..a6cbd53 100644 --- a/docs/n3/reference/rpc/latest-version/api/getrawmempool.md +++ b/docs/n3/reference/rpc/latest-version/api/getrawmempool.md @@ -10,8 +10,8 @@ You must install the plugin [RpcServer](https://github.com/neo-project/neo-modul shouldGetUnverified: Optional. The default value is `false`. -- `true`: include unverified transactions. -- `false`: excluding unverified transactions +- `true` or `1`: include unverified transactions. +- `false` or `0`: excluding unverified transactions ## Examples From dc592a3247a2b6904e20aca2f9a6157b5c4b742b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Mon, 12 Aug 2024 14:52:21 +0800 Subject: [PATCH 4/4] update --- docs/n3/develop/deploy/invoke.md | 6 +++--- docs/n3/exchange/client.md | 2 +- docs/n3/exchange/gas.md | 2 +- docs/n3/node/cli/config.md | 6 +++--- docs/n3/reference/rpc/{latest-version => }/api.md | 0 .../rpc/{latest-version/api => }/calculatenetworkfee.md | 0 .../reference/rpc/{latest-version/api => }/closewallet.md | 0 .../reference/rpc/{latest-version/api => }/dumpprivkey.md | 0 .../n3/reference/rpc/{latest-version/api => }/findstates.md | 0 .../reference/rpc/{latest-version/api => }/findstorage.md | 0 .../rpc/{latest-version/api => }/getapplicationlog.md | 0 .../rpc/{latest-version/api => }/getbestblockhash.md | 0 docs/n3/reference/rpc/{latest-version/api => }/getblock.md | 0 .../reference/rpc/{latest-version/api => }/getblockcount.md | 0 .../reference/rpc/{latest-version/api => }/getblockhash.md | 0 .../rpc/{latest-version/api => }/getblockheader.md | 0 .../reference/rpc/{latest-version/api => }/getcommittee.md | 0 .../rpc/{latest-version/api => }/getconnectioncount.md | 0 .../rpc/{latest-version/api => }/getcontractstate.md | 0 .../rpc/{latest-version/api => }/getnativecontracts.md | 0 .../rpc/{latest-version/api => }/getnep11balances.md | 0 .../rpc/{latest-version/api => }/getnep11properties.md | 0 .../rpc/{latest-version/api => }/getnep11transfers.md | 0 .../rpc/{latest-version/api => }/getnep17balances.md | 0 .../rpc/{latest-version/api => }/getnep17transfers.md | 0 .../reference/rpc/{latest-version/api => }/getnewaddress.md | 0 .../rpc/{latest-version/api => }/getnextblockvalidators.md | 0 docs/n3/reference/rpc/{latest-version/api => }/getpeers.md | 0 docs/n3/reference/rpc/{latest-version/api => }/getproof.md | 0 .../reference/rpc/{latest-version/api => }/getrawmempool.md | 0 .../rpc/{latest-version/api => }/getrawtransaction.md | 0 docs/n3/reference/rpc/{latest-version/api => }/getstate.md | 0 .../rpc/{latest-version/api => }/getstateheight.md | 0 .../reference/rpc/{latest-version/api => }/getstateroot.md | 0 .../n3/reference/rpc/{latest-version/api => }/getstorage.md | 0 .../rpc/{latest-version/api => }/gettransactionheight.md | 0 .../rpc/{latest-version/api => }/getunclaimedgas.md | 0 .../n3/reference/rpc/{latest-version/api => }/getversion.md | 0 .../rpc/{latest-version/api => }/getwalletbalance.md | 0 .../rpc/{latest-version/api => }/getwalletunclaimedgas.md | 0 .../reference/rpc/{latest-version/api => }/importprivkey.md | 0 .../rpc/{latest-version/api => }/invokecontractverify.md | 0 .../rpc/{latest-version/api => }/invokefunction.md | 0 .../reference/rpc/{latest-version/api => }/invokescript.md | 0 .../reference/rpc/{latest-version/api => }/listaddress.md | 0 .../reference/rpc/{latest-version/api => }/listplugins.md | 0 .../n3/reference/rpc/{latest-version/api => }/openwallet.md | 0 docs/n3/reference/rpc/{latest-version/api => }/sendfrom.md | 0 docs/n3/reference/rpc/{latest-version/api => }/sendmany.md | 0 .../rpc/{latest-version/api => }/sendrawtransaction.md | 0 .../reference/rpc/{latest-version/api => }/sendtoaddress.md | 0 .../reference/rpc/{latest-version/api => }/submitblock.md | 0 .../rpc/{latest-version/api => }/traverseiterator.md | 0 .../rpc/{latest-version/api => }/validateaddress.md | 0 .../reference/rpc/{latest-version/api => }/verifyproof.md | 0 .../native/ContractManagement/GetContractHashes.md | 2 +- 56 files changed, 9 insertions(+), 9 deletions(-) rename docs/n3/reference/rpc/{latest-version => }/api.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/calculatenetworkfee.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/closewallet.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/dumpprivkey.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/findstates.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/findstorage.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getapplicationlog.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getbestblockhash.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getblock.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getblockcount.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getblockhash.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getblockheader.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getcommittee.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getconnectioncount.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getcontractstate.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getnativecontracts.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getnep11balances.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getnep11properties.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getnep11transfers.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getnep17balances.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getnep17transfers.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getnewaddress.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getnextblockvalidators.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getpeers.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getproof.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getrawmempool.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getrawtransaction.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getstate.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getstateheight.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getstateroot.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getstorage.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/gettransactionheight.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getunclaimedgas.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getversion.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getwalletbalance.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/getwalletunclaimedgas.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/importprivkey.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/invokecontractverify.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/invokefunction.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/invokescript.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/listaddress.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/listplugins.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/openwallet.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/sendfrom.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/sendmany.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/sendrawtransaction.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/sendtoaddress.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/submitblock.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/traverseiterator.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/validateaddress.md (100%) rename docs/n3/reference/rpc/{latest-version/api => }/verifyproof.md (100%) diff --git a/docs/n3/develop/deploy/invoke.md b/docs/n3/develop/deploy/invoke.md index 2094a55..7c6bd95 100644 --- a/docs/n3/develop/deploy/invoke.md +++ b/docs/n3/develop/deploy/invoke.md @@ -8,7 +8,7 @@ You can query a contract details using Neo-CLI or Neo-GUI, such as the contract ### Querying using Neo-CLI -Use the RPC API [getcontractstate method](../../reference/rpc/latest-version/api/getcontractstate.md) to query the contract information. +Use the RPC API [getcontractstate method](../../reference/rpc/getcontractstate.md) to query the contract information. ### Querying using Neo-GUI @@ -31,7 +31,7 @@ You can choose one of the following ways to invoke the contract using Neo-CLI: For more information refer to [invoke](../../node/cli/cli.md#invoke). -- Use the RPC API [invokefunction](../../reference/rpc/latest-version/api/invokefunction.md) or [invokescript](../../reference/rpc/latest-version/api/invokescript.md). The former is recommended. +- Use the RPC API [invokefunction](../../reference/rpc/invokefunction.md) or [invokescript](../../reference/rpc/invokescript.md). The former is recommended. ### Invoking a contract using Neo-GUI @@ -108,7 +108,7 @@ The key statement is `Contract.Call(scriptHash, method, flags, params)`, where: ### Invocation permission -Three fields related to the contract invocation permission are defined in the contract manifest file, as shown in the following table. The wallet decides whether to give a security warning to the user based on the setting in the Groups and Trusts fields. Permissions and signature scopes determine whether contracts can be called by each other. For more information about signature scopes, refer to parameters description in [invokefunction method](../../reference/rpc/latest-version/api/invokefunction.md). +Three fields related to the contract invocation permission are defined in the contract manifest file, as shown in the following table. The wallet decides whether to give a security warning to the user based on the setting in the Groups and Trusts fields. Permissions and signature scopes determine whether contracts can be called by each other. For more information about signature scopes, refer to parameters description in [invokefunction method](../../reference/rpc/invokefunction.md). | Fields | Type | Description | | ------------- | ----------------------------- | ------------------------------------------------------------ | diff --git a/docs/n3/exchange/client.md b/docs/n3/exchange/client.md index 3b1ee43..2a5679d 100644 --- a/docs/n3/exchange/client.md +++ b/docs/n3/exchange/client.md @@ -84,7 +84,7 @@ There are two methods to generate deposit addresses: - When the user deposit (NEO/GAS) for the first time, the program dynamically generates a NEO address. The advantage is that there is no need to generate addresses at fixed time intervals, while the disadvantage is that it's not convenient for backup. - To develop the program to dynamically generate addresses, use the RpcServer API [getnewaddress Method](../reference/rpc/latest-version/api/getnewaddress). The created address is returned. + To develop the program to dynamically generate addresses, use the RpcServer API [getnewaddress Method](../reference/rpc/getnewaddress). The created address is returned. - The exchange creates a batch of NEO addresses in advance. When the user charges (NEO/GAS) for the first time, the exchange assigns a NEO address to him or her. The advantage is the convenience to backup the wallet, while the disadvantage is the need to generate NEO addresses manually. To generate addresses in batch, run the NEO- CLI command `create address [n]`. The addresses are exported automatically to the address.txt file. diff --git a/docs/n3/exchange/gas.md b/docs/n3/exchange/gas.md index 6392f84..2c6b0ca 100644 --- a/docs/n3/exchange/gas.md +++ b/docs/n3/exchange/gas.md @@ -45,7 +45,7 @@ The following RPC method can be used to help exchanges query users' GAS informat | Method | Description | | ------------------------------------------------------------ | ------------------------------------------------------- | -| [getunclaimedgas](../reference/rpc/latest-version/api/getunclaimedgas.md) | Returns the unclaimed GAS amount in the current wallet. | +| [getunclaimedgas](../reference/rpc/getunclaimedgas.md) | Returns the unclaimed GAS amount in the current wallet. | ## Claiming GAS diff --git a/docs/n3/node/cli/config.md b/docs/n3/node/cli/config.md index f257d2a..6203ae7 100644 --- a/docs/n3/node/cli/config.md +++ b/docs/n3/node/cli/config.md @@ -106,7 +106,7 @@ The following table lists all the plugins: |Plugin|Description|API Included|| |--- |--- |--- |--- | -|ApplicationLogs|Synchronizes the smart contract log with the NativeContract log (Notify)|[getapplicationlog](../../reference/rpc/latest-version/api/getapplicationlog)|Recommended| +|ApplicationLogs|Synchronizes the smart contract log with the NativeContract log (Notify)|[getapplicationlog](../../reference/rpc/getapplicationlog)|Recommended| |DBFTPlugin|dBFT consensus plugin||Mandatory when served as a consensus node| |LevelDBStore|Uses LevelDB to store the blockchain data||Mandatory| |MPTTrie|Uses LevelDB to store the MPT data||Mandatory when served as a StateRoot consensus node| @@ -115,8 +115,8 @@ The following table lists all the plugins: |RpcServer|Enables RPC for the node|[RPC API](../../reference/rpc/latest-version/api)|Mandatory| |SQLiteWallet|A SQLite-based wallet provider that supports wallet files with .db3 suffix||Optional| |StatesDumper|Exports Neo-CLI status data.||Optional| -|StateService|StateRoot consensus service plugin|[getstateroot](../../reference/rpc/latest-version/api/getstateroot) [getproof](../../reference/rpc/latest-version/api/getproof) [verifyproof](../../reference/rpc/latest-version/api/verifyproof.md) [getstateheight](../../reference/rpc/latest-version/api/getstateheight.md) |Mandatory when served as a StateRoot consensus node| -|TokensTracker|Enquiries NEP-11 and NEP-17 assets balance and transactions history of accounts through RPC|[getnep11balances](../../reference/rpc/latest-version/api/getnep11balances) [getnep11properties](../../reference/rpc/latest-version/api/getnep11properties) [getnep11transfers](../../reference/rpc/latest-version/api/getnep11transfers) [getnep17balances](../../reference/rpc/latest-version/api/getnep17balances) [getnep17transfers](../../reference/rpc/latest-version/api/getnep17transfers) |Recommended| +|StateService|StateRoot consensus service plugin|[getstateroot](../../reference/rpc/getstateroot) [getproof](../../reference/rpc/getproof) [verifyproof](../../reference/rpc/verifyproof.md) [getstateheight](../../reference/rpc/getstateheight.md) |Mandatory when served as a StateRoot consensus node| +|TokensTracker|Enquiries NEP-11 and NEP-17 assets balance and transactions history of accounts through RPC|[getnep11balances](../../reference/rpc/getnep11balances) [getnep11properties](../../reference/rpc/getnep11properties) [getnep11transfers](../../reference/rpc/getnep11transfers) [getnep17balances](../../reference/rpc/getnep17balances) [getnep17transfers](../../reference/rpc/getnep17transfers) |Recommended| You can choose one of the following ways to install plugins: diff --git a/docs/n3/reference/rpc/latest-version/api.md b/docs/n3/reference/rpc/api.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api.md rename to docs/n3/reference/rpc/api.md diff --git a/docs/n3/reference/rpc/latest-version/api/calculatenetworkfee.md b/docs/n3/reference/rpc/calculatenetworkfee.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/calculatenetworkfee.md rename to docs/n3/reference/rpc/calculatenetworkfee.md diff --git a/docs/n3/reference/rpc/latest-version/api/closewallet.md b/docs/n3/reference/rpc/closewallet.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/closewallet.md rename to docs/n3/reference/rpc/closewallet.md diff --git a/docs/n3/reference/rpc/latest-version/api/dumpprivkey.md b/docs/n3/reference/rpc/dumpprivkey.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/dumpprivkey.md rename to docs/n3/reference/rpc/dumpprivkey.md diff --git a/docs/n3/reference/rpc/latest-version/api/findstates.md b/docs/n3/reference/rpc/findstates.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/findstates.md rename to docs/n3/reference/rpc/findstates.md diff --git a/docs/n3/reference/rpc/latest-version/api/findstorage.md b/docs/n3/reference/rpc/findstorage.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/findstorage.md rename to docs/n3/reference/rpc/findstorage.md diff --git a/docs/n3/reference/rpc/latest-version/api/getapplicationlog.md b/docs/n3/reference/rpc/getapplicationlog.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getapplicationlog.md rename to docs/n3/reference/rpc/getapplicationlog.md diff --git a/docs/n3/reference/rpc/latest-version/api/getbestblockhash.md b/docs/n3/reference/rpc/getbestblockhash.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getbestblockhash.md rename to docs/n3/reference/rpc/getbestblockhash.md diff --git a/docs/n3/reference/rpc/latest-version/api/getblock.md b/docs/n3/reference/rpc/getblock.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getblock.md rename to docs/n3/reference/rpc/getblock.md diff --git a/docs/n3/reference/rpc/latest-version/api/getblockcount.md b/docs/n3/reference/rpc/getblockcount.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getblockcount.md rename to docs/n3/reference/rpc/getblockcount.md diff --git a/docs/n3/reference/rpc/latest-version/api/getblockhash.md b/docs/n3/reference/rpc/getblockhash.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getblockhash.md rename to docs/n3/reference/rpc/getblockhash.md diff --git a/docs/n3/reference/rpc/latest-version/api/getblockheader.md b/docs/n3/reference/rpc/getblockheader.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getblockheader.md rename to docs/n3/reference/rpc/getblockheader.md diff --git a/docs/n3/reference/rpc/latest-version/api/getcommittee.md b/docs/n3/reference/rpc/getcommittee.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getcommittee.md rename to docs/n3/reference/rpc/getcommittee.md diff --git a/docs/n3/reference/rpc/latest-version/api/getconnectioncount.md b/docs/n3/reference/rpc/getconnectioncount.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getconnectioncount.md rename to docs/n3/reference/rpc/getconnectioncount.md diff --git a/docs/n3/reference/rpc/latest-version/api/getcontractstate.md b/docs/n3/reference/rpc/getcontractstate.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getcontractstate.md rename to docs/n3/reference/rpc/getcontractstate.md diff --git a/docs/n3/reference/rpc/latest-version/api/getnativecontracts.md b/docs/n3/reference/rpc/getnativecontracts.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getnativecontracts.md rename to docs/n3/reference/rpc/getnativecontracts.md diff --git a/docs/n3/reference/rpc/latest-version/api/getnep11balances.md b/docs/n3/reference/rpc/getnep11balances.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getnep11balances.md rename to docs/n3/reference/rpc/getnep11balances.md diff --git a/docs/n3/reference/rpc/latest-version/api/getnep11properties.md b/docs/n3/reference/rpc/getnep11properties.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getnep11properties.md rename to docs/n3/reference/rpc/getnep11properties.md diff --git a/docs/n3/reference/rpc/latest-version/api/getnep11transfers.md b/docs/n3/reference/rpc/getnep11transfers.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getnep11transfers.md rename to docs/n3/reference/rpc/getnep11transfers.md diff --git a/docs/n3/reference/rpc/latest-version/api/getnep17balances.md b/docs/n3/reference/rpc/getnep17balances.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getnep17balances.md rename to docs/n3/reference/rpc/getnep17balances.md diff --git a/docs/n3/reference/rpc/latest-version/api/getnep17transfers.md b/docs/n3/reference/rpc/getnep17transfers.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getnep17transfers.md rename to docs/n3/reference/rpc/getnep17transfers.md diff --git a/docs/n3/reference/rpc/latest-version/api/getnewaddress.md b/docs/n3/reference/rpc/getnewaddress.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getnewaddress.md rename to docs/n3/reference/rpc/getnewaddress.md diff --git a/docs/n3/reference/rpc/latest-version/api/getnextblockvalidators.md b/docs/n3/reference/rpc/getnextblockvalidators.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getnextblockvalidators.md rename to docs/n3/reference/rpc/getnextblockvalidators.md diff --git a/docs/n3/reference/rpc/latest-version/api/getpeers.md b/docs/n3/reference/rpc/getpeers.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getpeers.md rename to docs/n3/reference/rpc/getpeers.md diff --git a/docs/n3/reference/rpc/latest-version/api/getproof.md b/docs/n3/reference/rpc/getproof.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getproof.md rename to docs/n3/reference/rpc/getproof.md diff --git a/docs/n3/reference/rpc/latest-version/api/getrawmempool.md b/docs/n3/reference/rpc/getrawmempool.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getrawmempool.md rename to docs/n3/reference/rpc/getrawmempool.md diff --git a/docs/n3/reference/rpc/latest-version/api/getrawtransaction.md b/docs/n3/reference/rpc/getrawtransaction.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getrawtransaction.md rename to docs/n3/reference/rpc/getrawtransaction.md diff --git a/docs/n3/reference/rpc/latest-version/api/getstate.md b/docs/n3/reference/rpc/getstate.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getstate.md rename to docs/n3/reference/rpc/getstate.md diff --git a/docs/n3/reference/rpc/latest-version/api/getstateheight.md b/docs/n3/reference/rpc/getstateheight.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getstateheight.md rename to docs/n3/reference/rpc/getstateheight.md diff --git a/docs/n3/reference/rpc/latest-version/api/getstateroot.md b/docs/n3/reference/rpc/getstateroot.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getstateroot.md rename to docs/n3/reference/rpc/getstateroot.md diff --git a/docs/n3/reference/rpc/latest-version/api/getstorage.md b/docs/n3/reference/rpc/getstorage.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getstorage.md rename to docs/n3/reference/rpc/getstorage.md diff --git a/docs/n3/reference/rpc/latest-version/api/gettransactionheight.md b/docs/n3/reference/rpc/gettransactionheight.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/gettransactionheight.md rename to docs/n3/reference/rpc/gettransactionheight.md diff --git a/docs/n3/reference/rpc/latest-version/api/getunclaimedgas.md b/docs/n3/reference/rpc/getunclaimedgas.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getunclaimedgas.md rename to docs/n3/reference/rpc/getunclaimedgas.md diff --git a/docs/n3/reference/rpc/latest-version/api/getversion.md b/docs/n3/reference/rpc/getversion.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getversion.md rename to docs/n3/reference/rpc/getversion.md diff --git a/docs/n3/reference/rpc/latest-version/api/getwalletbalance.md b/docs/n3/reference/rpc/getwalletbalance.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getwalletbalance.md rename to docs/n3/reference/rpc/getwalletbalance.md diff --git a/docs/n3/reference/rpc/latest-version/api/getwalletunclaimedgas.md b/docs/n3/reference/rpc/getwalletunclaimedgas.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/getwalletunclaimedgas.md rename to docs/n3/reference/rpc/getwalletunclaimedgas.md diff --git a/docs/n3/reference/rpc/latest-version/api/importprivkey.md b/docs/n3/reference/rpc/importprivkey.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/importprivkey.md rename to docs/n3/reference/rpc/importprivkey.md diff --git a/docs/n3/reference/rpc/latest-version/api/invokecontractverify.md b/docs/n3/reference/rpc/invokecontractverify.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/invokecontractverify.md rename to docs/n3/reference/rpc/invokecontractverify.md diff --git a/docs/n3/reference/rpc/latest-version/api/invokefunction.md b/docs/n3/reference/rpc/invokefunction.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/invokefunction.md rename to docs/n3/reference/rpc/invokefunction.md diff --git a/docs/n3/reference/rpc/latest-version/api/invokescript.md b/docs/n3/reference/rpc/invokescript.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/invokescript.md rename to docs/n3/reference/rpc/invokescript.md diff --git a/docs/n3/reference/rpc/latest-version/api/listaddress.md b/docs/n3/reference/rpc/listaddress.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/listaddress.md rename to docs/n3/reference/rpc/listaddress.md diff --git a/docs/n3/reference/rpc/latest-version/api/listplugins.md b/docs/n3/reference/rpc/listplugins.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/listplugins.md rename to docs/n3/reference/rpc/listplugins.md diff --git a/docs/n3/reference/rpc/latest-version/api/openwallet.md b/docs/n3/reference/rpc/openwallet.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/openwallet.md rename to docs/n3/reference/rpc/openwallet.md diff --git a/docs/n3/reference/rpc/latest-version/api/sendfrom.md b/docs/n3/reference/rpc/sendfrom.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/sendfrom.md rename to docs/n3/reference/rpc/sendfrom.md diff --git a/docs/n3/reference/rpc/latest-version/api/sendmany.md b/docs/n3/reference/rpc/sendmany.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/sendmany.md rename to docs/n3/reference/rpc/sendmany.md diff --git a/docs/n3/reference/rpc/latest-version/api/sendrawtransaction.md b/docs/n3/reference/rpc/sendrawtransaction.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/sendrawtransaction.md rename to docs/n3/reference/rpc/sendrawtransaction.md diff --git a/docs/n3/reference/rpc/latest-version/api/sendtoaddress.md b/docs/n3/reference/rpc/sendtoaddress.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/sendtoaddress.md rename to docs/n3/reference/rpc/sendtoaddress.md diff --git a/docs/n3/reference/rpc/latest-version/api/submitblock.md b/docs/n3/reference/rpc/submitblock.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/submitblock.md rename to docs/n3/reference/rpc/submitblock.md diff --git a/docs/n3/reference/rpc/latest-version/api/traverseiterator.md b/docs/n3/reference/rpc/traverseiterator.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/traverseiterator.md rename to docs/n3/reference/rpc/traverseiterator.md diff --git a/docs/n3/reference/rpc/latest-version/api/validateaddress.md b/docs/n3/reference/rpc/validateaddress.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/validateaddress.md rename to docs/n3/reference/rpc/validateaddress.md diff --git a/docs/n3/reference/rpc/latest-version/api/verifyproof.md b/docs/n3/reference/rpc/verifyproof.md similarity index 100% rename from docs/n3/reference/rpc/latest-version/api/verifyproof.md rename to docs/n3/reference/rpc/verifyproof.md diff --git a/docs/n3/reference/scapi/framework/native/ContractManagement/GetContractHashes.md b/docs/n3/reference/scapi/framework/native/ContractManagement/GetContractHashes.md index d53c628..fe5d9b8 100644 --- a/docs/n3/reference/scapi/framework/native/ContractManagement/GetContractHashes.md +++ b/docs/n3/reference/scapi/framework/native/ContractManagement/GetContractHashes.md @@ -67,7 +67,7 @@ Response body: } ``` -Invoke again from RPC to get the specific value of the iterator. For more information, refer to the command [traverseiterator](../../../../rpc/latest-version/api/traverseiterator.md). +Invoke again from RPC to get the specific value of the iterator. For more information, refer to the command [traverseiterator](../../../../rpc/traverseiterator.md). ```json {