Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit235be0d

Browse files
committed
Method to get all events without a topic filter
1 parent903a188 commit235be0d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/main/java/io/api/etherscan/model/query/impl/LogQueryBuilder.java‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
importio.api.etherscan.core.ILogsApi;
44
importio.api.etherscan.error.LogQueryException;
5+
importio.api.etherscan.model.query.IQueryBuilder;
56
importio.api.etherscan.util.BasicUtils;
67

78
/**
@@ -12,7 +13,7 @@
1213
* @author GoodforGod
1314
* @since 31.10.2018
1415
*/
15-
publicclassLogQueryBuilder {
16+
publicclassLogQueryBuilderimplementsIQueryBuilder{
1617

1718
privatestaticfinallongMIN_BLOCK =0;
1819
privatestaticfinallongMAX_BLOCK =99999999999L;
@@ -75,4 +76,9 @@ public LogTopicQuadro topic(String topic0, String topic1, String topic2, String
7576

7677
returnnewLogTopicQuadro(address,startBlock,endBlock,topic0,topic1,topic2,topic3);
7778
}
79+
80+
@Override
81+
publicLogQuerybuild()throwsLogQueryException {
82+
returnnewLogQuery("&address=" +this.address +"&fromBlock=" +this.startBlock +"&toBlock=" +this.endBlock);
83+
}
7884
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp