Variable STORAGE_PROGRAM_CONSTANTSConst

STORAGE_PROGRAM_CONSTANTS: {
    FEE_PER_CHUNK: 1n;
    MAX_JSON_NESTING_DEPTH: 64;
    MAX_SIZE_BYTES: 1048576;
    PRICING_CHUNK_BYTES: 10240;
} = ...

Storage Program constants for validation and pricing

Type declaration

  • ReadonlyFEE_PER_CHUNK: 1n

    Fee per chunk in DEM

  • ReadonlyMAX_JSON_NESTING_DEPTH: 64

    Maximum nesting depth for JSON encoding

  • ReadonlyMAX_SIZE_BYTES: 1048576

    Maximum storage size in bytes (1MB)

  • ReadonlyPRICING_CHUNK_BYTES: 10240

    Size chunk for pricing in bytes (10KB)