Search
Preparing search index...
The search index is not available
Anchor Link - v3.4.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Anchor Link - v3.4.0
ChainId
Class ChainId
Hierarchy
Checksum256
ChainId
Index
Constructors
constructor
Properties
array
abi
Name
byte
Size
Accessors
chain
Name
chain
Variant
hex
String
Methods
equals
toABI
toJSON
to
String
from
fromABI
hash
Constructors
constructor
new
Chain
Id
(
array
:
Uint8Array
)
:
ChainId
Parameters
array:
Uint8Array
Returns
ChainId
Properties
Readonly
array
array
:
Uint8Array
Static
abi
Name
abi
Name
:
string
Static
byte
Size
byte
Size
:
number
Accessors
chain
Name
get
chainName
(
)
:
ChainName
Returns
ChainName
chain
Variant
get
chainVariant
(
)
:
ChainIdVariant
Returns
ChainIdVariant
hex
String
get
hexString
(
)
:
string
Returns
string
Methods
equals
equals
(
other
:
string
|
Checksum256
|
Bytes
|
ArrayBufferView
|
ArrayBuffer
|
ArrayLike
<
number
>
|
Checksum160
|
Checksum512
)
:
boolean
Parameters
other:
string
|
Checksum256
|
Bytes
|
ArrayBufferView
|
ArrayBuffer
|
ArrayLike
<
number
>
|
Checksum160
|
Checksum512
Returns
boolean
toABI
toABI
(
encoder
:
ABIEncoder
)
:
void
Parameters
encoder:
ABIEncoder
Returns
void
toJSON
toJSON
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string
Static
from
from
(
value
:
ChainIdType
)
:
ChainId
Parameters
value:
ChainIdType
Returns
ChainId
Static
fromABI
fromABI
<
T
>
(
this
:
T
, decoder
:
ABIDecoder
)
:
InstanceType
<
T
>
fromABI
(
decoder
:
ABIDecoder
)
:
unknown
Type parameters
T
:
typeof
Checksum
Parameters
this:
T
decoder:
ABIDecoder
Returns
InstanceType
<
T
>
Parameters
decoder:
ABIDecoder
Returns
unknown
Static
hash
hash
(
data
:
BytesType
)
:
Checksum256
Parameters
data:
BytesType
Returns
Checksum256
Exports
Chain
Id
constructor
array
abi
Name
byte
Size
chain
Name
chain
Variant
hex
String
equals
toABI
toJSON
to
String
from
fromABI
hash
Generated using
TypeDoc