Upload
cid
Pin an existing CID on IPFS to your Pinata account
Usage
Returns
Parameters
cid
- Type:
string
Target CID already on IPFS
addMetadata (Optional)
- Type: PinataMetadata
Add optional metadata to file
group (Optional)
- Type:
string
Upload to a specific group by passing in the groupId
key (Optional)
- Type:
string
Upload a file using a secondary API key generated through keys.create()
peerAddress (Optional)
- Type:
string[]
Accepts an array of host node IDs to peer with