@rep3/rep3-sdk
Version:
`rep3-sdk` is the ts package for projects to integrate rep3-protocol and services in their projects. This documentation will provide various ways and code snippets for the same. To know more about the protocol head over to our [docs](https://docs.rep3.gg/
13 lines (12 loc) • 432 B
TypeScript
export declare const generateData: (levels: string | any[], categories: string | any[]) => number[];
export declare const createVoucher: (levels: [number], categories: [number], end: any, to: [string], tokenUris: string, signType: string) => false | {
data: number[];
end: any;
to: [string];
tokenUris: string;
} | {
levelCategory: number[];
end: any;
to: [string];
tokenUris: string;
};