Bitcoin / Ethereum Address Watcher
View all Actors
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative ActorsBitcoin / Ethereum Address Watcher
pocesar/crypto-watcher
Scrape and watch for balance and transactions for Bitcoin and Ethereum addresses.
Watch for balance and transactions for Bitcoin and Ethereum addresses.
Features
- Filter by date of transactions
- Watch Ethereum (0x addresses) and Bitcoin addresses (1, 3 and bech addresses)
- Execute webhooks when done
Output
BTC:
1{ 2 "type": "BTC", 3 "address": "1CounterpartyXXXXXXXXXXXXXXXUWLpVr", 4 "tag": null, 5 "balance": "213093144295", 6 "count": 2811, 7 "scrapedAt": "2021-03-08T05:20:33.876Z", 8 "amount": "4376", 9 "from": [ 10 { 11 "address": "bc1qp4gqa0pmh9646jcfyfx3zm5056rtc0p6jpuys2", 12 "value": 547 13 }, 14 { 15 "address": "bc1qmx9sytlvxd56h3u9jkquhr3w8yxxnqej6hyyap", 16 "value": 547 17 }, 18 { 19 "address": "bc1qmx9sytlvxd56h3u9jkquhr3w8yxxnqej6hyyap", 20 "value": 547 21 }, 22 { 23 "address": "bc1qp4gqa0pmh9646jcfyfx3zm5056rtc0p6jpuys2", 24 "value": 547 25 }, 26 { 27 "address": "bc1qu3wag4aswmdnxu28y97jn5342usq5y6fw0ur7l", 28 "value": 547 29 }, 30 { 31 "address": "bc1qmx9sytlvxd56h3u9jkquhr3w8yxxnqej6hyyap", 32 "value": 547 33 }, 34 { 35 "address": "bc1qp4gqa0pmh9646jcfyfx3zm5056rtc0p6jpuys2", 36 "value": 547 37 }, 38 { 39 "address": "bc1q3h4wgkddrrr6rn9j7lm2ph69pg6xaxf2ve6d7t", 40 "value": 547 41 } 42 ], 43 "to": [ 44 { 45 "address": "1CounterpartyXXXXXXXXXXXXXXXUWLpVr", 46 "value": 3787 47 } 48 ], 49 "block": 664103, 50 "tx": "999f65a99aed2e10c586b6b24305fd55914d3cf1f9b70f57ab6eb3086f60ff00", 51 "date": "2021-01-01T06:34:16.000Z", 52 "fee": "589" 53}
ETH:
1{ 2 "type": "ETH", 3 "address": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe", 4 "tag": "EthDev", 5 "balance": "458340.509778549895480972", 6 "count": "743", 7 "scrapedAt": "2021-03-08T05:18:39.317Z", 8 "amount": "0.00075936", 9 "from": [ 10 "0xd8215a28bbe8937dd37f4dd1d554944256febdfa" 11 ], 12 "to": [ 13 "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe" 14 ], 15 "block": "11761363", 16 "tx": "0xcfc0bc2f636f93b93fed948fe9b25e69aa1144a6b520f8996155296e23e313db", 17 "date": "2021-01-31 03:40:21", 18 "fee": "0.00314776" 19}
N.B.: all numbers are strings since Javascript can change the floats and create imprecise results.
Advanced usage
- Follow transactions using "Extend Scraper Function"
1async ({ request, data, label, addWallet }) => { 2 if (label === 'TRANSACTIONS' && data) { 3 for (const transaction of data) { 4 for (const toAddress of transation.to) { 5 const address = toAddress.address || toAddress; 6 if (address !== data.address) { 7 await addWallet(address); 8 } 9 } 10 } 11 } 12}
License
Apache-2.0
Developer
Maintained by Community
Categories