ZeroChain
ZeroCurrency blockchain explorer


  Request API Key
> Request New API Key


  ZeroChain Basic Query API
address-balance
Returns amount ever received minus amount ever sent by a given address.
URL
https://zerochain.app/api/addressbalance/{address}/{api-key}
Example
https://zerochain.app/api/addressbalance/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK/6lApOAvq55

received-by-address
Returns the amount ever received by a given address.
URL
https://zerochain.app/api/receivedbyaddress/{address}/{api-key}
Example
https://zerochain.app/api/receivedbyaddress/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK/6lApOAvq55

sent-by-address
Returns the amount ever received by a given address.
URL
https://zerochain.app/api/sentbyaddress/{address}/{api-key}
Example
https://zerochain.app/api/sentbyaddress/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK/6lApOAvq55

address-info
Returns the information for a given address.
URL
https://zerochain.app/api/addressinfo/{address}/{api-key}
Example
https://zerochain.app/api/addressinfo/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK/6lApOAvq55

transaction-info
Returns the information for a given transaction id.
URL
https://zerochain.app/api/txid/{transaction}/{api-key}
Example
https://zerochain.app/api/txid/d4755ae5a4e9cddc8f62ee74d178859161a23becd951c5559788994603a25fd7/6lApOAvq55

getnewaddress
Returns random address with the private key.
URL
https://zerochain.app/api/getnewaddress/{api-key}

block
Returns the latest block in the chain.
URL
https://zerochain.app/api/block/{api-key}

block-info
Returns the information for a given block hash.
URL
https://zerochain.app/api/blockinfo/{block}/{api-key}
Example
https://zerochain.app/api/blockinfo/000004470879b9f99c6f263df830ca82f10935f0a164f704ae0feb90d7f8226d/6lApOAvq55

difficulty
Returns the last solved block's difficulty.
URL
https://zerochain.app/api/difficulty/{api-key}

price
Returns the last trade price.
URL
https://zerochain.app/api/price/{api-key}

volume
Returns swap volume last 24 hours.
URL
https://zerochain.app/api/volume/{api-key}
https://zerochain.app/api/volumeusd/{api-key}
https://zerochain.app/api/volume7d/{api-key}

nodes
Returns masternodes number.
URL
https://zerochain.app/api/nodes/{api-key}

nodes-info
Returns masternodes details.
URL
https://zerochain.app/api/nodes-info/{api-key}

  Push Raw Transaction
rawtx
Push raw transaction onto network.
URL
https://zerochain.app/api/rawtx/{raw}/{api-key}
Example
https://zerochain.app/api/rawtx/xxxxx-raw-data-xxxxx/6lApOAvq55

  Create or Send a Transaction
rawtx-build
Build raw transaction by a given address key & outputs data.
URL
https://zerochain.app/api/rawtxbuild/pkey/toaddress/amount/fees/send/api-key
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.
#6   API Key = Get one instantly
Example URL:
https://zerochain.app/api/rawtxbuild/L4SSfAAJze....7Sh29AX98g/t1PGNLKNm9ABoaWQTBNjy41ZCUoSXqv4DLK/0.25/0.0001/0/6lApOAvq55

   zerochain.info © 2021 - 2024 Explorer
Wallet
Swap
API
Charts
Blocks
Mempool
Nodes
Official
CoinMarketCap
CoinGecko
Links
Contact
Privacy Policy
White Paper