diff --git a/etherscan/configs/GOERLI-stable.json b/etherscan/configs/GOERLI-stable.json index 4dbe408..353f944 100644 --- a/etherscan/configs/GOERLI-stable.json +++ b/etherscan/configs/GOERLI-stable.json @@ -246,6 +246,15 @@ "sort": "asc" } }, + "get_erc20_token_transfer_events_by_address_paginated": { + "module": "accounts", + "kwargs": { + "address": "0x9fc8720759bf397bdc13ae08760a7aea7ebbdf56", + "page": 1, + "offset": 100, + "sort": "asc" + } + }, "get_erc20_token_transfer_events_by_contract_address_paginated": { "module": "accounts", "kwargs": { @@ -307,4 +316,4 @@ "offset": 100 } } -} \ No newline at end of file +} diff --git a/etherscan/configs/KOVAN-stable.json b/etherscan/configs/KOVAN-stable.json index a8ac91f..4b18a27 100644 --- a/etherscan/configs/KOVAN-stable.json +++ b/etherscan/configs/KOVAN-stable.json @@ -246,6 +246,15 @@ "sort": "asc" } }, + "get_erc20_token_transfer_events_by_address_paginated": { + "module": "accounts", + "kwargs": { + "address": "0xa991b15e414ddfa78b0df1f7af6b3cf2023c738d", + "page": 1, + "offset": 100, + "sort": "asc" + } + }, "get_erc20_token_transfer_events_by_contract_address_paginated": { "module": "accounts", "kwargs": { @@ -307,4 +316,4 @@ "offset": 100 } } -} \ No newline at end of file +} diff --git a/etherscan/configs/MAIN-stable.json b/etherscan/configs/MAIN-stable.json index 272ed0b..977d790 100644 --- a/etherscan/configs/MAIN-stable.json +++ b/etherscan/configs/MAIN-stable.json @@ -246,6 +246,15 @@ "sort": "asc" } }, + "get_erc20_token_transfer_events_by_address_paginated": { + "module": "accounts", + "kwargs": { + "address": "0x4e83362442b8d1bec281594cea3050c8eb01311c", + "page": 1, + "offset": 100, + "sort": "asc" + } + }, "get_erc20_token_transfer_events_by_contract_address_paginated": { "module": "accounts", "kwargs": { @@ -463,4 +472,4 @@ "sort": "asc" } } -} \ No newline at end of file +} diff --git a/etherscan/configs/RINKEBY-stable.json b/etherscan/configs/RINKEBY-stable.json index 3ca8296..147095a 100644 --- a/etherscan/configs/RINKEBY-stable.json +++ b/etherscan/configs/RINKEBY-stable.json @@ -246,6 +246,15 @@ "sort": "asc" } }, + "get_erc20_token_transfer_events_by_address_paginated": { + "module": "accounts", + "kwargs": { + "address": "0x18045cdf3f619e32ff4b11df689059b4d0358d11", + "page": 1, + "offset": 100, + "sort": "asc" + } + }, "get_erc20_token_transfer_events_by_contract_address_paginated": { "module": "accounts", "kwargs": { @@ -307,4 +316,4 @@ "offset": 100 } } -} \ No newline at end of file +} diff --git a/etherscan/configs/ROPSTEN-stable.json b/etherscan/configs/ROPSTEN-stable.json index 012856e..1dc2927 100644 --- a/etherscan/configs/ROPSTEN-stable.json +++ b/etherscan/configs/ROPSTEN-stable.json @@ -246,6 +246,15 @@ "sort": "asc" } }, + "get_erc20_token_transfer_events_by_address_paginated": { + "module": "accounts", + "kwargs": { + "address": "0x3ebe6781be6d436cb7999cfce8b52e40819721cb", + "page": 1, + "offset": 100, + "sort": "asc" + } + }, "get_erc20_token_transfer_events_by_contract_address_paginated": { "module": "accounts", "kwargs": { @@ -307,4 +316,4 @@ "offset": 100 } } -} \ No newline at end of file +} diff --git a/etherscan/modules/accounts.py b/etherscan/modules/accounts.py index 831b90d..1e480e2 100644 --- a/etherscan/modules/accounts.py +++ b/etherscan/modules/accounts.py @@ -188,10 +188,35 @@ def get_erc20_token_transfer_events_by_address( f"{sort}" ) return url + + @staticmethod + def get_erc20_token_transfer_events_by_address_paginated( + address: str, page: int, offset: int, startblock: int, endblock: int, sort: str + ) -> str: + + url = ( + f"{fields.MODULE}" + f"{modules.ACCOUNT}" + f"{fields.ACTION}" + f"{actions.TOKENTX}" + f"{fields.ADDRESS}" + f"{address}" + f"{fields.START_BLOCK}" + f"{str(startblock)}" + f"{fields.END_BLOCK}" + f"{str(endblock)}" + f"{fields.SORT}" + f"{sort}" + f"{fields.PAGE}" + f"{str(page)}" + f"{fields.OFFSET}" + f"{str(offset)}" + ) + return url @staticmethod def get_erc20_token_transfer_events_by_contract_address_paginated( - contract_address: str, page: int, offset: int, sort: str + contract_address: str, page: int, offset: int, startblock: int, endblock: int, sort: str ) -> str: url = ( @@ -201,6 +226,10 @@ def get_erc20_token_transfer_events_by_contract_address_paginated( f"{actions.TOKENTX}" f"{fields.CONTRACT_ADDRESS}" f"{contract_address}" + f"{fields.START_BLOCK}" + f"{str(startblock)}" + f"{fields.END_BLOCK}" + f"{str(endblock)}" f"{fields.SORT}" f"{sort}" f"{fields.PAGE}" @@ -212,7 +241,7 @@ def get_erc20_token_transfer_events_by_contract_address_paginated( @staticmethod def get_erc20_token_transfer_events_by_address_and_contract_paginated( - contract_address: str, address: str, page: int, offset: int, sort: str + contract_address: str, address: str, page: int, offset: int, startblock: int, endblock: int, sort: str ) -> str: url = ( @@ -224,6 +253,10 @@ def get_erc20_token_transfer_events_by_address_and_contract_paginated( f"{contract_address}" f"{fields.ADDRESS}" f"{address}" + f"{fields.START_BLOCK}" + f"{str(startblock)}" + f"{fields.END_BLOCK}" + f"{str(endblock)}" f"{fields.SORT}" f"{sort}" f"{fields.PAGE}" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy