Upload
base64
Upload a base64 string to Pinata
Usage
Returns
Parameters
base64
- Type:
string
Accepts a string encoded in base64
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()
cidVersion (Optional)
- Type:
0 | 1
Specificy CID version for upload