Quai Network Docs home pagelight logodark logo
  • Developer Discord
  • Claim Rewards
  • Quai Network
  • Quai Network
Utils
BytesLike
Learn
Build
SDK
Client
Guides
Get Involved
Getting Started
  • Introduction
Fundamentals
  • Addresses
  • Smart Contracts
  • Network Providers
  • Transactions
  • Wallets
  • Examples
Reference
  • Address
  • Application Binary Interface
  • Constants
  • Contract
  • Crypto
  • Encoding
  • Hash
  • Other
  • Providers
  • Signers
  • Transaction
  • Utils
    • EventPayload
    • FetchRequest
    • FetchResponse
    • FixedNumber
    • ActionRejectedError
    • BadDataError
    • BufferOverrunError
    • CallExceptionError
    • CancelledError
    • EventEmitterable
    • InsufficientFundsError
    • InvalidArgumentError
    • MissingArgumentError
    • NetworkError
    • NonceExpiredError
    • NotImplementedError
    • NumericFaultError
    • ReplacementUnderpricedError
    • ServerError
    • TimeoutError
    • TransactionReplacedError
    • UnexpectedArgumentError
    • UnknownError
    • UnsupportedOperationError
    • quaisError
    • BigNumberish
    • BytesLike
    • CallExceptionAction
    • CallExceptionTransaction
    • CodedquaisError
    • FetchGatewayFunc
    • FetchGetUrlFunc
    • FetchPreflightFunc
    • FetchProcessFunc
    • FetchRetryFunc
    • FixedFormat
    • GetUrlResponse
    • Listener
    • Numeric
    • concat
    • dataLength
    • dataSlice
    • formatQi
    • formatQuai
    • formatUnits
    • fromTwos
    • getAddressDetails
    • getBigInt
    • getBytes
    • getBytesCopy
    • getNumber
    • getTxType
    • getUint
    • getZoneForAddress
    • hexlify
    • isBytesLike
    • isCallException
    • isError
    • isHexString
    • makeError
    • mask
    • parseQi
    • parseQuai
    • parseUnits
    • stripZerosLeft
    • toBeArray
    • toBeHex
    • toBigInt
    • toNumber
    • toQuantity
    • toTwos
    • uuidV4
    • zeroPadBytes
    • zeroPadValue
  • Wallet
  • Wordlists
Utils

BytesLike

type BytesLike: DataHexString | Uint8Array;

An object that can be used to represent binary data.

​
Source

utils/data.ts:27

Was this page helpful?

Suggest editsRaise issue
BigNumberishCallExceptionAction
xgithublinkedin
Powered by Mintlify
On this page
  • Source