Skip to content

API ReferenceLOC lifecycleFunction

~~signRedeemLOCSignature()~~

function signRedeemLOCSignature(
ctx,
params
): Promise<CreateSignatureResponse<LOCRedemptionSignature>>;

Signs, with the connected wallet, a beneficiary authorization that lets another account (or a Multicall batch) redeem the LOC. Pass the returned signature as RedeemLOCParams.beneficiaryAuthorization; the wallet must be the LOC’s beneficiary.

Parameters

ParameterTypeDescription
ctxSDKContextThe SDK context.
paramsRedeemLOCSignatureParamsThe necessary parameters to create the signature.

Returns

Promise<CreateSignatureResponse<LOCRedemptionSignature>>

The signature response.

Deprecated

Use sdk.loc.buildRedeemAuthorizationWorkflow so the exact definition is inspectable before signing.