Main documentation
  • Preparing search index...
  • The search index is not available
massa-web3
  • massa-web3
  • StorageCost
  • datastoreEntry

Function datastoreEntry

  • datastoreEntry(key, value): bigint
  • Compute the storage cost for a given key and value size based on the documentation at: https://docs.massa.net/docs/learn/storage-costs

    Parameters

    • key: string | Uint8Array
    • value: string | Uint8Array

      The value to store

    Returns bigint

    the storage cost for the given key and value size

    • Defined in basicElements/storage.ts:52

Settings

Member Visibility

Theme

massa-web3
  • Loading...

Generated using TypeDoc