New answers tagged

1

Perhaps what is needed is available in the API PRO plan: "Get Token Info by ContractAddress" from https://etherscan.io/apis#APIpro { "status": "1", "message": "OK", "result": [ { "contractAddress": "0x...", "tokenName": "Token Name", ...


0

It is not possible to use external APIs on a blockchain. More information in this answer: https://ethereum.stackexchange.com/a/47778/620


1

Make use of Etherscan API: https://etherscan.io/apis#accounts There is an endpoint to Get a list of "ERC721 - Token Transfer Events" by Address. Create an Etherscan free account and get an API key so you can query that API endpoint


1

Cheap/simple -- use the OpenSea API. Robust/exhaustive -- you'll need to write your own client. 0xcert has one we might be able to share. And it will monopolize a full server to run + stay synced.


1

As of v5 of the Web3.py library, you would do: from web3 import Web3, EthereumTesterProvider w3 = Web3(EthereumTesterProvider()) print(w3.toInt(w3.solidityKeccak(['uint256', 'uint256', 'uint256'], [1, 2, 3]))) 49776295142305522338649292811956300178326541500117443588869412604416814650524 There's also this: print(w3.toInt(w3.keccak( b'\x00'*31 + b'\x01' ...


Top 50 recent answers are included