Noah Network
Convenience constants for the CAIP-2 chain IDs that connect-api accepts in Noah network parameters.
Only chains present in connect-api's CAIP2_TO_NOAH_NETWORK map are included. Passing any other value is rejected with a 400 (io.portalhq.android.exceptions.PortalException.Api.HttpBadRequest) because the chain is not mapped to a Noah network.
The BFF first validates the [namespace]:[reference] format and then translates the chain ID into Noah's internal network string (e.g. "eip155:1" ->"Ethereum"). A non-CAIP-2 value (e.g. "ethereum") fails the format check and is rejected with a 400 as well.
Branch on the exception type and rawBody rather than the error message text — the wording of these backend messages is not a stable API.
Properties
Base Sepolia testnet — eip155:84532 -> Noah "BaseTestSepolia".
Ethereum Sepolia testnet — eip155:11155111 -> Noah "EthereumTestSepolia". Use with sandbox-only test assets such as USDC_TEST.
Gnosis Chiado testnet — eip155:10200 -> Noah "GnosisTestChiado".
Polygon Amoy testnet — eip155:80002 -> Noah "PolygonTestAmoy".
Solana devnet — solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 -> Noah "SolanaDevnet". Equivalent to solana:devnet on the BFF.