Get Storage Data

Get data from a 3Box space.

Public Data

Call space.public.get() to get one value from the public space,

const favorite = await space.public.get('favorite-nft')

or call space.public.all() to get all values from the public space.

const spaceData = await space.public.all()

Private Data

Call space.private.get() to get one value from the private space,

const item = await space.private.get('item-to-buy')

or call space.private.all() to get all values from the private space.

const spaceData = await space.private.all()