AiBlockChain Public API
A listing of public API endpoints for retrieving AiBlockChain coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.aibcexplorer.net:3443/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.aibcexplorer.net:3443/api/getconnectioncount
- getblockcountReturns the current block index.aibcexplorer.net:3443/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.aibcexplorer.net:3443/api/getblockhash?index=71
- getblock [hash]Returns information about the block with the given hash.aibcexplorer.net:3443/api/getblock?hash=b91efd34895e8fdefc5d58cb376cb29b9d6da9838df1735b5ce135fdcfdd3644
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
- getnetworkhashpsReturns the current network hashrate. (hash/s)aibcexplorer.net:3443/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyaibcexplorer.net:3443/ext/getmoneysupply
- getdistributionReturns wealth distribution statsaibcexplorer.net:3443/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressaibcexplorer.net:3443/ext/getaddress/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]aibcexplorer.net:3443/ext/getaddresstxs/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashaibcexplorer.net:3443/ext/gettx/d17cf235841d4d7dda93b690cf6625592ebcc6a2de14519fa7870cb3ae8c7f6a
- getbalance (/ext/getbalance/hash)Returns current balance of given addressaibcexplorer.net:3443/ext/getbalance/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er
- getlasttxs (/ext/getlasttxs/min/start/length)Returns last [length] transactions greater than [min] coins, starting from offset [start]Note: [length] is limited to returning 100 records per query
- getcurrentpriceReturns last known exchange priceaibcexplorer.net:3443/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursaibcexplorer.net:3443/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT priceaibcexplorer.net:3443/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, network connection count, block countaibcexplorer.net:3443/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)aibcexplorer.net:3443/tx/d17cf235841d4d7dda93b690cf6625592ebcc6a2de14519fa7870cb3ae8c7f6a
- block (/block/hash)aibcexplorer.net:3443/block/b91efd34895e8fdefc5d58cb376cb29b9d6da9838df1735b5ce135fdcfdd3644
- address (/address/hash)aibcexplorer.net:3443/address/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er
- qrcode (/qr/hash)aibcexplorer.net:3443/qr/aibc1qngha6xm0y45969juz20h4vswvx05rtqfpsv6er