LogoLogo
HomeMetadata APIAPI PROTwitter
Etherscan
Etherscan
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Gas Tracker
    • Stats
  • 🏆API PRO
    • Etherscan API PRO
    • API PRO Endpoints
    • Metadata API
  • 🧑‍🍳Recipes
    • Get All USDT Transfers from Binance
    • Get the Latest Moonbird NFT Transfers
    • List ETH deposits to Arbitrum Bridge
  • 📖Tutorials
    • Signing Raw Transactions
    • Read/Write Smart Contracts
    • Integrating Google Sheets
  • ✅Contract Verification
    • What's Contract Verification
    • Multichain Verification
    • Supported Chains
    • Common Verification Errors
    • Contract Verification Plugins
  • 🔧Misc Tools & Utilities
    • Libraries
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit Etherscan.io
Powered by GitBook
On this page
  • 1. Determine the contract address of the USDT token
  • 2. Filter by a specific address to watch for
  • 3. Sort by the latest token transfers first
  • 4. Integrate and format token decimals
  • Final Query
  1. Recipes

Get All USDT Transfers from Binance

PreviousAPI PRO EndpointsNextGet the Latest Moonbird NFT Transfers

Last updated 3 months ago

Write a whale watcher Discord bot, monitor for larger transfers or keep tabs on Binance's exchange reserves with this recipe!

Endpoint used: ""

1. Determine the contract address of the USDT token

Simply by going on and searching for "USDT", we're able to determine it as 0xdac17f958d2ee523a2206206994597c13d831ec7 which we'll set as the contractaddress parameter.

2. Filter by a specific address to watch for

In this case, we're looking to observe one of , also tagged and available on Etherscan.

We'll set the address parameter to 0xdfd5293d8e347dfe59e90efd55b2956a1343963d , which indicates that we'll filter token transfers by this address.

3. Sort by the latest token transfers first

As a preference, we'll set the sort parameter to desc to get the latest transactions first, though you can always get the oldest first by flipping it to asc.

4. Integrate and format token decimals

One thing to note is the token value field is returned in the token's smallest representation, you would have to divide this by the token decimal to get the transfer amount.

An example value of 198000000000 would be represented as the transfer of 198000 USDT.

Final Query

https://api.etherscan.io/api
   ?module=account
   &action=tokentx
   &contractaddress=0xdac17f958d2ee523a2206206994597c13d831ec7
   &address=0xdfd5293d8e347dfe59e90efd55b2956a1343963d
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &sort=desc
   &apikey=YourApiKeyToken

Try this endpoint in your

🧑‍🍳
🔀
Get a list of 'ERC20 - Token Transfer Events' by Address
Etherscan
Binance's hot wallets
🔗
browser