Options
All
  • Public
  • Public/Protected
  • All
Menu

opensea-js

Index

Functions

Const encodeAtomicizedBuy

  • encodeAtomicizedBuy(schemas: Schema<WyvernAsset>[], assets: WyvernAsset[], address: string, wyvernProtocol: WyvernProtocol, networkName: Network): CallSpec

Const encodeAtomicizedSell

  • encodeAtomicizedSell(schemas: Schema<WyvernAsset>[], assets: WyvernAsset[], address: string, wyvernProtocol: WyvernProtocol, networkName: Network): CallSpec

Const encodeCall

  • encodeCall(abi: AnnotatedFunctionABI, parameters: unknown[]): string

Const encodeDefaultCall

  • encodeDefaultCall(abi: AnnotatedFunctionABI, address: string): string

Const encodeReplacementPattern

  • encodeReplacementPattern(abi: AnnotatedFunctionABI, kind?: FunctionInputKind, encodeToBytes?: boolean): string
  • Parameters

    • abi: AnnotatedFunctionABI
    • Optional kind: FunctionInputKind
    • Optional encodeToBytes: boolean

    Returns string

Const encodeSell

  • encodeSell(schema: Schema<WyvernAsset>, asset: WyvernAsset, address: string, validatorAddress?: string): CallSpec
  • Parameters

    • schema: Schema<WyvernAsset>
    • asset: WyvernAsset
    • address: string
    • Optional validatorAddress: string

    Returns CallSpec

Const orderFromJSON

  • orderFromJSON(order: any): Order

Const orderToJSON

  • orderToJSON(order: Order): OrderJSON
  • Convert an order to JSON, hashing it as well if necessary

    Parameters

    • order: Order

      order (hashed or unhashed)

    Returns OrderJSON

Generated using TypeDoc