# SEER浜ゆ槗鎵�鍙婄涓夋柟骞冲彴鍏呮彁缃戝叧鎺ュ叆鎸囧崡
鏈寚鍗椾富瑕佺洰鐨勬槸甯姪浜ゆ槗鎵�鍜屽叾瀹冪涓夋柟骞冲彴锛堝寘鎷絾涓嶉檺浜庨潪SEER DAPPs搴旂敤銆佷腑蹇冨寲搴旂敤绛夛級鎼缓鍏呮彁缃戝叧鎺ュ叆SEER涓荤綉锛屼笂绾縎EER涓昏祫浜у強鍩轰簬SEER鍖哄潡閾惧彂琛岀殑token锛屼緥濡侾FC銆丱PC绛夈��
浣跨敤SEER涓荤綉杩涜鍏呮彁绛夋搷浣滐紝鎵嬬画璐硅繙杩滀綆浜嶴EER鐨凟RC-20token鍜孊TS璧勪骇锛屼笖涓嶅彈浠ュお鍧婃嫢鍫电瓑浜嬩欢鐨勫奖鍝嶃��
## 鍩烘湰鍘熺悊
澶ч儴鍒嗕氦鏄撴墍鍙婄涓夋柟骞冲彴浣跨敤鐨勭綉鍏筹紙鍏呭�兼彁鐜帮級鏄竴涓腑蹇冨寲鐨勫簲鐢ㄦ湇鍔°��
浠ヤ氦鏄撴墍鍏呮彁涓轰緥锛屼氦鏄撴墍涓烘瘡浣嶇敤鎴锋彁渚涙湁涓�涓钩鍙癷d锛屼换浣曠敤鎴峰悜浜ゆ槗鎵�鐨凷EER涓荤綉璐︽埛杞处锛屽苟鍦∕EMO涓~鍐欒id锛屽綋浜ゆ槗鎵�鐨凷EER涓荤綉璐︽埛鏀跺埌涓�绗旇浆璐︽椂锛屽彲浠ユ牴鎹甅EMO涓~鍐欑殑淇℃伅纭畾鏄潵鑷摢浣嶇敤鎴风殑鍏呭�硷紝浠庤�屽湪浜ゆ槗鎵�骞冲彴鍐呬负鐢ㄦ埛涓婅处銆�
涓句緥锛�
1銆佸皬鏄庝粠鑷繁鐨凷EER涓荤綉璐︽埛`xiaoming`鍏呭�糮1000SEER`鍒颁氦鏄撴墍璐︽埛`seerdex`锛孧EMO涓~鍐檂10010`锛屼氦鏄撴墍妫�娴嬪埌涓荤綉璐︽埛`seerdex`鏀跺埌涓�绗擿1000SEER`鐨勮浆璐︼紝MEMO涓篳10010`锛屽垯鍦ㄥ皬鏄庣殑浜ゆ槗鎵�璐︽埛`10010`涓笂璐1000SEER`锛�
2銆佸皬鏄庤鏈嬪弸灏忚姳甯嚜宸卞厖鍊硷紝灏忚姳浠庤嚜宸辩殑SEER涓荤綉璐︽埛`xiaohua`鍏呭�糮1000SEER`鍒颁氦鏄撴墍璐︽埛`seerdex`锛孧EMO涓~鍐檂10010`锛屼氦鏄撴墍妫�娴嬪埌涓荤綉璐︽埛`seerdex`鏀跺埌涓�绗擿1000SEER`鐨勮浆璐︼紝MEMO涓篳10010`锛屽垯鍦ㄥ皬鏄庣殑浜ゆ槗鎵�璐︽埛`10010`涓笂璐1000SEER`锛�
3銆佸皬鏄庡皢鑷繁鐜╁ぇ瀵岀縼娓告垙涓耽寰楃殑SEER鍏呭�间氦鏄撴墍锛屽皬鏄庡湪澶у瘜缈佹父鎴忕殑鎻愮幇椤甸潰涓~鍐欐彁鐜癭1000SEER`鍒颁氦鏄撴墍璐︽埛`seerdex`锛屽苟濉啓MEMO`10010`锛屽ぇ瀵岀縼娓告垙鍦ㄥ钩鍙板唴鎵i櫎灏忔槑璐︽埛浣欓`1000SEER`锛屽悓鏃堕�氳繃澶у瘜缈佺殑SEER涓荤綉璐︽埛`dafuweng`鍚戜氦鏄撴墍璐︽埛`seerdex`杞处`1000SEER`锛孧EMO涓篳10010`锛屼氦鏄撴墍妫�娴嬪埌涓荤綉璐︽埛`seerdex`鏀跺埌涓�绗擿1000SEER`鐨勮浆璐︼紝MEMO涓篳10010`锛屽垯鍦ㄥ皬鏄庣殑浜ゆ槗鎵�璐︽埛`10010`涓笂璐1000SEER`銆�
`渚嬪瓙3`涓紝鎴戜滑涓句緥浜嗙敤鎴蜂粠绗笁鏂瑰钩鍙版彁鐜板埌浜ゆ槗鎵�鐨勬祦绋嬶紝浠庝氦鏄撴墍鎻愮幇鍒板彟涓�瀹朵氦鏄撴墍涔熸槸濡傛锛岃繖灏遍渶瑕佷氦鏄撴墍鍙婄涓夋柟骞冲彴鍦ㄨ璁℃彁鐜板姛鑳芥椂鎻愪緵`MEMO鍔熻兘`銆備负浜嗚祫閲戝畨鍏紝鎮ㄥ彲浠ラ儴缃蹭袱涓垨澶氫釜璐﹀彿锛屽叾涓竴涓处鍙疯礋璐g敤鎴峰厖鍊硷紝鍏跺畠璐﹀彿璐熻矗鎻愮幇銆�
## 鍑嗗宸ヤ綔
### 杩愯鐜
鎺ㄨ崘鏈嶅姟鍣ㄩ厤缃负锛�2vCPUs 4G鍐呭瓨 20G浠ヤ笂纭洏锛孶buntu 16.04.4 x64 绯荤粺銆�
### 鑾峰緱璐﹀彿鍙婄閽�
#### 娉ㄥ唽璐﹀彿
鎮ㄥ彲浠ラ�氳繃SEER缃戦〉閽卞寘 https://wallet.seer.best 娉ㄥ唽璐﹀彿锛屽叾涓处鍙蜂腑甯︽湁妯潬鎴栨暟瀛楃殑璐﹀彿涓烘櫘閫氳处鍙峰悕锛屽彲浠ョ洿鎺�鍏嶈垂娉ㄥ唽锛堢偣鍑讳簡瑙f柟娉曪級 锛屼緥濡俙seer-exchange`鎴朻seerdex01` 锛岃�岀敱绾嫳鏂囧瓧姣嶆瀯鎴愮殑璐﹀彿鍚嶄负楂樼骇鐢ㄦ埛鍚嶏紝渚嬪`seerdex`锛屽垯闇�閫氳繃涓�涓粓韬細鍛樿处鎴风即绾虫敞鍐屾墜缁垂鏉ユ敞鍐屻��
#### 鑾峰緱绉侀挜
鍦ㄥ厖鎻愮綉鍏崇瓑鍔熻兘涓紝鎴戜滑闇�瑕佽处鎴风殑鑷冲皯涓ゅ瀵嗛挜锛屽嵆褰撳墠璧勯噾瀵嗛挜锛圓ctive key锛夊拰褰撳墠澶囨敞瀵嗛挜锛坢emo key锛夛紝璧勯噾瀵嗛挜璁╂偍鎷ユ湁璧勯噾鐨勮浆璐﹀強鍏朵粬閾句笂鎿嶄綔鏉冮檺锛屽娉ㄥ瘑閽ヨ鎮ㄨ兘鐢熸垚鍜岃鍙栧拰璇ヨ处鍙风浉鍏崇殑MEMO淇℃伅銆�鐐瑰嚮杩欓噷浜嗚В鑾峰彇绉侀挜鐨勬柟娉� 銆�
## 閰嶇疆涓�涓猄EER鍏ㄨ妭鐐�
1銆佸湪鏈嶅姟鍣ㄦ柊寤轰竴涓悕鍙玸eer鐨勭獥鍙o紱
```linux
screen -S seer
```
2銆佸湪root鐩綍涓嬫柊寤轰竴涓悕鍙玸eer鐨勭洰褰曪紝涓嬭浇`v0.0.5鐗堟湰`鐨勭▼搴忓寘鍒版鐩綍锛屽苟鏇村悕涓篳seer.tar.gz`銆傦紙璇峰埌SEER杞欢鍙戝竷椤礹ttps://github.com/seer-project/seer-core-package/releases 澶嶅埗鏈�鏂扮殑ubuntu鐗堟湰绋嬪簭鍖呴摼鎺ユ浛鎹㈡帀姝や笅杞介摼鎺ャ�傦級
```linux
mkdir seer
curl -Lo seer/seer.tar.gz https://github.com/seer-project/seer-core-package/releases/download/v0.05/seer-ubuntu-0.0.5.tar.gz
```
3銆佽繘鍏eer鐩綍锛岃В鍘嬫杞欢鍖呫��
```linux
cd seer
tar xzvf seer.tar.gz
```
4銆佸甫websocket鍙傛暟鍚姩witness_node锛�
```linux
witness_node --rpc-endpoint=127.0.0.1:9090 partial-operations=true --track-account="\"seerdex-withdraw\"" --track-account="\"seerdex-deposit\"" max-ops-per-account=1000
```
鍏朵腑鐨刞--rpc-endpoint`鍙傛暟涓鸿妭鐐圭洃鍚殑websocket RPC IP鍦板潃鍜岀鍙e彿锛岄渶瑕佹偍鏇挎崲锛屾澶刞127.0.0.1`涓烘湰鏈猴紝`9090`鏄负鑺傜偣鎸囧畾鐨刉S绔彛銆�
瀵逛簬澶勭悊鍏呮彁涓氬姟鐨勮妭鐐癸紝鎴戜滑骞朵笉闇�瑕佷繚瀛樺叏閮ㄦ暟鎹紝浠呴渶瑕佷繚瀛樺拰浜ゆ槗鎵�璐︽埛鐩稿叧鐨勮处鎴锋暟鎹互鑺傜渷鍐呭瓨寮�鏀紝鍥犳鎴戜滑闇�瑕佽缃甡partial-operations`鍙傛暟鍜宍--track-account`鍙傛暟锛屾澶刞partial-operations=true `琛ㄧず鍙渶瑕侀儴鍒嗙殑鏁版嵁锛宍"\"seerdex-withdraw\""`鍜宍"\"seerdex-deposit\"" `琛ㄧず瑕佽拷韪殑涓�涓垨澶氫釜璐︽埛id锛岄渶瑕佹偍鏇挎崲銆�
`--max-ops-per-account`鍙傛暟璁惧畾鍐呭瓨涓繚鐣欒处鎴风殑澶氬皯鏉℃搷浣滆褰曪紝姝ゅ`1000`琛ㄧず淇濈暀杩借釜璐︽埛鐨刞1000`鏉℃搷浣滆褰曪紝闇�瑕佹偍鎸夐渶姹傚~鍐欍��
5銆佽瀵熻妭鐐硅繍琛屾甯稿悗锛宑trl+A d闅愯棌screen锛屾柇寮�鏈嶅姟鍣ㄣ�備箣鍚庤鍐嶆墦寮�杩愯鏈夎妭鐐圭殑Sreeen锛屽垯浣跨敤 `screen -R` 锛屾垨 `screen -r seer`銆�
鑺傜偣姝e父鍚姩鍚庯紝浼氭樉绀哄儚涓嬮潰涓�鏍风殑3绉掍竴涓殑鍑哄潡淇℃伅銆�
![鑺傜偣姝e父鍚姩鐨勭姸鎬乚(https://github.com/akirasen/seerdocs/raw/master/zh-Hans/img/640.gif)
濡傛灉瑕佸叧闂妭鐐癸紝鍒欎娇鐢╜control` + `C` 銆�
## 閰嶇疆涓�涓猄EER鍛戒护琛岄挶鍖�
1銆佸湪鏈嶅姟鍣ㄦ柊寤轰竴涓悕鍙玞li鐨勭獥鍙o紝杩愯seer鐩綍涓殑鍛戒护琛岄挶鍖呯▼搴忥紱
```linux
screen -S cli
cd~
seer/cli_wallet -s ws://127.0.0.1:9090 -r 127.0.0.1:9191 -H 127.0.0.1:9192
```
`-s`鍙傛暟鍙互璁剧疆瑕佽繛鎺ョ殑鑺傜偣api鍦板潃鍙婄鍙o紝姝ゅ`ws://127.0.0.1:9090`涓轰笂涓�姝ヤ腑杩愯鐨勬湰鍦拌妭鐐圭殑websocket RPC鍦板潃鍜岀鍙o紝鎮ㄤ篃鍙互鍦ㄦ澶勪娇鐢ㄥ眬鍩熺綉鎴栧叕缃戜腑鐨勫叾浠栧叕鍏盿pi鍦板潃锛屼笉杩囨湁鍥犲閮╝pi鏃犳硶鎻愪緵鏈嶅姟鑰屽鑷村懡浠よ閽卞寘寮傚父閫�鍑虹殑椋庨櫓锛�
`-r`鍙傛暟鍙互璁剧疆鍛戒护琛岄挶鍖呰鐩戝惉鐨剋ebsocket RPC鍦板潃鍜岀鍙o紝姝ゅ璁句负`127.0.0.1:9191`锛岃礋璐e厖鎻愪笟鍔$殑绋嬪簭鍙互浣跨敤姝ょ鍙h皟鐢ㄥ懡浠よ閽卞寘杩涜鎿嶄綔锛�
`-H`鍙傛暟鍙互璁剧疆鍛戒护琛岄挶鍖呰鐩戝惉鐨凥ttp-RPC鍦板潃鍜岀鍙o紝姝ゅ璁句负`127.0.0.1:9192`锛岃礋璐e厖鎻愪笟鍔$殑绋嬪簭涔熷彲浠ヤ娇鐢ㄦ绔彛璋冪敤鍛戒护琛岄挶鍖呰繘琛屾搷浣溿��
2銆侀挶鍖呭惎鍔ㄦ垚鍔熷悗锛屼細鏄剧ず锛�
```cmd
Please use the set_password method to initialize a new wallet before continuing
3564395ms th_a聽 聽 聽 main.cpp:227聽 聽 聽 聽 聽 聽 聽 聽 聽 main聽 聽 聽 聽 聽 聽 聽 聽 ] Listening for incoming RPC requests on 127.0.0.1:9191
3564396ms th_a聽 聽 聽 main.cpp:252聽 聽 聽 聽 聽 聽 聽 聽 聽 main聽 聽 聽 聽 聽 聽 聽 聽 ] Listening for incoming HTTP RPC requests on 127.0.0.1:9192
new >>>
```
鍏堣缃挶鍖呰В閿佸瘑鐮侊紝123鏇挎崲涓轰綘鎯宠缃殑瀵嗙爜
```cmd
set_password 123
```
瑙i攣閽卞寘
```cmd
unlock 123
```
瀵煎叆璐﹀彿璧勯噾绉侀挜鍜屽娉ㄧ閽�
```cmd
import_key seerdex-withdraw 5JkbV8aTaYRVaarTUJQ9Y56cr4QajxNFfCoQj6Q9JFL8XvUZ5CQ
import_key seerdex-withdraw 5KiSC6rRAEkTj72fg3G3zF8RHmCEgZw7aSXBjKqDfvY2XN1qvyd
```
鏄剧ず濡備笅锛�
```cmd
new >>> set_password 123
set_password 123
null
locked >>> unlock 123
unlock 123
null
unlocked >>> import_key seerdex-withdraw聽 5JkbV8aTaYRVaarTUJQ9Y56cr4QajxNFfCoQj6Q9JFL8XvUZ5CQ
import_key okok 5JkbV8aTaYRVaarTUJQ9Y56cr4QajxNFfCoQj6Q9JFL8XvUZ5CQ
3572083ms th_a聽 聽 聽 wallet.cpp:793聽 聽 聽 聽 聽 聽 聽 聽 save_wallet_file聽 聽 ] saving wallet to file wallet.json
3572084ms th_a聽 聽 聽 wallet.cpp:467聽 聽 聽 聽 聽 聽 聽 聽 copy_wallet_file聽 聽 ] backing up wallet wallet.json to after-import-key-1cd0784e.wallet
true
unlocked >>> import_key seerdex-withdraw聽 5KiSC6rRAEkTj72fg3G3zF8RHmCEgZw7aSXBjKqDfvY2XN1qvyd
import_key else 5KiSC6rRAEkTj72fg3G3zF8RHmCEgZw7aSXBjKqDfvY2XN1qvyd
3572941ms th_a聽 聽 聽 wallet.cpp:467聽 聽 聽 聽 聽 聽 聽 聽 copy_wallet_file聽 聽 ] backing up wallet wallet.json to before-import-key-1bece5d8.wallet
3573189ms th_a聽 聽 聽 wallet.cpp:793聽 聽 聽 聽 聽 聽 聽 聽 save_wallet_file聽 聽 ] saving wallet to file wallet.json
3573191ms th_a聽 聽 聽 wallet.cpp:467聽 聽 聽 聽 聽 聽 聽 聽 copy_wallet_file聽 聽 ] backing up wallet wallet.json to after-import-key-1bece5d8.wallet
true
unlocked >>>
```
## 鎺ュ叆鍛戒护琛岄挶鍖�
鍙互浣跨敤Http-RPC鎴杦ebsocket RPC鏂瑰紡鎺ュ叆鍛戒护琛岄挶鍖呫�備娇鐢↗SON-RPC杩滅▼璋冪敤鍗忚浼犲叆鐩稿簲鐨勬寚浠わ紝鍗冲彲璁╁懡浠よ閽卞寘杩涜鐩稿叧鎿嶄綔鎴栬繑鍥為渶瑕佺殑淇℃伅銆�
鏍煎紡濡備笅锛堝疄闄呬娇鐢ㄦ椂涓嶆崲琛屾棤娉ㄩ噴锛夛細
```json
{
聽 聽 "jsonrpc" : 2.0,//瀹氫箟JSON-RPC鐗堟湰
聽 聽 "method" : "get_block",//璋冪敤鐨勬柟娉曞悕锛屼緥濡傝浆璐� transfer 锛屽垪鍑鸿处鎴蜂綑棰� list_account_balances 绛夛紝姝ゅget_block涓鸿繑鍥炴寚浠ゅ潡鍙风殑鍖哄潡淇℃伅
聽 聽 "params" : [1], //鏂规硶浼犲叆鐨勫弬鏁帮紝鑻ユ棤鍙傛暟鍒欎负null锛屾澶�1琛ㄧず鍧楀彿
聽 聽 "id" : 1//璋冪敤鏍囪瘑绗�
}
```
### Http-RPC鎺ュ叆绀轰緥
鍙互浣跨敤curl鍛戒护鏉ユ祴璇旽ttp-RPC杩炴帴鍛戒护琛岄挶鍖呭疄鐜拌幏鍙栨寚瀹氳处鎴风殑鍚勮祫浜т綑棰�:
```linux
curl http://127.0.0.1:9192 -d '{"jsonrpc": "2.0", "method": "list_account_balances", "params": ["seerdex-withdraw"], "id": 1}'
{"id":1,"result":[{"amount":"7861151753754","asset_id":"1.3.0"},{"amount":97099800,"asset_id":"1.3.8"}]}
```
### websocket RPC鎺ュ叆绀轰緥
棣栧厛鍦ㄦ湇鍔″櫒涓婂畨瑁呬娇鐢╳scat娴嬭瘯ws锛�
```linux
apt install node-ws
```
娴嬭瘯閫氳繃websocket RPC杩炴帴鍛戒护琛岄挶鍖呭疄鐜颁竴绗旇浆璐︼細
```json
wscat -c ws://127.0.0.1:9191
> {"jsonrpc": "2.0", "method": "transfer", "params": ["seerdex-withdraw","ffffff","500000","SEER","Welcome to SEERTALK. https://forum.seerchain.org",true], "id": 1}
< {"id":1,"jsonrpc":"2.0","result":{"ref_block_num":64292,"ref_block_prefix":1517346144,"expiration":"2018-10-12T07:33:12","operations":[[0,{"fee":{"amount":2136718,"asset_id":"1.3.0"},"from":"1.2.105","to":"1.2.138","amount":{"amount":"50000000000","asset_id":"1.3.0"},"memo":{"from":"SEER8UAbnsAnXY1qr3CD6uzKaRuewsyPF9ynYJJGrdvSfDANxsGNxH","to":"SEER6QbqUZF6xzjdceVoLHS7K1KwvLyszVTZS8bbsQQQXcAm8L3aZp","nonce":"4469110159915322318","message":"482a7d070d298fe2a79d5f528f55778c62584d242274a7d697dae1ec63d7038b5a0b80dc9ba524e3f5f528bc717c60a635f89ff8af1cccbd1b4189f8ddc92e39"},"extensions":[]}]],"extensions":[],"signatures":["204e8746aac14a05fb3c66ac653429dead34bddac58911c53346feb365f0c7b5767ea870c1e5da6a104d8364e42f504fc1bdcfc442652f5c2e9bb9b26a858b0ccd"]}}聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽
```
鍒囨崲鍥炲懡浠よ閽卞寘鎵�鍦ㄧ獥鍙o紝鍙互鐪嬪埌閽卞寘鍐呮湁濡備笅淇℃伅锛�
```cmd
2230368ms th_a聽 聽 聽 websocket_api.cpp:109聽 聽 聽 聽 on_message聽 聽 聽 聽 聽 ] API call execution time limit exceeded. method: transfer params: ["seerdex-withdraw","ffffff","500000","SEER","Welcome to SEERTALK. https://forum.seerchain.org",true] time: 2310335
```
瀹炵幇浜嗚閽卞寘杩涜浜嗕竴娆¤浆璐︽搷浣溿��
## 甯哥敤鎸囦护
### get_dynamic_global_properties
浣滅敤锛氬垪鍑洪摼鐨勫綋鍓嶅叏灞�鍔ㄦ�佸弬鏁�
绀轰緥锛歚{"jsonrpc": "2.0", "method": "get_dynamic_global_properties", "params": [], "id": 1}`
杩斿洖淇℃伅绀轰緥锛�
```json
{
"id": 1,
"result": {
"id": "2.1.0",
"head_block_number": 3678309,//褰撳墠鍖哄潡楂樺害
"head_block_id": "00382065d1057b13415518f913ce26e46fe45cac",//褰撳墠鍧楀彿
"time": "2018-10-12T16:37:30",//閾句笂鏃堕棿锛堟牸鏋楀凹娌绘椂闂达級
"current_witness": "1.5.4",//褰撳墠鍑哄潡鐨勮璇佷汉
"next_maintenance_time": "2018-10-13T00:00:00",//涓嬫缁存姢鏇存柊鏃堕棿
"last_budget_time": "2018-10-12T00:00:00",//涓婃缁存姢鏃堕棿
"witness_budget": 3398400000,//鏈湡瑙佽瘉浜洪绠楁�婚
"accounts_registered_this_interval": 1,//璐︽埛娉ㄥ唽闂撮殧
"recently_missed_count": 0,//鏈�杩戠己澶卞尯鍧楁暟
"current_aslot": 4762199,//褰撳墠鎬诲潡锛堜涪鎺夌殑鍧楀姞瀹為檯鍧楅珮锛�
"recent_slots_filled": "340240787892099949526793007880921399231",//鐢ㄤ簬璁$畻瑙佽瘉浜哄弬涓庡害鐨勫弬鏁�
"dynamic_flags": 0,
"last_irreversible_block_num": 3678305//鏈�杩戜竴涓笉鍙�嗗潡鍧楀彿
}
}
```
鍏呮彁涓氬姟闇�鍏虫敞 `head_block_number` 褰撳墠鍖哄潡楂樺害锛� `last_irreversible_block_num` 鏈�杩戜竴涓笉鍙�嗗潡鍧楀彿銆傜敤浜庡垽鏂槸鍚︽槸鍙俊鍏呭�兼搷浣滀互鍙婃彁鐜版槸鍚﹀凡澶勭悊銆�
### info
浣滅敤锛氭樉绀哄綋鍓峉eer鍖哄潡閾剧殑鐘舵��
绀轰緥锛歚{"jsonrpc": "2.0", "method": "info", "params": [], "id": 1}`
杩斿洖淇℃伅绀轰緥锛�
```json
{"id":1,
"result":
{
"head_block_num":3678258,//褰撳墠鍧楅珮
"head_block_id":"00382032d0bfee243b0c5f6b37e3fd6f29682e6e",//褰撳墠鍧楀彿
"head_block_age":"0 second old",//涓婁竴涓尯鍧楃敓鎴愭椂闂�
"next_maintenance_time":"7 hours in the future",//缁存姢鏇存柊鏃堕棿
"chain_id":"da68a9c5f2fd9ed48e626ea301db1c77505523884ba0dd409e779246c6ea26cf",//閾惧彿
"participation":"88.28125000000000000",//鍖哄潡鐢熶骇鍙備笌鐜�
"active_witnesses"://娲昏穬瑙佽瘉浜篒D
["1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8"],
"active_committee_members"://娲昏穬鐞嗕簨浼氭垚鍛業D
["1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7"]
}
}
```
鍏呮彁涓氬姟闇�鍏虫敞 `head_block_age` 涓婁竴涓尯鍧楃敓鎴愭椂闂达紝`participation` 鍖哄潡鐢熶骇鍙備笌鐜囥�� 鎻愮幇鎿嶄綔鍓嶅垽鏂尯鍧楅摼鏄惁姝e父杩愯銆�
### list_account_balances
鏍煎紡锛歚list_account_balances` name
鍙傛暟锛歯ame鍙互鏄处鎴峰悕锛屼篃鍙互鏄处鎴风殑id
浣滅敤锛氬垪鍑鸿处鍙蜂负id鐨勮处鎴风殑鍚勮祫浜т綑棰�
绀轰緥锛歚{"jsonrpc": "2.0", "method": "list_account_balances", "params": ["abc"], "id": 1}`
杩斿洖淇℃伅绀轰緥锛�
```json
{
"id": 1,
"result": [{
"amount": "7861177753754",//浣欓锛岀簿搴�5,amount娌℃湁灏忔暟鐐癸紝鍏舵暟鍊艰涔樹互浜�10000 姝ゅ鍗�78611777.53754
"asset_id": "1.3.0"//璧勪骇绫诲瀷 姝ゅ涓篠EER
}, {
"amount": 97099800,//浣欓锛岀簿搴�5,amount娌℃湁灏忔暟鐐癸紝鍏舵暟鍊艰涔樹互浜�10000
"asset_id": "1.3.8"//璧勪骇绫诲瀷 姝ゅ涓烘祴璇曢摼涓婄殑ABC璧勪骇
}]
}
```
鍏呮彁涓氬姟闇�鍏虫敞`asset_id`涓�1.3.0(鍗砈EER)鐨刞amount` (浣欓)鏄惁瓒冲骞舵敮浠樼綉缁滄墜缁垂锛岃嫢娑夊強SEER閾句笂鍏朵粬璧勪骇鐨勫厖鎻愪笟鍔★紝鍒欒繕闇�瑕佸叧娉ㄧ浉搴旇祫浜х殑浣欓鏄惁瓒冲銆�
### transfer2
鏍煎紡锛歚transfer2` from to amount asset_symbol memo broadcast(true/false)
鍙傛暟锛歠rom涓鸿浆鍑鸿处鎴�,to涓烘帴鏀惰处鎴�,amount涓鸿浆璐︽暟閲�, asset_symbol涓鸿祫浜у悕,memo涓哄娉ㄣ�俧rom/to 鍙互鏄敤鎴峰悕鎴栬�卛d锛宐roadcast璁剧疆鏄惁骞挎挱銆�
浣滅敤锛氳浆璐�
绀轰緥锛歚{"jsonrpc": "2.0", "method": "transfer2", "params": ["seerdex-withdraw","ffffff","500000","SEER","Welcome to SEERTALK. https://forum.seerchain.org",true], "id": 1}`
杩斿洖淇℃伅绀轰緥锛�
```json
{
"id": 1,
"jsonrpc": "2.0",
"result":[
"7ab0e58b6391a770cb62f432e0f2aef93de4d18e",//浜ゆ槗id
{
"ref_block_num": 64292,//寮曠敤鐨勫尯鍧楀彿
"ref_block_prefix": 1517346144,//寮曠敤鐨勫尯鍧楀ご
"expiration": "2018-10-12T07:33:12",//浜ゆ槗杩囨湡鏃堕棿
"operations": [
[0, {//0琛ㄧず杞处
"fee": {//鎵嬬画璐�
"amount": 2136718,//閲戦 ,amount娌℃湁灏忔暟鐐癸紝鍏舵暟鍊艰涔樹互浜�10000
"asset_id": "1.3.0"//璧勪骇 姝ゅ琛ㄧずSEER
},
"from": "1.2.105",//杞嚭璐︽埛id
"to": "1.2.138",//杞叆璐︽埛id
"amount": {
"amount": "50000000000",//閲戦 amount娌℃湁灏忔暟鐐癸紝鍏舵暟鍊艰涔樹互浜�10000
"asset_id": "1.3.0"//璧勪骇 姝ゅ琛ㄧずSEER
},
"memo": {//memo鏉冮檺鐩稿叧
"from": "SEER8UAbnsAnXY1qr3CD6uzKaRuewsyPF9ynYJJGrdvSfDANxsGNxH",
"to": "SEER6QbqUZF6xzjdceVoLHS7K1KwvLyszVTZS8bbsQQQXcAm8L3aZp",
"nonce": "4469110159915322318",
"message": "482a7d070d298fe2a79d5f528f55778c62584d242274a7d697dae1ec63d7038b5a0b80dc9ba524e3f5f528bc717c60a635f89ff8af1cccbd1b4189f8ddc92e39"
},
"extensions": []
}]
],
"extensions": [],
"signatures": ["204e8746aac14a05fb3c66ac653429dead34bddac58911c53346feb365f0c7b5767ea870c1e5da6a104d8364e42f504fc1bdcfc442652f5c2e9bb9b26a858b0ccd"]
}
]
}
```
鍏呮彁涓氬姟闇�鍏虫敞杩斿洖淇℃伅鐨勭涓�涓瓧绗︿覆锛屽嵆浜ゆ槗id锛屽彟`expiration` 浜ゆ槗杩囨湡鏃堕棿銆�
### get_account_id
鏍煎紡锛歚get_account_id` name
鍙傛暟锛歯ame鏄处鎴峰悕
浣滅敤锛氬垪鍑鸿处鎴穘ame鐨勮处鎴穒d
绀轰緥锛歚{"jsonrpc": "2.0", "method": "get_account_id", "params": ["seerdex-withdraw"], "id": 1}`
杩斿洖淇℃伅绀轰緥锛�
```json
{"id":1,"result":"1.2.105"}
```
### get_relative_account_history
鏍煎紡锛歚get_relative_account_history` name start limit end
鍙傛暟锛歯ame鍙互鏄处鎴峰悕鎴杋d,start涓鸿繑鍥炵粨鏋滅殑鏈�灏忕紪鍙凤紝limit 涓鸿繑鍥炵粨鏋滅殑鏁伴噺涓婇檺锛宔nd涓鸿繑鍥炵粨鏋滅殑鏈�澶х紪鍙凤紱
杩斿洖鏁版嵁鎺掑簭鏂瑰紡涓烘寜鏃堕棿椤哄簭锛岃秺鏂扮殑瓒婇潬鍓嶏紱
缂栧彿浠�1寮�濮嬶紝鑻nd = 0锛屽垯杩斿洖鏈�鏂扮殑limit鏉℃搷浣滀俊鎭紱
鑻nd - start > limit锛屽垯杩斿洖婊¤冻鏉′欢鐨勬渶鏂扮殑limit鏉℃搷浣滀俊鎭��
浣滅敤锛氬垪鍑鸿处鎴穘ame鐨勬搷浣滃巻鍙茶褰�
聽 璇烽伩鍏嶄竴娆℃�ц繑鍥炶秴杩�100鏉℃暟鎹紝浠ュ厤鑺傜偣鎴栭挶鍖呮姤閿欍�傚悓鏃讹紝鍦ㄥ懡浠よ閽卞寘涓娇鐢ㄦ鍛戒护鏃跺彧浼氳繑鍥� "description"涓殑鏁版嵁锛岀敤RPC璋冪敤鏂硅兘杩斿洖瀹屾暣鏁版嵁銆�
绀轰緥锛歚{"jsonrpc": "2.0", "method": "get_relative_account_history", "params": ["seerdex-withdraw",15,1,30], "id": 1}`
杩斿洖淇℃伅绀轰緥锛�
```json
{
"id": 1,
"result": [
{
"memo": "give you 980 SEER",//瑙i攣骞舵湁鐩稿簲绉侀挜鐨勯挶鍖呮柟鑳芥樉绀篗EMO
"description": "Transfer 980 SEER from alice to okok -- Memo: give you 980 SEER聽 (Fee: 21.05468 SEER)",//閽卞寘涓�鑸彧鏄剧ず姝ゅ唴瀹�
"op": {
"id": "1.9.703568",//璇ユ搷浣滅殑瀵硅薄id锛屽彲閫氳繃get_object 1.9.703568鏌ョ湅姝ゆ搷浣�
"op": [
0, //鎿嶄綔绫诲瀷锛�0琛ㄧず杞处
{
"fee": {//鎵嬬画璐�
"amount": 2105468,//鏁伴
"asset_id": "1.3.0"//璧勪骇绫诲瀷
},
"from": "1.2.109",//杞嚭id
"to": "1.2.105",//鎺ユ敹id
"amount": {
"amount": 98000000,//杞处鏁伴
"asset_id": "1.3.0"//璧勪骇绫诲瀷
},
"memo": {//MEMO鏉冮檺鐩稿叧
"from": "SEER6sJwPuSSayEzHXLbVgw9HJsDnGBk5Dup5bq3ns1YziZEDMKMgU",
"to": "SEER8UAbnsAnXY1qr3CD6uzKaRuewsyPF9ynYJJGrdvSfDANxsGNxH",
"nonce": "394073041834538",
"message": "485e630438b9a38c94c12afd9b15007845484d7f0c8c2c29c135f4f9a155a1ee"
},
"extensions": []
}],
"result": [//鎿嶄綔杩斿洖缁撴灉
0,
{
}
],
"block_num": 3674099,//鍏ュ潡楂樺害
"trx_in_block": 0,//鎿嶄綔鎵�灞炰氦鏄撳湪鍖哄潡鍐呯殑浣嶇疆
"op_in_trx": 0,//鎿嶄綔鍦ㄤ氦鏄撳唴鐨勪綅缃�
"virtual_op": 52924//铏氭嫙鎿嶄綔缂栧彿
}
}]
}
```
`get_relative_account_history`浼氬垪鍑哄拰姝よ处鎴锋湁鍏崇殑鎵�鏈夋搷浣滐紝渚嬪鑷繁杞处缁欏埆浜猴紙鍖呮嫭鎻愮幇锛夈�佸埆浜鸿浆璐︾粰鑷繁锛堝寘鎷厖鍊硷級銆佽处鍙锋敞鍐屻�佸弬涓庨娴嬬瓑锛�
鍏呮彁涓氬姟鍙渶鍏虫敞`op.op.N`锛堟搷浣滅被鍨嬶級涓篳0`,鍗宠浆璐︾殑鎿嶄綔锛�
褰撶劧鏈�閲嶈鐨勬槸`memo`锛堣浆璐EMO锛夊拰`op.op.amount.amount`锛堣浆璐︽暟棰濓級浠ュ強`op.op.amount.asset_id`锛堣祫浜х被鍨嬶級锛�
浠ュ強`op.op.from`锛堣浆鍑篿d锛夛紝鑻ュ悓涓�涓处鍙峰嵆璐熻矗鍏呭�煎張璐熻矗鎻愮幇锛屽垯鍒ゆ柇`op.op.from`鏄惁鍜宍get_account_id`鑾峰緱鐨勫綋鍓嶈处鎴蜂竴鏍锋潵鍖哄垎璇ョ瑪鎿嶄綔鏄惁鏄湰甯愭埛鍙戣捣鐨勬彁鐜版搷浣滐紱
`op.id`涓鸿鎿嶄綔鐨勫璞d锛屼篃鏄杞处鎿嶄綔鐨勫敮涓�id锛�
鍙﹀锛岃繕闇�瑕佸叧娉╜op.block_num`锛屽嵆璇ユ搷浣滅殑鍏ュ潡楂樺害锛�
`op.trx_in_block` 璇ユ搷浣滄墍灞炰氦鏄撳湪璇ュ尯鍧楀唴鐨勪綅缃紝
`op.op_in_trx` 璇ユ搷浣滃湪璇ヤ氦鏄撳唴鐨勪綅缃紝
浠ュ強`op.virtual_op` 璇ユ搷浣滅殑铏氭嫙鎿嶄綔缂栧彿銆�
浠ヤ笂鍥涗釜鏁版嵁鍙互鍜屽叾浠栨寚浠ら厤鍚堣幏寰楄鎿嶄綔鎵�灞炵殑txid鍙婂垽鏂鎿嶄綔鐨勫敮涓�鎬с��
### get_block
鏍煎紡锛歚get_block` num
鍙傛暟锛氬潡鍙�
浣滅敤锛氭樉绀虹num涓潡鐨勬鍐�
绀轰緥锛歚get_block` 2090482
杩斿洖淇℃伅绀轰緥锛�
```json
get_block 2090482
{
聽 "previous": "001fe5f1e1dd8d195af805484ee8038a09866b76",//涓婁竴涓潡鐨勫潡鍙�
聽 "timestamp": "2018-07-30T07:31:54",//鏃堕棿鎴�
聽 "witness": "1.5.22",//瑙佽瘉浜�
聽 "transaction_merkle_root": "72756b0f1f1711622c8030eae65e6db055200320",
聽 "extensions": [],
聽 "witness_signature": "200d202d735de10f4f8213d71a8f946a2cc49bc02e930f682bea74321819b4bc7c4d436e366f1cad962f214eeaa42b5030fd716f692077f135b3cf33c688f68f1f",//瑙佽瘉浜虹鍚�
聽 "transactions": [{
聽 聽 聽 "ref_block_num": 58864,//寮曠敤鐨勫尯鍧楀彿
聽 聽 聽 "ref_block_prefix": 2207768636,//寮曠敤鐨勫尯鍧楀ご
聽 聽 聽 "expiration": "2018-07-30T07:33:51",//浜ゆ槗杩囨湡鏃堕棿
聽 聽 聽 "operations": [[
聽 聽 聽 聽 聽 0,{
聽 聽 聽 聽 聽 聽 "fee": {
聽 聽 聽 聽 聽 聽 聽 "amount": 200000,//鎵嬬画璐�
聽 聽 聽 聽 聽 聽 聽 "asset_id": "1.3.0"//璧勪骇绫诲瀷 1.3.0鎸嘢EER
聽 聽 聽 聽 聽 聽 },
聽 聽 聽 聽 聽 聽 "from": "1.2.1250",//鍙戣捣鐢ㄦ埛ID
聽 聽 聽 聽 聽 聽 "to": "1.2.1292",//鎺ユ敹鐢ㄦ埛ID
聽 聽 聽 聽 聽 聽 "amount": {
聽 聽 聽 聽 聽 聽 聽 "amount": 2000000000,//閲戦20000
聽 聽 聽 聽 聽 聽 聽 "asset_id": "1.3.0"//璧勪骇绫诲瀷 1.3.0鎸嘢EER
聽 聽 聽 聽 聽 聽 },
聽 聽 聽 聽 聽 聽 "extensions": []
聽 聽 聽 聽 聽 }
聽 聽 聽 聽 ]
聽 聽 聽 ],
聽 聽 聽 "extensions": [],
聽 聽 聽 "signatures": [
聽 聽 聽 聽 "205c1f92cd9eebba507094c0fe4a05be47d301b6b2e989f4f0fdcfc8acef69ceec5356faf1667b5576629bfbc29ee5a257dbfac935c5a8fef588e32d7a7902c2b3"//浜ゆ槗绛惧悕闆嗗悎
聽 聽 聽 ],
聽 聽 聽 "operation_results": [[
聽 聽 聽 聽 聽 0,{}
聽 聽 聽 聽 ]
聽 聽 聽 ]
聽 聽 }
聽 ],
聽 "block_id": "001fe5f26d0f3ee5b1569a1618fe903e4dc5aef0",//鍧楀彿
聽 "signing_key": "SEER5oyAoCzw5GRD9unKK6vsLXkPVx1aKU7i3hX19E8BRU5u3FoAoA",//瑙佽瘉浜虹鍚嶅叕閽�
聽 "transaction_ids": [
聽 聽 "30e73f68d163398005557a21c58bd751db22eb53"//浜ゆ槗id闆�
聽 ]
}
```
鍏呮彁涓氬姟闇�闇�閰嶅悎`get_relative_account_history`涓幏鍙栫殑`op.block_num`鏉ュ叧娉╜get_block`鑾峰彇鐨刞transaction_ids`鏁版嵁锛岃嫢鍚屼竴涓潡閲屾湁澶氱瑪浜ゆ槗锛屽垯浼氭湁澶氫釜`transaction_id`锛岄渶閰嶅悎`get_relative_account_history`涓幏鍙栧埌鐨刞op.trx_in_block`鏉ュ緱鍒拌鎿嶄綔鎵�瀵瑰簲鐨則xid銆�
## 澶勭悊鍏呭�间笟鍔�
1銆侀�氳繃`get_relative_account_history`鏌ヨ璐︽埛鐩稿叧鍘嗗彶銆�
杩斿洖缁撴灉涓苟娌℃湁鐩存帴鏄剧ず姣忔潯璁板綍鐨勫簭鍙凤紝闇�瑕佽嚜琛岃幏鍙栧拰璁板綍銆�
寤鸿锛氫粠start = 1锛宭imit = 1锛� end = 2寮�濮嬩互涓�瀹氭椂闂撮棿闅斿彂閫佽姹傦紝姣忔start 鍜� end 鍚勮嚜 +1锛宭imit鎭掔瓑浜�1锛岃嫢杩斿洖淇℃伅涓嶄负绌猴紝鍒欏皢璇ユ潯淇℃伅缂栧彿骞跺瓨鍌ㄣ�傝嫢杩斿洖淇℃伅涓虹┖锛歚{"id":1,"jsonrpc":"2.0","result":[]}`锛屽垯琛ㄧず娌℃湁鏂扮殑鎿嶄綔锛岀瓑寰呮湁鏂扮殑鎿嶄綔淇℃伅鏃剁户缁褰曞瓨鍌ㄣ��
2銆佸垽鏂槸鍚︿负鍏呭�间笟鍔°��
`get_relative_account_history`浼氬垪鍑哄拰姝よ处鎴锋湁鍏崇殑鎵�鏈夋搷浣滐紝渚嬪鑷繁杞处缁欏埆浜猴紙鍖呮嫭鎻愮幇锛夈�佸埆浜鸿浆璐︾粰鑷繁锛堝寘鎷厖鍊硷級銆佽处鍙锋敞鍐屻�佸弬涓庨娴嬬瓑锛屽厖鎻愪笟鍔″彧闇�瑕乣op.op.N`锛堟搷浣滅被鍨嬶級涓篳0`锛堣浆璐︼級鐨勬搷浣滄暟鎹紱
鑻ュ悓涓�涓处鍙峰嵆璐熻矗鍏呭�煎張璐熻矗鎻愮幇锛屽垯闇�瑕佸尯鍒哷op.op.from`鏄惁鍜屽綋鍓嶈处鎴穒d涓�鏍凤紝锛岃嫢涓�鏍凤紝鍒欐槸鏈笎鎴峰彂璧风殑鎻愮幇鎿嶄綔锛岄渶瑕佹帓闄ゆ帀锛�
鍓╀笅鐨勪究鏄緟澶勭悊鐨勫厖鍊兼搷浣溿��
3銆佽幏寰楃浉鍏冲厖鍊兼暟鎹��
閫氳繃Http-RPC鎴杦ebsocket-RPC杩炴帴鐨勫懡浠よ閽卞寘鍦╱nlocked鐘舵�佹椂锛屽湪`get_relative_account_history`杩斿洖鐨勪俊鎭腑鍙互鏌ョ湅`memo`鍐呭锛岀敤鎴峰~鍐欑殑浜ゆ槗鎵�ID绛夊叆璐︿俊鎭究浠庢澶勮幏鍙栵紱
閫氳繃`op.op.amount.amount`锛堣浆璐︽暟棰濓級鍔犱笂灏忔暟鐐癸紝渚挎槸鍏呭�兼暟棰濓紱
閫氳繃`op.op.amount.asset_id`锛堣祫浜х被鍨嬶級鏉ュ垽鏂槸鍚︽槸骞冲彴鏀寔鐨勬纭祫浜х被鍨嬨��
4銆佸垽鏂槸鍚︿负鍙俊鎿嶄綔銆�
涓嶅悓浜庢瘮鐗瑰竵鍜屼互澶潑閲囩敤纭鏁版潵浠庢鐜囦笂闄嶄綆浜ゆ槗琚��鍥炵殑鍙兘鎬э紝鍍廠EER杩欐牱鐨勭煶澧ㄧ儻椤圭洰涓湁`涓嶅彲閫嗗潡`鐨勬蹇碉紝`涓嶅彲閫嗗潡`鍙婃洿鏃╁尯鍧椾腑鐨勪氦鏄擄紝鍙互淇濊瘉涓嶄細鍙戠敓鍥為��銆�
`get_relative_account_history`浼氳繑鍥炶绗旀搷浣滄墍灞炵殑`op.block_num`(鍏ュ潡楂樺害)锛屼絾鍗充娇浜ゆ槗鏈叆鍧楋紝浠嶇劧鍙兘鍑虹幇鍦ㄨ处鎴峰巻鍙蹭腑锛屽洜姝ら渶瑕佸拰閫氳繃`get_dynamic_global_properties`鑾峰彇鍒扮殑`last_irreversible_block_num`锛堟渶杩戜竴涓笉鍙�嗗潡鍧楀彿锛夋瘮杈冿紝`op.block_num`蹇呴』灏忎簬鎴栫瓑浜巂last_irreversible_block_num`锛屾墠鑳借瑙嗕负鍙俊鎿嶄綔銆�
5銆佽褰曚笅璇ユ搷浣滅殑鐩稿叧淇℃伅銆�
`get_relative_account_history`涓幏鍙栧埌鐨刞op.block_num`+`op.trx_in_block` + `op.op_in_trx` + `op.virtual_op` 缁勫悎鍒颁竴璧凤紝鏍囪瘑璇ユ搷浣滅殑鍞竴鎬э紝鍙瘑鍒伩鍏嶉噸澶嶆搷浣滐紱
`get_relative_account_history`涓幏鍙栧埌鐨刞op.id`涔熸槸璇ヨ浆璐︽搷浣滅殑鍞竴id锛�
鍙互閫氳繃`get_object` `op.block_num` 鑾峰彇璇ヨ浆璐︽搷浣滄墍鍦ㄥ潡鐨勪俊鎭紝鍐嶉�氳繃`op.trx_in_block`鐨勬暟鍊兼潵鑾峰彇鍒板潡淇℃伅涓璥transaction_ids`鏁扮粍閲岃杞处鎿嶄綔瀵瑰簲鐨則xid锛屽悓涓�涓猼xid鍙兘瀵瑰簲澶氫釜鎿嶄綔銆�
6銆佸鏋滄湁鍏呭�肩殑MEMO鎴栬祫浜х被鍨嬩笉姝g‘锛屽缓璁笉瑕佺洿鎺ラ��鍥烇紝鑰屾槸绛夊緟鐢ㄦ埛涓诲姩鑱旂郴纭閫�鍥炶矾寰勶紝鍥犱负鐢ㄦ埛鍙兘鏄�氳繃浜ゆ槗鎵�鎴栫涓夋柟骞冲彴鎻愮幇杩囨潵鍏呭�肩殑锛岀洿鎺ラ��鍥炰絾娌℃湁瀵规柟MEMO鍙兘浼氶�犳垚澶勭悊鍥伴毦鐢氳嚦璧勪骇鎹熷け銆�
## 澶勭悊鎻愮幇涓氬姟
1銆佹彁鐜版搷浣滃墠妫�鏌ュ尯鍧楅摼缃戠粶鏄惁姝e父杩愯
鎻愮幇涓氬姟闇�鍏虫敞鍖哄潡閾剧綉缁滄槸鍚︽甯歌繍琛岀姸鎬侊紝鍙湪缃戠粶姝e父鏃跺鐞嗘彁鐜般��
閫氳繃`info`鎸囦护鑾峰彇鍒癭head_block_age`锛堜笂涓�涓尯鍧楃敓鎴愭椂闂达級锛岄』鍦�1鍒嗛挓浠ュ唴锛宍participation`锛堝尯鍧楃敓浜у弬涓庣巼锛夐』鍦�80浠ヤ笂锛岃〃绀�80%鐨勫尯鍧楃敓浜ц�呭湪姝e父宸ヤ綔銆�
鍚屾椂`get_dynamic_global_properties`鎸囦护鑾峰彇鍒扮殑 `head_block_number`锛堝綋鍓嶅尯鍧楅珮搴︼級鍜� `last_irreversible_block_num`锛堟渶杩戜竴涓笉鍙�嗗潡锛夌浉宸笉浼氬お澶э紝涓�鑸湪30浠ュ唴銆�
2銆佹鏌ユ彁鐜拌处鎴蜂綑棰�
閫氳繃`list_account_balances`鍒楀嚭璐︽埛鍚勮祫浜т綑棰濓紝妫�鏌asset_id`涓�1.3.0(鍗砈EER)鐨刞amount` (浣欓)鏄惁瓒冲骞舵敮浠樼綉缁滄墜缁垂锛岃嫢娑夊強SEER閾句笂鍏朵粬璧勪骇鐨勫厖鎻愪笟鍔★紝鍒欒繕闇�瑕佸叧娉ㄧ浉搴旇祫浜х殑浣欓鏄惁瓒冲銆�
3銆佽浆璐﹀苟璺熻釜鎿嶄綔鏄惁鎴愬姛
閫氳繃`transfer2`鍚戠敤鎴疯浆璐︾浉搴旀暟棰濈殑鎸囧畾璧勪骇銆�
闇�鍏虫敞杩斿洖淇℃伅涓殑`浜ゆ槗id`锛屽悜鐢ㄦ埛鎻愪緵姝や俊鎭彲浠ヨ鐢ㄦ埛鍦ㄥ尯鍧楁祻瑙堝櫒鏌ヨ鑷繁鐨勬彁鐜版搷浣滃湪鍖哄潡閾句笂鐨勭姸鎬佸拰淇℃伅锛屽湪杞嚭鐩爣鏈埌璐︾殑鎯呭喌涓嬬‘瀹氳绗旀搷浣滄槸鍚﹀凡鍑鸿处锛�
鍏虫敞`transfer2`杩斿洖淇℃伅涓殑`expiration`锛堜氦鏄撹繃鏈熸椂闂达級锛岃浆璐︽搷浣滃彂鍑哄悗锛屼竴鑸緢蹇彲浠ヤ粠`get_relative_account_history`涓幏鍙栧埌璇ョ瑪杞处鎿嶄綔鐨勪俊鎭紝骞堕�氳繃`op.block_num`鍜宍last_irreversible_block_num`姣旇緝鏉ョ‘璁ゅ叆鍧楋紱
锛�1锛夎嫢纭鍏ュ潡锛屽垯杩斿洖淇℃伅涓殑`浜ゆ槗id`搴旇宸茬粡瀛樺湪浜巂get_object` `op.block_num` 鑾峰彇璇ヨ浆璐︽搷浣滄墍鍦ㄥ潡淇℃伅鐨刞transaction_ids`鏁扮粍涓��
锛�2锛夎嫢鍙戝嚭鐨勮浆璐︽搷浣滆秴杩囦簡`expiration`杩樻湭纭鍏ュ潡锛屽垯杩欑瑪浜ゆ槗鍙兘鐢变簬鎮ㄥ悓鏃跺箍鎾殑鎿嶄綔澶绛夊悇绉嶅師鍥犳湭琚尯鍧楅摼鎵撳寘骞跺凡缁忚涓㈠純锛屾鏃堕噸鏂板彂璧疯浆璐︽槸瀹夊叏鐨勩��
鏈枃鐢眘eer鐖卞ソ鑰呮彁渚涳紝鍙兘鐞嗚В鏈夎锛屾杩庡埌github鎸囧嚭锛�
https://github.com/akirasen/seerdocs/tree/master/zh-Hans