From dad76157892ff6e25a19df8f022832733ccdd038 Mon Sep 17 00:00:00 2001 From: ethan1844 <96821439+ethan1844@users.noreply.github.com> Date: Tue, 13 Aug 2024 12:20:02 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=2081d3a?= =?UTF-8?q?edd04a937db6665e446158412c3ef9c33f8=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- architecture/event/index.html | 77 ++++++++++++++----------- index.html | 2 +- search/search_index.json | 2 +- sitemap.xml | 104 +++++++++++++++++----------------- sitemap.xml.gz | Bin 711 -> 711 bytes 5 files changed, 98 insertions(+), 87 deletions(-) diff --git a/architecture/event/index.html b/architecture/event/index.html index 524ab6b1..654f56e6 100644 --- a/architecture/event/index.html +++ b/architecture/event/index.html @@ -200,52 +200,63 @@
订阅的内容:
-transactionId: 交易哈希
-blockHash: 区块哈希
-blockNumber: 区块高度
-energyUsage: 此次调用中,合约调用者消耗的Energy的总量
-energyFee: 此次调用中,合约调用者消耗的Energy中,需要TRX支付的数目(SUN为单位)
-originEnergyUsage: 此次调用中,合约开发者消耗的Energy的总量
-energyUsageTotal: 此次调用中,合约调用者和合约开发者消耗的Energy的总量
transactionId: 交易哈希
+blockHash: 区块哈希
+blockNumber: 区块高度
+energyUsage: 此次调用中,合约调用者消耗的Energy的总量
+energyFee: 此次调用中,合约调用者消耗的Energy中,需要TRX支付的数目(SUN为单位)
+originEnergyUsage: 此次调用中,合约开发者消耗的Energy的总量
+energyUsageTotal: 此次调用中,合约调用者和合约开发者消耗的Energy的总量
+
订阅的内容:
-blockHash: 区块哈希
-blockNumber: 区块高度
-transactionSize: 区块中包含的交易的数目
-latestSolidifiedBlockNumber: 最新的固化块的高度
-transactionList: 交易哈希列表
blockHash: 区块哈希
+blockNumber: 区块高度
+transactionSize: 区块中包含的交易的数目
+latestSolidifiedBlockNumber: 最新的固化块的高度
+transactionList: 交易哈希列表
+
订阅的内容:
-transactionId: 交易哈希
-contractAddress: 合约地址
-callerAddress: 合约调用者地址
-blockNumber: 合约事件所在的区块高度
-blockTimestamp: 区块时间戳
-eventSignature: 事件签名
-topicMap: the map of topic in solidity language
-data: the data information in solidity language
transactionId: 交易哈希
+contractAddress: 合约地址
+callerAddress: 合约调用者地址
+blockNumber: 合约事件所在的区块高度
+blockTimestamp: 区块时间戳
+eventSignature: 事件签名
+topicMap: the map of topic in solidity language
+data: the data information in solidity language
+
订阅的内容:
-transactionId: 交易哈希
-contractAddress: 合约地址
-callerAddress: 合约调用者地址
-blockNumber: 合约事件所在的区块高度
-blockTimestamp: 区块时间戳
-contractTopics: the list of topic in solidity language
-data: the data information in solidity language
-removed: 'true'代表日志已经被移除
transactionId: 交易哈希
+contractAddress: 合约地址
+callerAddress: 合约调用者地址
+blockNumber: 合约事件所在的区块高度
+blockTimestamp: 区块时间戳
+contractTopics: the list of topic in solidity language
+data: the data information in solidity language
+removed: 'true'代表日志已经被移除
+
合约事件与合约日志事件订阅支持过滤功能:
-fromBlock: 起始区块索引
-toBlock: 结束区块索引
-contractAddress: 合约地址
-contractTopics: 合约主题
注意: 不支持历史数据查询
+fromBlock: 起始区块索引
+toBlock: 结束区块索引
+contractAddress: 合约地址
+contractTopics: 合约主题
+
注意
+blockNumber
和 blockHash
两个参数为准,以验证收到的事件是有效的。在发生网络连接不稳定等特殊情况下造成的切链,会出现事件重组的情况,导致部分事件失效。