Fetches storage allocations for a given user
farcasterStorage.getStorageAllocations
Overview
Fetches storage allocations for a given user
Parameters
name
type
required
Note
fid
number
true
ex) 721870
Usage
let res = await Lum0x.farcasterStorage.getStorageAllocations({
fid: 721870
});
console.log(JSON.stringify(res, null, 2));
Response
{
"total_active_units": 1,
"allocations": [
{
"object": "storage_allocation",
"user": {
"object": "user_dehydrated",
"fid": 721870
},
"units": 1,
"expiry": "2025-06-25T08:17:23.000Z",
"timestamp": "2024-06-25T08:17:23.000Z"
}
]
}
FID
Units
Expiry Date
Timestamp
721870
1
2025-06-25T08:17:23.000Z
2024-06-25T08:17:23.000Z
Field Description
FID: User identifier
Units: Number of allocated storage units
Expiry Date: Expiration date of the storage space
Timestamp: Date and time when the storage space was allocated
Last updated