Skip to main content

ipfsAddPin

Adding a base64 encoded image to IPFS with pinning & optional image checks

Selecting img_checks performs: i) image size check for max 0.5 MB, ii) image resolution resizing to 450x450 pixels

ipfsAddPin(
base64: String!
imgChecks: Boolean!
): String!

Arguments

ipfsAddPin.base64 ● String! non-null scalar

ipfsAddPin.imgChecks ● Boolean! non-null scalar

Type

String scalar

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.


Coinweb © 2024