/axelar/nexus/v1beta1/chain_state - Axelar

Returns the state of a registered chain: whether it is activated, its maintainers (validators securing it), and the assets registered on it.

Endpoint

httpGET /axelar/nexus/v1beta1/chain_state

Query Parameters

ParameterTypeDescription
chainstringChain name (e.g. ethereum)

Example

bashexport AXELAR_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${AXELAR_REST}axelar/nexus/v1beta1/chain_state?chain=ethereum"

Response

json{
    "state": {
        "chain": {
            "name": "Ethereum",
            "supports_foreign_assets": true,
            "key_type": "KEY_TYPE_MULTISIG",
            "module": "evm"
        },
        "activated": true,
        "assets": [
            {
                "denom": "uaxl",
                "is_native_asset": false
            }
        ],
        "maintainer_states": []
    }
}

Response Fields

FieldTypeDescription
state.activatedbooleanWhether the chain is active
state.assetsarrayAssets registered on the chain
state.maintainer_statesarrayValidators maintaining the chain

Use Cases

  • Routing: Confirm a chain is activated
  • Asset Support: List assets on a chain

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA parameter was invalid
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect