-
-
Save scriptzteam/f89b9f8440869c4c6da34a04cdbb08bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require('axios') | |
const toStringParams = o => | |
Object | |
.keys(o) | |
.map(k => `${k}=${o[k]}`) | |
.join('&') | |
const whaleTxns = async (from) => await axios | |
.get(`https://api.clankapp.com/v2/explorer/tx?${toStringParams({ | |
s_date: 'desc', | |
size: 10000, | |
'>_amount_usd': 10000000, | |
t_symbol: 'btc', | |
t_to_owner: 'binance', | |
t_transaction_type: 'transfer', | |
api_key: 'YOUR_API_KEY' | |
})}`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment