• Creates a Stellar asset contract by wrapping a Stellar asset.

    Parameters

    • __namedParameters: {
          code: string;
          issuer: string;
          sorobanContext: SorobanContextType;
      }
      • code: string
      • issuer: string
      • sorobanContext: SorobanContextType

    Returns Promise<undefined | TxResponse>

    A promise that resolves to the result of the transaction.

    Throws

    An error if there is no active chain, not connected to a server, or no network passphrase.

Generated using TypeDoc