Skip to content

Latest commit

 

History

History
145 lines (83 loc) · 2.99 KB

api.md

File metadata and controls

145 lines (83 loc) · 2.99 KB

API

Block

Block Info

GET /block/{xxx}

xxx can be:

  • Block height
  • Block hash
  • String latest

Examples

Block List

Get block list by date.

GET /block/date/{ymd}

Examples

Block Transactions

Batch request is not supported now.

GET /block/{xxx}/tx

Parameters:

  • page, optional, default to 1
  • pagesize,optional, default to 50, min 1, max 50

Examples

Transaction

Transaction Info

GET /tx/{txhash}

Examples

Unconfirmed Tranasction Hash

GET /tx/unconfirmed

Examples

https://chain.api.cloverpool.com/tx/unconfirmed

Unconfirmed Tranasctions Summary

GET /tx/unconfirmed/summary

Examples

https://chain.api.cloverpool.com/tx/unconfirmed/summary

Address

Address Info

GET /address/{address}

Examples

Address Transactions

Batch request is not supported now.

GET /address/{address}/tx

Parameters:

  • page, optional, default to 1
  • pagesize,optional, default to 50, min 1, max 50

Examples

https://chain.api.cloverpool.com/address/15urYnyeJe3gwbGJ74wcX89Tz7ZtsFDVew/tx

Unspent

Batch request is not supported now.

GET /address/{address}/unspent

Examples

https://chain.api.cloverpool.com/address/15urYnyeJe3gwbGJ74wcX89Tz7ZtsFDVew/unspent