Skip to main content

Handling Spam Tokens Via Address Book Groups

R
Written by Richard Pasquin

Use an Address Book group when the same spam token contracts keep appearing. The group holds the contract addresses. The automation assigns an Ignore classification when a transaction matches one of them.

Before you start, set up or find a classification with To Ignore behavior. The examples use Spam Tokens for the classification and Spam Token Contracts for the group.

Create the group

Step 1

Open Subledger > Address Book.

Step 2

Click Add, then select Add Group.

Step 3

Enter a Group Name. Set Group Type to Entity, select the entity you are working in, and click Add Group.

Import the confirmed spam contracts

Step 4

Open More options beside Add, then select Bulk Import.

Step 5

In Bulk Address Import, click address_group_import_template.csv.

Step 6

Keep the CSV headers and remove the sample rows. Add one row for each confirmed spam contract.

CSV field

What to enter

First Name/Company Name

A name for the Address Book record.

Address Type

Personal or Organizational, as appropriate.

Crypto Id

The numeric ID for the asset on the right network.

Address

The full token contract address.

Use Search for assets to get Crypto IDs to find the number. Check the network as well as the symbol. The screenshot shows Bitcoin IDs as an example.

If the asset is missing from the lookup, ask Cryptoworth Support which ID to use before importing it. Save the completed file as CSV.

Step 7

Select the group you created. Click Browse and choose the CSV, then click Import.

Step 8

Open Groups and select your group. Check that it contains only the intended contract addresses. The screenshot shows the group before import.

If your group is still empty after importing, check More options > Import History.

Create the automation

Step 9

Open Subledger > Automations and click Classification Automation.

Step 10

Choose Entity, then click Next.

Step 11

Enter an Automation Name, then click Next.

Step 12

Under Trigger, leave Post calculation automation rules off. In Select criteria, choose Contract address group.

Step 13

Keep Is any of and select the group you imported into.

Step 14

Under Apply, set Select update type to Classification.

Step 15

Select the Ignore classification you prepared, then click Next.

Step 16

Check the group under Trigger and the To Ignore badge under Apply. Click Confirm to save the rule.

Check the result

Step 17

In Transactions, filter by the Ignore classification and check that matching rows show Ignored under Behavior.

Check earlier transactions separately. If a confirmed spam transaction still needs to be ignored, apply the classification manually.

Did this answer your question?