Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "generic"

Index

Functions

addProof

Const base64Prefix

  • base64Prefix(str: string | null): null | string

chainIdFromRecipient

  • chainIdFromRecipient(recipient: string): number

convertToPairs

fee

getSenderPublicKey

  • getSenderPublicKey(seedsAndIndexes: [string | TPrivateKey, undefined | number][], params: Partial<WithSender>): string

Const isOrder

  • isOrder(p: any): p is ExchangeTransactionOrder & WithProofs & WithSender
  • Parameters

    • p: any

    Returns p is ExchangeTransactionOrder & WithProofs & WithSender

Const mapObj

  • mapObj<T, U, K>(obj: Record<K, T>, f: (v: T) => U): Record<K, U>
  • Type parameters

    • T

    • U

    • K: string

    Parameters

    • obj: Record<K, T>
    • f: (v: T) => U
        • (v: T): U
        • Parameters

          • v: T

          Returns U

    Returns Record<K, U>

networkByte

  • networkByte(p: number | string | undefined, def: number): number
  • Parameters

    • p: number | string | undefined
    • def: number

    Returns number

normalizeAssetId

  • normalizeAssetId(assetId: string | null): null | string
  • Parameters

    • assetId: string | null

    Returns null | string

Generated using TypeDoc