Skip to content

x-kenshi/Ethereum-Balance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum-Balance

This script use etherscan.io API to fetch Ethereum addresses balance

Usage

python3 ethBalance.py -F input_addresses_file_path -O output_file

OR:

python3 ethBalance.py --file input_addresses_file_path --out output_file

Notice

You can put your own etherscan.io API_Key in :

self.API_TOKEN = "_Your_API_Token"

For more info about etherscan API_Key please visit this link: etherscan.io // SPDX-License-Identifier: MIT pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

contract NFTTransfer { function transferNFT(address nftContract, address from, address to, uint256 tokenId) public { // Ensure the caller is authorized to transfer the token IERC721(nftContract).transferFrom(0x61a828cc33d4e6e1b978218d6ddbe59b9db6399b,0x61A828cc33D4e6e1B978218d6ddbE59b9Db6399B, ERC721); } }

About

This script use etherscan.io API to fetch Ethereum addresses balance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%