Identify a Chia CAT by asset ID before reconciling offers
Two CAT wallets can use similar display names. The local wallet ID is also specific to one wallet database. Use the asset identity when matching an order or offer to the intended token.
Resolve the wallet's CAT identity
Replace wallet ID 2 with the ID of the CAT wallet on the selected fingerprint. The result returns the asset ID for that CAT. Compare the full hex string with the identifier in the offer's asset map.
chia rpc wallet cat_get_asset_id '{"wallet_id":2}' | jq '{wallet_id, asset_id}'
Reject ambiguous symbol matches
If two assets both display as USD, a name match cannot choose the correct one. Persist the network, asset ID and local wallet mapping separately. The asset ID establishes which CAT is involved; it cannot establish issuer reputation, backing or the commercial terms of an order.