Skip to main content
POST
/
moment
/
collect
Collect a Moment
curl --request POST \
  --url https://inprocess.world/api/moment/collect \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "moment": {
    "collectionAddress": "<string>",
    "tokenId": "<string>",
    "chainId": 8453
  },
  "amount": 123,
  "comment": "<string>"
}
'
{
  "hash": "<string>",
  "chainId": 123
}

Authorizations

x-api-key
string
header
required

Artist API key for authentication. Get your API key from https://inprocess.world/manage/api-keys

Body

application/json
moment
object
required
amount
number
required

Amount to be collected

comment
string
required

Comment

Response

Successful response

hash
string
required

Transaction hash of the operation

chainId
integer
required

Chain ID where the transaction was executed