unitPrice

Calls the "unitPrice" function on the contract.

Example

import { unitPrice } from "thirdweb/extensions/farcaster";
const result = await unitPrice({
contract,
});

Parameters

Returns

The parsed result of the function call.