Skip to content

Commit

Permalink
update Tron-http.md and RPC-API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
houlei1017 committed Mar 8, 2019
1 parent e18d3dd commit a45f136
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions TRX_CN/Tron-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ demo: curl -X POST http://127.0.0.1:8091/walletextension/gettransactionsfromthi
: {"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]时间段的交易内的所有交易数
返回值:Transaction列表,total在[startTime,endTime]时间段内允许分页的最大交易数,rangeTotal在[startTime,endTime]时间段内的所有交易数
备注:该接口在新版本节点中将不再提供,如需要该功能,可以使用中心节点提供的接口,47.90.247.237:8091/walletextension/gettransactionsfromthis,
使用参考getTransactionsFromThis。
Expand All @@ -134,7 +134,7 @@ demo: curl -X POST http://127.0.0.1:8091/walletextension/gettransactionstothis
{"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]时间段的交易内的所有交易数
返回值:Transaction列表,total在[startTime,endTime]时间段内允许分页的最大交易数,rangeTotal在[startTime,endTime]时间段内的所有交易数
备注:该接口在新版本节点中将不再提供,如需要该功能,可以使用中心节点提供的接口,47.90.247.237:8091/walletextension/gettransactionstothis,
使用参考getTransactionsToThis。
Expand Down
4 changes: 2 additions & 2 deletions 中文文档/波场协议/波场钱包RPC-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ endTime: 结束时间,获取[startTime,endTime]时间段的交易。
23.4 返回值
TransactionList:交易列表。
total: 在[startTime,endTime]时间段内允许分页的最大交易数。
rangeTotal: 在[startTime,endTime]时间段的交易内的所有交易数
rangeTotal: 在[startTime,endTime]时间段内的所有交易数
23.5 功能说明
通过账户地址查询所有发起的交易。
23.6 备注说明
Expand All @@ -434,7 +434,7 @@ endTime: 结束时间,获取[startTime,endTime]时间段的交易。
24.4 返回值
TransactionList:交易列表。
total: 在[startTime,endTime]时间段内允许分页的最大交易数。
rangeTotal: 在[startTime,endTime]时间段的交易内的所有交易数
rangeTotal: 在[startTime,endTime]时间段内的所有交易数
24.5 功能说明
通过账户地址查询所有其它账户发起和本账户有关的交易。
24.6 备注说明
Expand Down

0 comments on commit a45f136

Please sign in to comment.