Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs reorganization #425

Open
wants to merge 93 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
e461147
add http demo for updateAccountPermission
sean-liu55 Feb 27, 2019
423fac7
Update TRC10_IN_SMARTCONTRACT.MD
taihaofu Feb 28, 2019
ad62186
Update TRC10_IN_SMARTCONTRACT.MD
taihaofu Feb 28, 2019
4b9315f
Update TRC10_IN_SMARTCONTRACT.MD
taihaofu Feb 28, 2019
25885de
Update Tron-eventsubscribe.md
DorianRust Mar 1, 2019
2d98a7d
Update Tron-eventsubscribe_CN.md
DorianRust Mar 1, 2019
27d8e83
Update Tron-eventsubscribe_CN.md
DorianRust Mar 1, 2019
a6254bd
add instruction for updateAccountPermission
sean-liu55 Mar 1, 2019
3332eb0
Merge pull request #347 from tronprotocol/feature/add_instruction_for…
sean-liu55 Mar 1, 2019
657c0e2
add http and rpc instruction
sean-liu55 Mar 1, 2019
f098f42
Merge pull request #348 from tronprotocol/feature/add_instruction_for…
sean-liu55 Mar 1, 2019
d83ded8
description of event subscribe
jiangyy0824 Mar 5, 2019
19a1340
Update Tron-eventsubscribe.md
jiangyy0824 Mar 5, 2019
f7f76d6
Update Tron-event_description.md
jiangyy0824 Mar 5, 2019
f1cd154
Update Tron-event_description.md
jiangyy0824 Mar 5, 2019
e18d3dd
modify description of gettransactionsfromthis and gettransactionstothis
houlei1017 Mar 8, 2019
a45f136
update Tron-http.md and RPC-API.md
houlei1017 Mar 8, 2019
dbf196f
update Tron-http.md and RPC-API.md
houlei1017 Mar 8, 2019
466cae7
update English document Tron-http.md
houlei1017 Mar 12, 2019
e753917
Update TRON_Wallet_RPC-API.md
taihaofu Mar 18, 2019
92557e6
Update TRON_Wallet_RPC-API.md
taihaofu Mar 18, 2019
223677f
Update TRON_Wallet_RPC-API.md
taihaofu Mar 18, 2019
060fa12
Update TRON_Wallet_RPC-API.md
taihaofu Mar 18, 2019
d684b62
Update 波场钱包RPC-API.md
taihaofu Mar 18, 2019
dad65a7
Update 波场钱包RPC-API.md
taihaofu Mar 18, 2019
f88d555
Update TRON_Wallet_RPC-API.md
taihaofu Mar 18, 2019
ac3456b
Update TRON_Wallet_RPC-API.md
taihaofu Mar 18, 2019
b6645e4
Update 波场钱包RPC-API.md
taihaofu Mar 18, 2019
8b9096f
Update 波场钱包RPC-API.md
taihaofu Mar 18, 2019
28b22d7
Update 波场钱包RPC-API.md
taihaofu Mar 18, 2019
003efcf
Update TRON_Wallet_RPC-API.md
taihaofu Mar 18, 2019
47c8f3d
Update TRON_Wallet_RPC-API.md
taihaofu Mar 18, 2019
f336344
Update 多重签名.md
renchenchang Mar 21, 2019
a55d347
Update 多重签名.md
renchenchang Mar 21, 2019
6cba050
add code demo for updating witness permission
sean-liu55 Mar 21, 2019
1904890
Merge pull request #351 from tronprotocol/feature/add_instruction_for…
sean-liu55 Mar 21, 2019
f094c23
Update Official_Public_Node.md
hyxc Mar 22, 2019
842d682
Update Official_Public_Node.md
hyxc Mar 22, 2019
24f3675
Update Tron-http.md
hyxc Apr 4, 2019
c0d8af4
add rocksdb
shydesky Apr 8, 2019
fec6585
figure src
shydesky Apr 8, 2019
be9b43e
Merge pull request #355 from tronprotocol/rocksdb
shydesky Apr 8, 2019
206855b
add rocksdb vs leveldb
shydesky Apr 8, 2019
47f6c01
add rocksdb vs leveldb english
shydesky Apr 8, 2019
ff7340e
mdf rocksdb vs leveldb english
shydesky Apr 8, 2019
52203b2
add rocksdb_tuning_parameters.png
shydesky Apr 8, 2019
d37c97d
Merge pull request #356 from tronprotocol/rocksdb
shydesky Apr 8, 2019
a1e5e7f
merge rocksdb: rocksdb vs leveldb
shydesky Apr 8, 2019
97ac645
mdf format:new line
shydesky Apr 8, 2019
992506f
supplement usage of rocksdb
shydesky Apr 8, 2019
480da7d
supplement usage of rocksdb
shydesky Apr 8, 2019
4394819
Update Rocksdb_vs_Leveldb.md
shydesky Apr 10, 2019
f654c9e
Update Rocksdb_vs_Leveldb.md
shydesky Apr 10, 2019
0a587f9
Update Tron-doc.md
renchenchang Apr 11, 2019
5a89d06
Update tron-eventquery.md
DorianRust Apr 18, 2019
b695e56
Update tron-eventquery.md
DorianRust Apr 18, 2019
adb9564
update Tron-http.md
houlei1017 Apr 26, 2019
9951264
translation
zk19862018 Apr 28, 2019
4f47b09
translation
zk19862018 Apr 28, 2019
167c1de
translation
zk19862018 Apr 29, 2019
64e8e51
update Tron-http.md
houlei1017 Apr 29, 2019
cb44f94
Merge branch 'feature/add_parameter' of https://github.com/tronprotoc…
houlei1017 Apr 29, 2019
0960af8
translation
zk19862018 Apr 29, 2019
fbb03ac
update Tron-http.md
houlei1017 Apr 29, 2019
e9d0f77
Merge remote-tracking branch 'origin/feature/add_parameter' into feat…
houlei1017 Apr 29, 2019
4e76596
translation
zk19862018 Apr 29, 2019
ba5364b
Merge branch 'feature/add_parameter' of https://github.com/tronprotoc…
zk19862018 Apr 29, 2019
05a912e
translation
zk19862018 Apr 29, 2019
0ee4f11
mark down style
zk19862018 Apr 29, 2019
46f86cc
update Tron-http.md
houlei1017 Apr 30, 2019
b9e4d94
Merge remote-tracking branch 'origin/feature/add_parameter' into feat…
houlei1017 Apr 30, 2019
312ca88
update Tron-http.md
houlei1017 May 5, 2019
12aca51
update englist Tron-http.md
houlei1017 May 6, 2019
4b8bdce
update http documentation
zk19862018 May 6, 2019
ef2a7e7
add Tron-doc.md English version
zk19862018 May 6, 2019
1fee8ae
translation
zk19862018 May 6, 2019
3c87b79
translation
zk19862018 May 8, 2019
d2e3758
translation
zk19862018 May 9, 2019
1cc8f10
translation
zk19862018 May 9, 2019
4fba536
translation
zk19862018 May 9, 2019
08b324f
translation
zk19862018 May 10, 2019
1fa06be
improve mark down style
zk19862018 May 10, 2019
c83d442
mark down format improvement
zk19862018 May 10, 2019
2234fb1
mark down format improvement
zk19862018 May 10, 2019
0187b96
mark down format improvement
zk19862018 May 10, 2019
a39bc2c
mark down format improvement
zk19862018 May 10, 2019
899a813
feat(doc): docs reorganization
zk19862018 May 13, 2019
b24d8c3
feat(reorganization): delete unused files
zk19862018 May 13, 2019
b2146d3
add tron-http, tron-overview
zk19862018 May 13, 2019
f4dab9f
style improvement
zk19862018 May 14, 2019
ae27ade
add tron-vm.md
zk19862018 May 15, 2019
5056db9
add docs imags
zk19862018 May 15, 2019
6649873
fix images display
zk19862018 May 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
modify description of gettransactionsfromthis and gettransactionstothis
  • Loading branch information
