Chain
The chain object represents a supported chain
Hierarchy
↳
Chain
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• new Chain(chainDetails
)
Parameters
Name | Type |
---|---|
chainDetails | ChainDetails |
Inherited from
ChainDetails.constructor
Defined in
Properties
chainId
• chainId: ChainId
Id of chain.
Inherited from
ChainDetails.chainId
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:8
currency
• currency: GasTokenDetails
Inherited from
ChainDetails.currency
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:29
explorers
• explorers: string
[]
Inherited from
ChainDetails.explorers
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:31
icon
• icon: string
URL for icon of chain.
Inherited from
ChainDetails.icon
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:16
isL1
• isL1: boolean
Flag indicating whether the chain is L1.
Inherited from
ChainDetails.isL1
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:20
name
• name: string
Name of chain.
Inherited from
ChainDetails.name
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:12
receivingEnabled
• receivingEnabled: boolean
Flag indicating whether receiving of tokens is supported to chain.
Inherited from
ChainDetails.receivingEnabled
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:28
rpcs
• rpcs: string
[]
Inherited from
ChainDetails.rpcs
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:30
sendingEnabled
• sendingEnabled: boolean
Flag indicating whether sending of tokens is supported from chain.
Inherited from
ChainDetails.sendingEnabled
Defined in
socket-v2-sdk/src/client/models/ChainDetails.ts:24
Accessors
nativeToken
• get
nativeToken(): Token
The native token of the chain