- Preparing search index...
- The search index is not available
ternoa-js
Function formatIpfsResponse
- formatIpfsResponse(res: any): {
hash: any;
name: any;
size: any;
type: string;
}
-
Returns {
hash: any;
name: any;
size: any;
type: string;
}
-
hash: any
-
name: any
-
size: any
-
type: string
Name
formatIpfsResponse
Summary
Format the IPFS response from a gateway upload.
Returns
A formatted object datas with name, hash, size and type.