Represents the client for Data Registry for an RWA.

Constructors

Properties

rwaClient: RwaClient

Methods

  • Asynchronously generates instructions to update asset information.

    Parameters

    Returns Promise<TransactionInstruction>

    A Promise that resolves to the instructions to update asset information.

  • Asynchronously generates instructions to delete asset information.

    Parameters

    Returns Promise<TransactionInstruction>

    A Promise that resolves to the instructions to delete asset information.

  • Retrieves the data registry pda account for a specific asset mint.

    Parameters

    • assetMint: string

      The string representation of the asset's mint address.

    Returns PublicKey

    The data registry pda as a public key.

  • Asynchronously generates instructions to update asset information.

    Parameters

    Returns Promise<TransactionInstruction>

    A Promise that resolves to the instructions to update asset information.