GET api/BlockchainAPI/GetBlockchainData?Coin={Coin}

Returns blockchain and connection information by coin

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Coin

string

Required

Body Parameters

None.

Response Information

Resource Description

BlockchainData
NameDescriptionTypeAdditional information
EntryId

Int Counter for Entry ID Key

integer

None.

CoinName

Coin Name

string

None.

BlockHeight

THe current height of the blockchain

integer

None.

Connections

How many wallet connections we have

integer

None.

BestBlock

The current best block we have

string

None.

Volume

24 hour volume on bittrex

decimal number

None.

Bid

Exchange Rate Bid Price, powered by bittrex

decimal number

None.

Ask

Exchange Ask Price, powered by bittrex

decimal number

None.

PollTime

Time the entry was added

date

None.

ReadyToArchive

Internal flag for archiving

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "EntryId": 1,
  "CoinName": "sample string 2",
  "BlockHeight": 3,
  "Connections": 4,
  "BestBlock": "sample string 5",
  "Volume": 6.1,
  "Bid": 7.1,
  "Ask": 8.1,
  "PollTime": "2019-05-22T20:51:42.1604722+00:00",
  "ReadyToArchive": true
}

text/html

Sample:
{"EntryId":1,"CoinName":"sample string 2","BlockHeight":3,"Connections":4,"BestBlock":"sample string 5","Volume":6.1,"Bid":7.1,"Ask":8.1,"PollTime":"2019-05-22T20:51:42.1604722+00:00","ReadyToArchive":true}

application/xml, text/xml

Sample:
<BlockchainData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EnigmaCrypto.Models">
  <Ask>8.1</Ask>
  <BestBlock>sample string 5</BestBlock>
  <Bid>7.1</Bid>
  <BlockHeight>3</BlockHeight>
  <CoinName>sample string 2</CoinName>
  <Connections>4</Connections>
  <EntryId>1</EntryId>
  <PollTime>2019-05-22T20:51:42.1604722+00:00</PollTime>
  <ReadyToArchive>true</ReadyToArchive>
  <Volume>6.1</Volume>
</BlockchainData>