The Honeycomb instance.
The arguments for creating the "Update Currency" operation.
An object containing the "Update Currency" operation.
const honeycomb = new Honeycomb(...); // Initialize Honeycomb instance
const currency = ...; // Existing HplCurrency instance
// Create an "Update Currency" operation to update the properties of the currency
const operationArgs: CreateUpdateCurrencyOperationArgs = {
args: {
name: "Updated Currency Name", // New name for the currency
symbol: "SYM", // New symbol for the currency
},
currency, // Existing HplCurrency instance
};
const { operation } = await createUpdateCurrencyOperation(honeycomb, operationArgs);
operation.send();
Generated using TypeDoc
Creates an "Update Currency" operation to update the properties of a Honeycomb currency.