getPlatformFeeInfo

Calls the "getPlatformFeeInfo" function on the contract.

Example

import { getPlatformFeeInfo } from "thirdweb/extensions/common";
const result = await getPlatformFeeInfo({
contract,
});
function getPlatformFeeInfo(
): Promise<readonly [string, number]>;

Parameters

The options for the getPlatformFeeInfo function.

Type

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

Returns

let returnType: Promise<readonly [string, number]>;

The parsed result of the function call.