Skip to content

Differentiate FT and RBT transfers under txnType = 02 #2

@aditysoni

Description

@aditysoni

Possible approaches:

  1. Lookup on Read:
    Extract the token involved from the transaction and perform a database read to determine their token type. This allows us to classify the transaction as FT or RBT at query time.

  2. Store Token Type on Write:
    When writing the transaction record to the database, determine the token type at that point and store it in a dedicated token_type column. This simplifies filtering during retrieval, as no additional lookup is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions