thirdweb

AttesterProxy

Scroll
Scrollscan

Attest

(attest)

nonpayable

request

Input should be passed in JSON format - Ex: { "schema": "0", "data": { "recipient": "0x...", "expirationTime": "0", "revocable": true, "refUID": "0", "data": "0", "value": "0" } }

Sign in

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, method: "function attest((bytes32 schema, (address recipient, uint64 expirationTime, bool revocable, bytes32 refUID, bytes data, uint256 value) data) request) returns (bytes32)", params: [request] }); const { transactionHash } = await sendTransaction({ transaction, account });