Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Checksum256
    • ChainId

Index

Constructors

  • new ChainId(array: Uint8Array): ChainId
  • Parameters

    • array: Uint8Array

    Returns ChainId

Properties

array: Uint8Array
abiName: string
byteSize: number

Accessors

  • Returns ChainName

  • get chainVariant(): ChainIdVariant
  • Returns ChainIdVariant

  • get hexString(): string
  • Returns string

Methods

  • 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(encoder: ABIEncoder): void
  • Parameters

    • encoder: ABIEncoder

    Returns void

  • toJSON(): string
  • Returns string

  • toString(): string
  • Returns string

  • Parameters

    Returns ChainId

  • 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

  • hash(data: BytesType): Checksum256
  • Parameters

    • data: BytesType

    Returns Checksum256

Generated using TypeDoc