RpcTestResult class
Result of NetworkApi.testRpc.
Shape depends on type — fields relevant to the other chain
families stay null. Use the boolean getters (isEvm, isSolana,
isBitcoin) or switch on type to pick the right read-side fields.
Constructors
Properties
- bitcoinBlocks → int?
-
Current block height.
final
- bitcoinChain → String?
-
chainfield fromgetblockchaininfo(e.g.main,test,regtest,signet— or fork-specific names).final - chainId → int?
-
EVM chain id (from
net_version). Null for non-EVM probes.final - currencySymbol → String?
-
Native currency symbol (e.g.
ETH).final -
evmInfo
→ Map<
String, dynamic> ? -
Raw ethereum-lists
chains.jsonrecord, if matched.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isBitcoin → bool
-
no setter
- isEvm → bool
-
no setter
- isSolana → bool
-
no setter
- name → String?
-
Human-readable chain name (e.g.
Ethereum Mainnet) when the id is in the built-in registry.final - rpc → String
-
Echoed RPC URL that was tested.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- solanaCluster → String?
-
Named cluster resolved from
getGenesisHash:mainnet-beta,devnet,testnet, orunknown.final - solanaVersion → String?
-
solana-coreversion string (fromgetVersion).final - type → String
-
Chain family the probe targeted:
evm,solana, orbitcoin.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited