Readonly
_Static
LOCAL_Static
MAINNETStatic
PREVIEWNETStatic
TESTNETIf the ledger ID is a known value such as [0]
, [1]
, [2]
this method
will instead return "mainnet", "testnet", or "previewnet", otherwise it will
hex encode the bytes.
Static
fromUsing the UTF-8 byte representation of "mainnet", "testnet", or "previewnet" is NOT supported.
Static
from
Represents the ID of a network.