Hierarchy

  • Reservoir

Constructors

Methods

  • Parameters

    • __namedParameters: {
          orderId: string;
      }
      • orderId: string

    Returns Promise<{}>

  • Parameters

    • __namedParameters: {
          orderId: string;
      }
      • orderId: string

    Returns Promise<{}>

  • Parameters

    • price: bigint
    • currencyAddress: `0x${string}`

    Returns {}

    • Parameters

      • __namedParameters: {
            module: `0x${string}`;
            data: `0x${string}`;
            value: bigint;
        }
        • module: `0x${string}`
        • data: `0x${string}`
        • value: bigint

      Returns `0x${string}`

    • Parameters

      • __namedParameters: {
            askOrBid: SeaportAskOrBid;
            signature: `0x${string}`;
            side?: "bid" | "ask";
        }
        • askOrBid: SeaportAskOrBid
        • signature: `0x${string}`
        • Optional side?: "bid" | "ask"

      Returns Promise<{
          callbackData: `0x${string}`;
          value: bigint;
          isSeaportCall: boolean;
      }>

    • Parameters

      • __namedParameters: {
            askOrBid: SeaportAskOrBid;
            signature: `0x${string}`;
            tokenId: bigint;
        }

      Returns Promise<{
          callbackData: `0x${string}`;
          value: bigint;
          isSeaportCall: boolean;
      }>

    • Parameters

      • tokensToBuy: {
            collectionContractAddress: `0x${string}`;
            tokenId: bigint;
            price: bigint;
            orderSource: string;
        }[]

      Returns Promise<true | Execute>

    • Parameters

      • __namedParameters: {
            collectionContractAddress: string;
            tokenId: bigint;
            price: bigint;
            exactOrderSource: string;
        }
        • collectionContractAddress: string
        • tokenId: bigint
        • price: bigint
        • exactOrderSource: string

      Returns Promise<{
          callbackData: `0x${string}`;
          value: bigint;
          isSeaportCall: boolean;
      }>

    • Parameters

      • __namedParameters: {
            collectionContractAddress: `0x${string}`;
            tokenId: bigint;
            price: bigint;
            exactOrderSource: string;
        }
        • collectionContractAddress: `0x${string}`
        • tokenId: bigint
        • price: bigint
        • exactOrderSource: string

      Returns Promise<{
          callbackData: `0x${string}`;
          value: bigint;
          isSeaportCall: boolean;
      }>

    Properties

    baseApiUrl: string
    mainnetClient: {}

    Type declaration

      wallet: {}

      Type declaration

        Seaport: Seaport
        CryptoPunks: CryptoPunks
        client: ReservoirClient
        EXECUTION_INFO_ABI: readonly [{
            name: "ExecutionInfo";
            type: "tuple";
            components: readonly [{
                name: "module";
                type: "address";
            }, {
                name: "data";
                type: "bytes";
            }, {
                name: "value";
                type: "uint256";
            }];
        }] = ...