usdUnitPrice

Calls the "usdUnitPrice" function on the contract.

Example

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

Parameters

The options for the usdUnitPrice function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.