Helius SDK - v3.4.0
    Preparing search index...

    Function assertValidLoadedAccountsDataSizeLimit

    • Validates a requested loaded-accounts-data-size limit before it is written into a message. The v1 header value is literal (SIMD-0385): 0 is a 0-byte budget that fails account loading while still paying fees, values above the 64 MiB protocol maximum are not honored by the runtime, and kit encodes the field as a u32 — a non-integer throws from deep inside message compilation with no mention of the argument that caused it.

      Parameters

      • limit: number | undefined

      Returns void