Wrapper object used for reading data from a wrapper for manifest markets.

Properties

address: PublicKey

Public key for the market account.

Methods

  • Updates the data in a Wrapper.

    Parameters

    • connection: Connection

      The Solana Connection object

    Returns Promise<void>

  • Returns a Wrapper for a given address, a data buffer

    Parameters

    • __namedParameters: {
          address: PublicKey;
          connection: Connection;
      }
      • address: PublicKey
      • connection: Connection

    Returns Promise<Wrapper>

  • Returns a Wrapper for a given address, a data buffer

    Parameters

    • __namedParameters: {
          address: PublicKey;
          buffer: Buffer;
      }
      • address: PublicKey
      • buffer: Buffer

    Returns Wrapper