price

Calls the "price" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.