• Gets the asset details and the hierarchy with which it has been stored on chain for the given asset id.

    Parameters

    • assetId: string
    • ipfsGateway: string = ''

      ipfs gateway url in case a self hosted or a public ipfs gateway is used. Default is ''

    • Optional pinataConfig: PinataConfig

      pinata configuration object containing pinataKey and pinataSecret

    Returns Promise<AssetDetails>

    a promise that resolves with the asset details as stored on chain

Generated using TypeDoc