import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js"; import type { NFTInput } from "../../../utils/nft/parseNft.js"; export { isMintToSupported } from "../__generated__/IMintableERC1155/write/mintTo.js"; /** * @extension ERC1155 */ export type MintToParams = WithOverrides<{ to: string; nft: NFTInput | string; supply: bigint; }>; /** * Mints a "supply" number of new ERC1155 tokens to the specified "to" address. * This method is only available on the `TokenERC1155` contract. * If the `nft` parameter is a string, it will be used as the token URI. * If the `nft` parameter is a file, it will be uploaded to the storage server and the resulting URI will be used as the token URI. * @param options - The transaction options. * @returns A promise that resolves to the transaction result. * @extension ERC1155 * @example * ```ts * import { mintTo } from "thirdweb/extensions/erc1155"; * import { sendTransaction } from "thirdweb"; * * const transaction = mintTo({ * contract, * to: "0x...", * supply: 10n, * nft: { * name: "My NFT", * description: "This is my NFT", * image: "https://example.com/image.png", * }, * }); * * await sendTransaction({ transaction, account }); * ``` */ export declare function mintTo(options: BaseTransactionOptions): import("../../../transaction/prepare-transaction.js").PreparedTransaction; //# sourceMappingURL=mintTo.d.ts.map