forked from Izzzio/BitCoenWallet
-
Notifications
You must be signed in to change notification settings - Fork 3
BitCoen Explorer API
Andrey Nedobylsky edited this page Aug 11, 2018
·
9 revisions
Explorer API provides some public exploring methods.
Base API endpoint: http://explorer.bitcoen.io/api_v1
Returns main info about network
- status - "ok" or "error"
- data - if status = "ok" data contains information about network
-
- maxBlock - Last network block index
-
- peers - Array of actual network peers
-
- options - Basic information about chain config
-
-
- genesisTiemstamp - Network genesis timestamp
-
-
-
- precision - Token precision
-
-
- block - Last block in blockchain
-
-
- index - Block index
-
-
-
- hash - Block Hash
-
-
-
- previousHash - Previous Block Hash
-
-
-
- sign - Block sign or empty when block mined by LCPoA consensus
-
-
-
- timestamp - Block timestamp
-
-
-
- startTimestamp - Block mining start timestamp (Equals to timestamp for Trusted consensus)
-
-
-
- data - Block data
-
- WALLET_ADDRESS - Tiny or full wallet address
Returns info about address and balance
- status - "ok" or "error"
- data - if status = "ok" data contains information about wallet
-
- balance - Wallet balance
-
- block - Wallet block
-
- id - Wallet address
-
- keysPair - Wallet keys (only public)
-
-
- public - Wallet publci key
-
- WALLET_ADDRESS - Tiny or full wallet address
Returns income and outcome wallet transactions
- status - "ok" or "error"
- data - if status = "ok" data contains information about wallet transactions
-
- income - Array of income wallet transactions
-
-
- [] - Transaction
-
-
-
-
- amount - Transaction amount in Mil
-
-
-
-
-
- block - Transaction block
-
-
-
-
-
- block - Transaction block
-
-
-
-
-
- from - Transaction sender wallet id
-
-
-
-
-
- to - Transaction recipient wallet id
-
-
-
-
-
- timestamp - Transaction timestamp
-
-
-
-
-
- fromTimestamp - Transaction activation timestamp
-
-
-
-
-
- txh - Transaction hash
-
-
-
- outcome - Array of outcome wallet transactions
-
-
- [] - Transaction
-
-
-
-
- amount - Transaction amount in Mil
-
-
-
-
-
- block - Transaction block
-
-
-
-
-
- block - Transaction block
-
-
-
-
-
- from - Transaction sender wallet id
-
-
-
-
-
- to - Transaction recipient wallet id
-
-
-
-
-
- timestamp - Transaction timestamp
-
-
-
-
-
- fromTimestamp - Transaction activation timestamp
-
-
-
-
-
- txh - Transaction hash
-
-
- HASH - Transaction hash
Returns info about transaction
- status - "ok" or "error"
- data - if status = "ok" data contains information about transaction
-
-
- amount - Transaction amount in Mil
-
-
-
- block - Transaction block
-
-
-
- block - Transaction block
-
-
-
- from - Transaction sender wallet id
-
-
-
- to - Transaction recipient wallet id
-
-
-
- timestamp - Transaction timestamp
-
-
-
- fromTimestamp - Transaction activation timestamp
-
-
-
- txh - Transaction hash
-
- INDEX - Block index
Returns all transactions in block
- status - "ok" or "error"
- data - if status = "ok" data contains array of transactions
-
-
- [] - Transaction
-
-
-
-
- amount - Transaction amount in Mil
-
-
-
-
-
- block - Transaction block
-
-
-
-
-
- block - Transaction block
-
-
-
-
-
- from - Transaction sender wallet id
-
-
-
-
-
- to - Transaction recipient wallet id
-
-
-
-
-
- timestamp - Transaction timestamp
-
-
-
-
-
- fromTimestamp - Transaction activation timestamp
-
-
-
-
-
- txh - Transaction hash
-
-