Skip to content

Node Management

Overall Usage

bash
aleph node [OPTIONS] COMMAND [ARGS]...

Options

OptionTypeDescription
--helpShow this message and exit

Key Commands

CommandDescription
computeGet all compute nodes (CRN) on aleph network
coreGet all core nodes (CCN) on aleph network

Get All Compute Nodes

Get all compute nodes (CRN) on aleph network

Usage

bash
aleph node compute [OPTIONS]

Options

OptionTypeDescription
--json / --no-jsonPrint as JSON instead of a rich table [default: no-json]
--active / --no-activeOnly show active nodes [default: no-active]
--addressTEXTOwner address to filter by
--payg-receiverTEXTPAYG (Pay-As-You-Go) receiver address to filter by
--crn-urlTEXTCRN URL to filter by
--crn-hashTEXTCRN hash to filter by
--ccn-hashTEXTCCN hash to filter by
--debug / --no-debugEnable debug logging [default: no-debug]
--helpShow this message and exit
bash
# Get all compute nodes in JSON format
aleph node compute --json

# Get only active compute nodes
aleph node compute --active

# Get compute nodes filtered by address
aleph node compute --address ADDRESS

Get All Core Nodes

Get all core nodes (CCN) on aleph network

Usage

bash
aleph node core [OPTIONS]

Options

OptionTypeDescription
--json / --no-jsonPrint as JSON instead of a rich table [default: no-json]
--active / --no-activeOnly show active nodes [default: no-active]
--addressTEXTOwner address to filter by
--ccn-hashTEXTCCN hash to filter by
--debug / --no-debugEnable debug logging [default: no-debug]
--helpShow this message and exit
bash
# Get all core nodes in JSON format
aleph node core --json

# Get only active core nodes
aleph node core --active

# Get core nodes filtered by address
aleph node core --address ADDRESS