Airdrop a Moment
This page documents the API endpoint to airdrop a Moment on the In Process protocol.
Endpoint
POST https://inprocess.world/api/moment/airdropAuthentication
Include an API key in the x-api-key header for authorization:
x-api-key: <artist_api_key>Show more
See Create an Artist API Key for how to create API keys.
Request Body
Send a JSON object with the following fields:
{
"recipients": [
{
"recipientAddress": string, // Address to receive the airdrop
"tokenId": string // TokenId of the moment to airdrop
}
],
"collectionAddress": string, // Contract address of the moment collection
}Example Request
cURL
curl -X POST https://inprocess.world/api/moment/airdrop \
-H "Content-Type: application/json" \
-H "x-api-key: art_sk_3fnm4...f6w4" \
-d '{
"recipients": [
{
"recipientAddress": "0x119A62232b96ADfC85E40C57fE44acA740CF6730",
"tokenId": "1"
}
],
"collectionAddress": "0x88aadf78a71c0da420294ad09cd378233b4e243e",
}'Example Response
{
"hash": "0xTransactionHash",
"chainId": 8453 | 84532
}