getAnalytics()
Get blockchain infos
Method Signature
def getAnalytics(self, blockchain)
Parameters
Name | Type | Description |
---|---|---|
| string or hexadecimal | Blockchain address |
Example
from circular_protocol_api import CircularProtocolAPI
blockhain = 0x8a20baa40c45dc5055aeb26197c203e576ef389d9acb171bd62da11dc5ad72b2
circular = CircularProtocolAPI()
result = circular.getAnalytics(blockchain)
Result
{
"Result": 200,
"Response": {
"Network_ID": "Testnet",
"Blockchain": "8a20baa40c45dc5055aeb26197c203e576ef389d9acb171bd62da11dc5ad72b2",
"Wallets": "279",
"SmartContracts": "55",
"SmartContractsTx": "100",
"Assets": "17",
"CRC_0123": "12",
"CRC_0223": "5",
"CRC_0323": "0",
"CRC_0XXX": "0",
"Vouchers": "27",
"OutVouchers": "6",
"Transactions": "4701",
"BroadcastingFees": "4143.000000",
"TransactionFees": "0.000000",
"Royalties": "0.000000",
"CIRXTransfers": "2334349672.356595"
},
"Node": "fc8fe5ee103dafe353c98ce90a1cb2956fd51a109512e074bd3d26a06d268e81"
}
Wrong blockchain address:
{
"Result": 118,
"Response": "Wrong Format",
"Node": "7bb5bd50729d6857942701d5673ea70ca1625f883230d8543970a452d1abe1c4"
}
Last updated