price

Calls the "price" function on the contract.

Example

import { price } from "thirdweb/extensions/farcaster";
const result = await price({
contract,
extraStorage: ...,
});

Parameters

Returns

The parsed result of the function call.