Returns {
data: {
id: string;
member_secret_idx: string;
member_sequence: string;
op: string;
owner: string;
};
id: string;
owner: string;
program_id: string;
spent: boolean;
}
The processed SubscriptionRecord data.
-
data: {
id: string;
member_secret_idx: string;
member_sequence: string;
op: string;
owner: string;
}
-
id: string
-
member_secret_idx: string
-
member_sequence: string
-
op: string
-
owner: string
-
id: string
-
owner: string
-
program_id: string
-
spent: boolean
The processSubscriptionData function is used to process SubscriptionRecords and convert the Aleo Record structure into TS Types.