getBlockchains()

Get the blockchains names and addresses

Method Signature:

public function getBlockchains() 

Example:

var blockchains = await CircularProtocolAPI.getBlockchains();

Result

The result will be of type JSON.

{
    "Result": 200,
    "Response": {
        "Blockchains": [
            {
                "Address": "714d2ac07a826b66ac56752eebd7c77b58d2ee842e523d913fd0ef06e6bdfcae",
                "Name": "Circular Main Public"
            },
            {
                "Address": "acb8a9b79f3c663aa01be852cd42725f9e0e497fd849b436df51c5e074ebeb28",
                "Name": "Circular Secondary Public"
            },
            {
                "Address": "e087257c48a949710b48bc725b8d90066871fa08f7bbe75d6b140d50119c481f",
                "Name": "Circular Documark Public"
            },
            {
                "Address": "8a20baa40c45dc5055aeb26197c203e576ef389d9acb171bd62da11dc5ad72b2",
                "Name": "Circular SandBox"
            }
        ]
    },
    "Node": "8a93c6b6f8d166097ddfeb3e5e3a2998b35e0b6f0bd2e31a8a130a11b6749279"
}

Last updated