getAnalytics()
Get blockchain infos
Method Signature
public function getAnalytics($blockchain)
Parameters
Name
Type
Description
blockchain
string
Blockchain address in hex
Example
<?php
require 'vendor/autoload.php';
use CircularProtocol\Api\CircularProtocolAPI;
$circular = new CircularProtocolAPI();
$blockchain = "0x8a20baa40c45dc5055aeb26197c203e576ef389d9acb171bd62da11dc5ad72b2";
$result = $circular->getAnalytics($blockchain);
Result
The result will be of type Array
, but for easier readability, here is the equivalent in JSON.
{
"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"
}
Last updated