Skip to main content

Pin Person Mutation

Pin a Person entity to IPFS for use in atom creation.

Mutation Structure​

mutation PinPerson($person: PinPersonInput!) {
pinPerson(person: $person) {
hash
name
size
}
}

Variables​

{
"person": {
"name": "Vitalik Buterin",
"description": "Co-founder of Ethereum",
"email": "vitalik@ethereum.org",
"identifier": "vitalik.eth",
"image": "ipfs://QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy",
"url": "https://vitalik.ca"
}
}

Best Practices​

  1. Include identifier (ENS, username, etc.)
  2. Add image for visual representation
  3. Provide description for context
  4. Use person-specific fields for rich metadata