Skip to main content
POST
Create Comment or Reply

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

network
string
required

CAIP network identifier. Must be eip155:{chainId}.

Example:

"eip155:8453"

contract
string
required

CAIP contract identifier. Must be erc1155:{collectionAddress}.

Example:

"erc1155:0x1111111111111111111111111111111111111111"

Body

application/json
tokenId
string
required

Moment token ID. Numeric values are accepted by the API and normalized to strings.

text
string
required

Comment body

Minimum string length: 1
replyTo
object
referrer
string

Optional referral address passed to the comments contract

Pattern: ^0x[a-fA-F0-9]{40}$

Response

Successful response

hash
string
required

Transaction hash of the operation

chainId
integer
required

Chain ID where the transaction was executed

Example:

8453