TransactionReceipt
example.ts
import { mintclub } from 'mint.club-v2-sdk';
await mintclub
.network('ethereum')
.token('MINT')
.create({
name: 'Mint Club',
reserveToken: {
address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // mainnet WETH token address
decimals: 18,
},
curveData: {
curveType: 'LINEAR',
stepCount: 10,
maxSupply: 10_000,
initialMintingPrice: 0.01, // 0.01 WETH
finalMintingPrice: 0.1, // 0.1 WETH
creatorAllocation: 100,
},
onSuccess: (receipt) => {
const const a: {
blobGasPrice?: bigint | undefined;
blobGasUsed?: bigint | undefined;
blockHash: Hash;
blockNumber: bigint;
contractAddress: Address | null | undefined;
... 11 more ...;
type: TransactionType;
}a = { ...receipt };
}
})