Method: NFTStorage::NFTStorageAPI#status

Defined in:
lib/nft_storage/api/nft_storage_api.rb

#status(cid, opts = {}) ⇒ GetResponse

Get information for the stored file CID Includes the IPFS pinning state and the Filecoin deal state.

Parameters:

  • cid (String)

    CID for the NFT

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



159
160
161
162
# File 'lib/nft_storage/api/nft_storage_api.rb', line 159

def status(cid, opts = {})
  data, _status_code, _headers = status_with_http_info(cid, opts)
  data
end