Skip to main content
client.gamma.comments.getCommentsByUserAddress collects comments authored by a specific wallet.

Request

const history = await client.gamma.comments.getCommentsByUserAddress(userAddress, params);

Parameters

NameTypeRequiredNotes
userAddressstring (address)Author’s wallet or proxy address.
limitnumber (≥ 0)Page size.
offsetnumber (≥ 0)Page offset.
orderstringSorting expression.
ascendingbooleanSort direction.

Response

Array of Comment objects identical to List Comments.

Usage example

const history = await client.gamma.comments.getCommentsByUserAddress(
  "0x0b5793a556ceb3a38dcaaa3b262e45decba480cc",
  { limit: 10 },
);

console.log(history.length);

Failure modes

  • userAddress must be a 0x-prefixed 40-hex string.
  • Negative pagination values → validation error.