ResQ.Storage.PinataClient
PinataClient.IsPinnedAsync(string, CancellationToken) Method
Checks if a CID is currently pinned.Parameters
cid System.String
The IPFS Content Identifier to check.
cancellationToken System.Threading.CancellationToken
Cancellation token for the operation.
Implements IsPinnedAsync(string, CancellationToken)
Returns
System.Threading.Tasks.Task<System.Boolean>True if the CID is pinned; false otherwise.
Exceptions
System.ArgumentNullExceptionThrown when cid is null or empty. System.OperationCanceledException
Thrown when the operation is cancelled.