houlei1017 committed Mar 8, 2019
commit e18d3ddedac03a4fd40c58fb768e0328947dff12
16 changes: 10 additions & 6 deletions TRX_CN/Tron-http.md
Original file line number Diff line number Diff line change
@@ -120,17 +120,21 @@ demo:curl -X POST http://127.0.0.1:8091/walletsolidity/listexchanges

/walletextension/gettransactionsfromthis(新版本将不再支持)
作用:查询某个账号的出账交易记录
demo: curl -X POST http://127.0.0.1:8091/walletextension/gettransactionsfromthis -d '{"account" : {"address" : "41E552F6487585C2B58BC2C9BB4492BC1F17132CD0"}, "offset": 0, "limit": 10}'
参数说明:address是账号地址,需要是hexString格式;offset是起始交易的index;limit是期望返回的交易数量
返回值:Transaction列表
demo: curl -X POST http://127.0.0.1:8091/walletextension/gettransactionsfromthis -d '{"account"
: {"address" : "41E552F6487585C2B58BC2C9BB4492BC1F17132CD0"}, "offset": 0, "limit": 10,"startTime": 1546099200000, "endTime": 1552028828000}'
参数说明:address是账号地址,需要是hexString格式;offset是起始交易的index,不能大于10000,否则报错;limit是期望返回的交易数量,最大为50
,这个值可能会调整。当limit>50,或offset+limit>10000时,调整后满足limit<=50且offset+limit<=10000
返回值:Transaction列表,total在[startTime,endTime]时间段内允许分页的最大交易数,rangeTotal在[startTime,endTime]时间段的交易内的所有交易数。
备注:该接口在新版本节点中将不再提供,如需要该功能,可以使用中心节点提供的接口,47.90.247.237:8091/walletextension/gettransactionsfromthis,
使用参考getTransactionsFromThis。

