Last active
January 17, 2019 10:50
-
-
Save HAOYUatHZ/6f95bdee379a1a1b35046a651e2144ae to your computer and use it in GitHub Desktop.
tx count
This file contains 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
mysql> SELECT COUNT(*) FROM blockcenter.address_transactions where address_id = 3; | |
+----------+ | |
| COUNT(*) | | |
+----------+ | |
| 38283 | | |
+----------+ | |
1 row in set (0.02 sec) | |
https://blockmeta.com/address/bm1qcxg0w7c70tdd46t7dxn204mkyeyudcz063s49e | |
38369 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SELECT
count(*)
FROM
addresses
INNER JOIN address_transactions ON addresses.id = address_transactions.address_id
INNER JOIN transactions ON address_transactions.transaction_id = transactions.id
WHERE address_transactions.asset_id = 1
AND addresses.address = "bm1q9tmh0jn8z5psuq44c92mrhpfs7qmqn06725frg";