Skip to main content
POST
/
moment
/
sale
Set Moment Sale
curl --request POST \
  --url https://api.inprocess.world/api/moment/sale \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "moment": {
    "collectionAddress": "<string>",
    "tokenId": "<string>",
    "chainId": 8453
  },
  "pricePerToken": "<string>",
  "saleStart": 123,
  "saleEnd": 123,
  "maxTokensPerAddress": 1,
  "fundsRecipient": "<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

At least one of pricePerToken, saleStart, saleEnd, maxTokensPerAddress, or fundsRecipient must be provided.

moment
object
required
pricePerToken
string

Price per token in wei as a non-negative integer string (e.g., "0" for free, "1000000000000000" for 0.001 ETH)

Pattern: ^[0-9]+$
saleStart
integer

Unix timestamp for when the sale starts

saleEnd
integer

Unix timestamp for when the sale ends

maxTokensPerAddress
integer

Maximum number of tokens a single address can mint (0 = unlimited)

Required range: x >= 0
fundsRecipient
string

Address that receives the sale proceeds

Response

Successful response

hash
string
required

Transaction hash of the operation

chainId
integer
required

Chain ID where the transaction was executed