Calculate the storage fee for a TLSNotary proof
Fee structure:
Size of proof in kilobytes
Total fee in DEM
import { calculateStorageFee } from '@kynesyslabs/demosdk/tlsnotary';const proofSize = Math.ceil(proof.length / 1024);const fee = calculateStorageFee(proofSize); // e.g., 6 DEM for 5KB Copy
import { calculateStorageFee } from '@kynesyslabs/demosdk/tlsnotary';const proofSize = Math.ceil(proof.length / 1024);const fee = calculateStorageFee(proofSize); // e.g., 6 DEM for 5KB
Calculate the storage fee for a TLSNotary proof
Fee structure: