The Honeycomb instance.
The arguments for creating the "Create Holder Account" operation.
An object containing the "Create Holder Account" operation and the holder account address.
const honeycomb = new Honeycomb(...); // Initialize Honeycomb instance
const currency = ...; // HplCurrency instance
const ownerPublicKey = ...; // Owner's public key
// Create a "Create Holder Account" operation for the owner and currency
const operationArgs: CreateCreateHolderAccountOperationArgs = {
currency,
owner: ownerPublicKey,
};
const { operation } = await createCreateHolderAccountOperation(honeycomb, operationArgs);
operation.send();
Generated using TypeDoc
Creates a "Create Holder Account" operation for the given owner and currency, creating a new holder account and token account for the specified currency.