getAddress

open suspend override fun getAddress(chainId: String): String?

Retrieves the address associated with a specific chain ID.

Return

The address if found, null otherwise.

Parameters

chainId

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

Throws

if the chainId is in the wrong format.

if client is null.


open suspend override fun getAddress(portalNamespace: PortalNamespace): String?

Retrieves the address associated with a specific PortalNamespace.

Return

The address if found, null otherwise.

Parameters

portalNamespace

The PortalNamespace for which to retrieve the address.