Mark Token as Spam
mark_token_spamMark or unmark a token as spam so unwanted dust or airdrops are excluded from accounting and existing records are updated; this queued action defaults to marking spam and returns a requestId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isSpam | No | Spam flag to set (default true; false unmarks) | |
| reason | No | Optional immutable root reason. Nonempty bytes are preserved exactly; use ptx:<uuid> for transaction references. | |
| chainId | Yes | Chain ID of the token (from a walletOperation) | |
| portfolioRef | Yes | Portfolio exact name or slug | |
| tokenAddress | Yes | Token contract address (from a walletOperation) | |
| workspaceRef | Yes | Workspace exact name or slug |