FileData
Hierarchy
- BaseMinaNFTObject
- FileData
Index
Constructors
constructor
Parameters
value: { fileRoot: Field; fileType?: FileDataType; filename: string; height: number; metadata?: Field; mimeType: string; sha3_512: string; size: number; storage: string }
Returns FileData
Properties
fileRoot
optionalfileType
filename
height
optionalmetadata
mimeType
root
sha3_512
size
storage
type
Methods
publicbuildTree
Returns { fields: Field[]; tree: MerkleTree }
fields: Field[]
tree: MerkleTree
publicproof
Parameters
optionalverbose: boolean
Returns Promise<TreeStateProof>
publictoJSON
Returns object
publicstaticfromJSON
Parameters
json: object
Returns FileData