thirdweb

Dmail

Scroll
Scrollscan

Send Mail

(send_mail)

nonpayable

to

path


Sign in

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, method: "function send_mail(string to, string path)", params: [to, path] }); const { transactionHash } = await sendTransaction({ transaction, account });