Skip to content

API ReferenceLOC lifecycleFunction

executeConvertLOCTransaction()

function executeConvertLOCTransaction(
ctx,
params
): Promise<ExecuteTransactionResponse<LOCConversion>>;

Builds, submits, and classifies a V3 LOC conversion transaction.

Parameters

ParameterType
ctxSDKContext
paramsConvertLOCParams

Returns

Promise<ExecuteTransactionResponse<LOCConversion>>

Throws

ProviderConnectionError When the connection fails in the wallet’s send call, so the conversion may or may not have landed. Every other failure, including a connection failure while building the transaction, resolves as a typed error response.