wallet-cli networks

July 15, 2026 · View on GitHub

List known networks.

Synopsis

wallet-cli networks [options]

Options

Global options only.

Examples

wallet-cli networks
| Network      | Family | Chain   | Fee model     |
| ------------ | ------ | ------- | ------------- |
| tron:mainnet | tron   | mainnet | tron-resource |
| tron:nile    | tron   | nile    | tron-resource |
| tron:shasta  | tron   | shasta  | tron-resource |
wallet-cli networks -o json
{"schema":"wallet-cli.result.v1","success":true,"command":"networks","data":[{"id":"tron:mainnet","family":"tron","chainId":"mainnet","feeModel":"tron-resource"},{"id":"tron:nile","family":"tron","chainId":"nile","feeModel":"tron-resource"},{"id":"tron:shasta","family":"tron","chainId":"shasta","feeModel":"tron-resource"}],"meta":{"durationMs":2,"warnings":[]}}

Output

data is an array, one entry per known network. Local command — no chain block.

FieldTypeMeaning
idstringCanonical network id (family:chain)
familystringChain family, e.g. tron
chainIdstringChain identifier within the family, e.g. mainnet
feeModelstringFee model, e.g. tron-resource

Exit status

0 success · 1 execution failure · 2 usage error. See machine-interface.

See also

Networks concept · config