getAddress

suspend fun getAddress(chainId: String): String?

Gets the address associated with the specified chain ID.

Return

The address as a String, or null if no address is found for the given chain ID.

Parameters

chainId

The ID of the chain for which to retrieve the address.


suspend fun getAddress(chain: PortalNamespace): String?

Gets the address associated with the specified PortalNamespace.

Return

The address as a String, or null if no address is found for the given namespace.

Parameters

chain

The PortalNamespace representing the chain for which to retrieve the address.