Properties

address: PublicKey

Methods

  • Parameters

    • connection: Connection
    • trader: PublicKey

    Returns Promise<number>

  • Parameters

    • trader: PublicKey
    • decimals: number

    Returns number

  • Parameters

    • connection: Connection

    Returns Promise<number>

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

    Parameters

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

    Returns Promise<null | Global>

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

    Parameters

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

    Returns Global