Usage: /q/query[/parameter]
Queries currently supported:
Real-time stats
While Bitcoin Block Explorer can run at a delay of up to two minutes, these tools are all completely real-time.
Delayed stats
These use BBE data.
- avgtxsize - shows the average transaction data size in bytes. The parameter sets how many blocks to look back at (default 1000).
- avgtxvalue - shows the average BTC input value per transaction, not counting generations. The parameter sets how many blocks to look back at (default 1000).
- avgblocksize - shows the average block size. The parameter sets how many blocks to look back at (default 1000).
- interval - shows the average interval between blocks, in seconds. The parameter sets how many blocks to look back at (default 1000).
- eta - shows the estimated number of seconds until the next retarget. The parameter sets how many blocks to look back at (default 1000). Blocks before the last retarget are never taken into account, however.
- avgtxnumber - shows the average number of transactions per block. The parameter sets how many blocks to look back at (default 1000).
- getreceivedbyaddress - shows the total BTC received by an address.
- getsentbyaddress - shows the total BTC sent by an address. Do not use this unless you know what you are doing: it does not do what you might expect.
- addressbalance - shows received BTC minus sent BTC for an address. Do not use this unless you know what you are doing: it does not do what you might expect.
- addressfirstseen - shows the time at which an address was first seen on the network.
- nethash - produces CSV statistics about block difficulty. The parameter sets the interval between data points.
- mytransactions - dumps all transactions for given addresses
- reorglog - a log of reorg events
Tools
- addresstohash - converts a Bitcoin address to a hash160.
- hashtoaddress - converts a hash160 to a Bitcoin address.
- checkaddress - checks a Bitcoin address for validity.
- hashpubkey - creates a hash160 from a public key.
- changeparams - calculates the end total number of bitcoins with different starting parameters.
This server is up more than 99% of the time, but anything that pulls data from here should still be prepared for failure.