price

Calls the "price" function on the contract.

Example

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

Parameters

The options for the price function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.