Skip to content

Airdrop a Moment

This page documents the API endpoint to airdrop a Moment on the In Process protocol.

Endpoint

POST https://inprocess.fun/api/moment/airdrop

Request Body

Send a JSON object with the following fields:

{
  "airdrop": [
    {
      "address": string, // Address to airdrop
      "tokenId": string // TokenId of collection to airdrop
    }
  ],
  "account": string, // Artist wallet address or social wallet address to access a smart wallet
  "collection": string // Collection address to airdrop
}

Example Request

cURL
curl -X POST https://inprocess.fun/api/moment/airdrop \
  -H "Content-Type: application/json" \
  -d '{
    "airdrop": [
      {
        "address": "0x119A62232b96ADfC85E40C57fE44acA740CF6730",
        "tokenId": "1"
      }
    ],
    "account": "0x643D962630E35B49340C23079fBac7D8546d8D01",
    "collection": "0x88aadf78a71c0da420294ad09cd378233b4e243e"
  }'

Example Response

{
  "hash": "0xTransactionHash"
}