Skip to content

PinAcquisition

Namespace Nfty.Core.Publish.Ipfs in assembly Nfty.Core.

public sealed record PinAcquisition

The pin returned by an upload and whether this call newly acquired it.

Constructors

PinAcquisition(string, bool)

public PinAcquisition(string Cid, bool Acquired);

Parameters

  • Cid (string) - The root content address.
  • Acquired (bool) - True only with positive evidence this call acquired a new pin. False includes pre-existing pins and unknown ownership; neither may be rolled back.

Properties

Acquired

public bool Acquired { get; init; }

True only with positive evidence this call acquired a new pin. False includes pre-existing pins and unknown ownership; neither may be rolled back.

Cid

public string Cid { get; init; }

The root content address.