Skip to main content

ℹ️ File Info

Use the file info API to get metadata for a file stored on Walrus.

API

curl 'https://api.lighthouse.storage/api/lighthouse/file_info_walrus?cid=bafkrei...example'

Sample response:

{
"fileSizeInBytes": 1048576,
"walrusFileSizeInBytes": 67108864,
"cid": "bafkrei...example",
"encryption": false,
"fileName": "example.png",
"mimeType": "image/png"
}