opensea-js - v8.0.20
Preparing search index...
getChainId
Function getChainId
getChainId
(
chain
:
Chain
,
)
:
|
"1"
|
"137"
|
"43114"
|
"42161"
|
"238"
|
"8453"
|
"10"
|
"7777777"
|
"1329"
|
"8333"
|
"80094"
|
"747"
|
"33139"
|
"2020"
|
"2741"
|
"360"
|
"130"
|
"43419"
|
"999"
|
"5031"
|
"143"
|
"4326"
Gets the chain ID for a given chain.
Parameters
chain
:
Chain
The chain to get the ID for
Returns
|
"1"
|
"137"
|
"43114"
|
"42161"
|
"238"
|
"8453"
|
"10"
|
"7777777"
|
"1329"
|
"8333"
|
"80094"
|
"747"
|
"33139"
|
"2020"
|
"2741"
|
"360"
|
"130"
|
"43419"
|
"999"
|
"5031"
|
"143"
|
"4326"
The chain ID as a string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
opensea-js - v8.0.20
Loading...
Gets the chain ID for a given chain.