Chain

isChain

Type guard to check whether string is based on type Chain

Parameters

Returns boolean true or false

chainToString

Convert chain to string.

Parameters

  • chainId

Returns string The string based on the given chain type.