Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • claimRental(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, payer?: PublicKey): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey
    • Optional payer: PublicKey

    Returns Promise<Transaction>

  • createRental(connection: Connection, wallet: Wallet, rentalParameters: IssueParameters): Promise<[Transaction, PublicKey, undefined | Keypair]>
  • Main method for creating any kind of rental Allows for optional payment, optional usages or expiration and includes a otp for private links

    Parameters

    Returns Promise<[Transaction, PublicKey, undefined | Keypair]>

    Transaction, public key for the created token manager and a otp if necessary for private links

  • extendRentalExpiration(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, secondsToAdd: number): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey
    • secondsToAdd: number

    Returns Promise<Transaction>

Generated using TypeDoc