Get the Sui GraphQL query endpoint URL for the given network.
Resolves against the active event transport: the sse transport uses the
subscription-capable ("cockroach") endpoint for its queries too, while grpc
(and the default) use the standard endpoint.
Unknown networks fall back to
testnet to avoid returning undefined.
Parameters
env: string = DEFAULT_GRAPHQL_NETWORK
Network identifier (testnet, devnet, mainnet). Defaults to testnet.
Get the Sui GraphQL query endpoint URL for the given network.
Resolves against the active event transport: the
ssetransport uses the subscription-capable ("cockroach") endpoint for its queries too, whilegrpc(and the default) use the standard endpoint.Unknown networks fall back to testnet to avoid returning undefined.