TrustNXTTrustNXT
React SDKAPI ReferenceInterfaces

ProtectControls

Properties

isProtecting

isProtecting: boolean;

true if a protection operation is currently in progress.


protectAsset

protectAsset: (blob, options?) => Promise<ProtectResult>;

Protect an existing blob (image, audio, etc.).

Parameters

ParameterTypeDescription
blobBlobThe media file to protect
options?ProtectAssetOptionsCustom tags, features, and source mode

Returns

Promise<ProtectResult>

The signed asset blob with a trust label

On this page