Represents the client for Asset Controller for an RWA.

Constructors

Properties

rwaClient: RwaClient

Methods

  • Retrieves the asset controller pda account for a specific asset mint.

    Parameters

    • assetMint: string

      The string representation of the asset's mint address.

    Returns PublicKey

    The asset controllers pda as a public key.

  • Retrieves the asset controller's metadata pda account for a specific asset mint.

    Parameters

    • assetMint: string

      The string representation of the asset's mint address.

    Returns PublicKey

    The asset controller's extra metadata pda.

  • Asynchronously generates instructions to issue tokens.

    Parameters

    Returns Promise<TransactionInstruction[]>

    A Promise that resolves to the instructions to issue tokens.

  • Executes a token transfer.

    Parameters

    Returns Promise<TransactionInstruction[]>

    A promise that resolves to transaction instruction.

  • Update the asset controller's metadata.

    Parameters

    Returns Promise<TransactionInstruction>

    A Promise that resolves to the instructions to update the asset controller's metadata.

  • Asynchronously generates instructions to revoke assets.

    Parameters

    Returns Promise<TransactionInstruction>

    A Promise that resolves to the instructions to revoke assets.