getDefaultRoyaltyInfo

Calls the "getDefaultRoyaltyInfo" function on the contract.

Example

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

Parameters

The options for the getDefaultRoyaltyInfo function.

Type

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

Returns

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

The parsed result of the function call.