Signatures
delete
Delete an EIP-712 signature from a CID
For more information about adding signatures to CIDs on IPFS please read the Signatures Guide.
Usage
import { PinataSDK } from "pinata-web3";
const pinata = new PinataSDK({
pinataJwt: process.env.PINATA_JWT!,
pinataGateway: "example-gateway.mypinata.cloud",
});
const signature = await pinata.signatures.delete(
"QmXGeVy9dVwfuFJmvbzz8y4dYK1TdxXbDGzwbNuyZ5xXSU"
);
Returns
OK
Parameters
cid
- Type:
string
Target CID that you want to add a signature to.
const signature = await pinata.signatures.delete(
"QmXGeVy9dVwfuFJmvbzz8y4dYK1TdxXbDGzwbNuyZ5xXSU"
);