Social Community

POST /v2/social/assets/{chain_id}/{address}/comments

Creates a token comment after strict input validation and a fresh positive direct chain balance check.

Request

  • Base URL
    https://api.arbital.xyz (the document declares no server; this is the origin it was published from)
  • URL
    https://api.arbital.xyz/v2/social/assets/{chain_id}/{address}/comments
  • Auth
    HTTP bearer

Path parameters

chain_id'solana:mainnet-beta' | 'eip155:1' | 'eip155:56' | 'eip155:143' | 'eip155:4663' | 'eip155:5042' | 'eip155:8453' | 'eip155:42161' required
addressstring required

Request body

bodystring required

Trimmed before validation; 1–280 Unicode characters. Rejects C0 controls except tab, LF and CR, and DEL (U+007F).

client_content_idstring uuid

Actor/source-kind scoped creation key. Matching replay returns the original readable source; a changed command returns 409. Required with nonempty mentions.

Response

Token comment created

bodystring nullable required

Null after parent deletion; empty for a media-only or external-GIF-only ordinary reply. Removing the last image preserves the empty body and deleted media slot.

comment_idstring uuid required
created_atstring date-time required
deletedboolean required
holding_displaystring nullable required
is_holdertrue required
parent_comment_idstring uuid nullable required

Exact direct parent comment in this token thread; null for a root comment.

reply_countinteger required

Nondeleted visible direct replies, excluding deeper descendants.

thesis_event_idstring uuid nullable required

Feed eventId of the imported thesis this comment directly replies to; null for ordinary comments and replies.

viewer_can_deleteboolean required

Whether the viewer owns this undeleted comment and may delete it.

Changes

No recorded changes to this operation across all 1 revision of this API.