Function formatIpfsResponse

  • Name

    formatIpfsResponse

    Summary

    Format the IPFS response from a gateway upload.

    Returns

    A formatted object datas with name, hash, size and type.

    Parameters

    • res: any

      An IPFS post request response.

    Returns {
        hash: any;
        name: any;
        size: any;
        type: string;
    }

    • hash: any
    • name: any
    • size: any
    • type: string

Generated using TypeDoc