/walletextension/gettransactionstothis(新版本将不再支持)
作用:查询某个账号的入账交易记录
demo: curl -X POST http://127.0.0.1:8091/walletextension/gettransactionstothis -d '{"account" : {"address" : "41E552F6487585C2B58BC2C9BB4492BC1F17132CD0"}, "offset": 0, "limit": 10}'
参数说明:address是账号地址,需要是hexString格式;offset是起始交易的index;limit是期望返回的交易数量
返回值:Transaction列表
demo: curl -X POST http://127.0.0.1:8091/walletextension/gettransactionstothis -d '{"account" :
{"address" : "41E552F6487585C2B58BC2C9BB4492BC1F17132CD0"}, "offset": 0, "limit": 10,"startTime": 1546099200000, "endTime": 1552028828000}'
参数说明:address是账号地址,需要是hexString格式;offset是起始交易的index;limit是期望返回的交易数量,最大为50,这个值可能会调整。当limit>50
,或offset+limit>10000时,调整后满足limit<=50且offset+limit<=10000
返回值:Transaction列表,total在[startTime,endTime]时间段内允许分页的最大交易数,rangeTotal在[startTime,endTime]时间段的交易内的所有交易数。
备注:该接口在新版本节点中将不再提供,如需要该功能,可以使用中心节点提供的接口,47.90.247.237:8091/walletextension/gettransactionstothis,
使用参考getTransactionsToThis。

14 changes: 13 additions & 1 deletion 中文文档/波场协议/波场钱包RPC-API.md
Original file line number Diff line number Diff line change
@@ -404,9 +404,15 @@ rpc getTransactionsFromThis (Account) returns (TransactionList) {};
23.2 提供节点
soliditynode。
23.3 参数说明
Account:发起方账户,只需要地址。
Account:发起方账户,只需要地址。
offset: 分页的起始值,大于10000将提示错误。
limit: 分页大小,最大为50,这个值可能会调整。当limit>50,或offset+limit>10000时,调整后满足limit<=50且offset+limit<=10000
startTime:起始时间。
endTime: 结束时间,获取[startTime,endTime]时间段的交易。
23.4 返回值
TransactionList:交易列表。
total: 在[startTime,endTime]时间段内允许分页的最大交易数。
rangeTotal: 在[startTime,endTime]时间段的交易内的所有交易数。
23.5 功能说明
通过账户地址查询所有发起的交易。
23.6 备注说明
@@ -421,8 +427,14 @@ rpc getTransactionsToThis (Account) returns (NumberMessage) {};
soliditynode。
24.3 参数说明
Account:接收方账户,只需要地址。
offset: 分页的起始值,大于10000将提示错误。
limit: 分页大小,最大为50,这个值可能会调整。当limit>50,或offset+limit>10000时,调整后满足limit<=50且offset+limit<=10000
startTime:起始时间。
endTime: 结束时间,获取[startTime,endTime]时间段的交易。
24.4 返回值
TransactionList:交易列表。
total: 在[startTime,endTime]时间段内允许分页的最大交易数。
rangeTotal: 在[startTime,endTime]时间段的交易内的所有交易数。
24.5 功能说明
通过账户地址查询所有其它账户发起和本账户有关的交易。
24.6 备注说明