four-flap-meme-sdk
Version:
SDK for Flap bonding curve and four.meme TokenManager
35 lines (34 loc) • 923 B
TypeScript
export type CreateTokenFlowInput = {
rpcUrl: string;
privateKey: string;
networkCode: 'BSC';
baseUrl?: string;
image?: Blob;
imagePath?: string;
imgUrl?: string;
b0Amount?: string;
payload: {
name: string;
shortName: string;
desc: string;
label: 'Meme' | 'AI' | 'Defi' | 'Games' | 'Infra' | 'De-Sci' | 'Social' | 'Depin' | 'Charity' | 'Others';
preSale: string;
onlyMPC?: boolean;
launchTime?: number;
webUrl?: string;
twitterUrl?: string;
telegramUrl?: string;
};
};
export type CreateTokenFlowOutput = {
accountAddress: string;
accessToken: string;
imgUrl: string;
api: {
createArg: string;
signature: string;
};
txReceipt: any;
tokenAddress?: string;
};
export declare function createTokenFlow(input: CreateTokenFlowInput): Promise<CreateTokenFlowOutput>;