Get Value

(getValue)

view


key


Use this function in your app


import { readContract } from "thirdweb";
const data = await readContract({
contract,
method: "function getValue(string key) view returns (uint128, uint128)",
params: [key]
})