ZeroChain
ZeroCurrency blockchain explorer

Search


  ZeroChain Basic Query API
address-balance
Returns amount ever received minus amount ever sent by a given address.
URL
https://zerochain.info/api/addressbalance
Example
https://zerochain.info/api/addressbalance/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK

received-by-address
Returns the amount ever received by a given address.
URL
https://zerochain.info/api/receivedbyaddress
Example
https://zerochain.info/api/receivedbyaddress/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK

sent-by-address
Returns the amount ever received by a given address.
URL
https://zerochain.info/api/sentbyaddress
Example
https://zerochain.info/api/sentbyaddress/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK

address-info
Returns the information for a given address.
URL
https://zerochain.info/api/addressinfo
Example
https://zerochain.info/api/addressinfo/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK

block
Returns the latest block in the chain.
URL
https://zerochain.info/api/block

block-info
Returns the information for a given block hash.
URL
https://zerochain.info/api/blockinfo
Example
https://zerochain.info/api/blockinfo/000004470879b9f99c6f263df830ca82f10935f0a164f704ae0feb90d7f8226d

difficulty
Returns the last solved block's difficulty.
URL
https://zerochain.info/api/difficulty

price
Returns the last trade price.
URL
https://zerochain.info/api/price

  Push Raw Transaction
rawtx
Push raw transaction onto network.
URL
https://zerochain.info/api/rawtx
Example
https://zerochain.info/api/rawtx/xxxxx-raw-data-xxxxx

  Create or Send a Transaction
rawtx-build
Build raw transaction by a given address key & outputs data.
URL
https://zerochain.info/api/rawtxbuild/pkey/toaddress/amount/fees/send
Parameters Example:
#1   From Private Key = L4SSfAAJzeHzHvD6UYfggpCTbWsofAzP79qvJCi6Uy7Sh29AX98g
#2   To Address(es) = t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK_Address2_Address3
#3   Amount to Spend (ZER) = 0.25_Amount2_Amount3
#4   Transaction Fees ( ZER ) = 0.00000001
#5   Send ( 0 or 1 ) = 0     // 0: Returns raw transaction. 1: Push and returns Txid.
Example URL:
https://zerochain.info/api/rawtxbuild/L4SSfAAJzeHzHvD6UYfggpCTbWsofAzP79qvJCi6Uy7Sh29AX98g/
t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK/0.25/0.0001/0


zerochain.info © 2021 | Explorer | Wallet | API | GitHub | CoinMarketCap | Contact