TrustgoPortal
LineaAttest
(attest)
payable
Use this function in your app
import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({ contract, method: "function attest((bytes32 schemaId, uint64 expirationDate, bytes subject, bytes attestationData) attestationPayload, bytes[] validationPayloads) payable", params: [attestationPayload, validationPayloads]});const { transactionHash } = await sendTransaction({ transaction, account});