Calls the "royaltyInfo" function on the contract.
import { RoyaltyERC721 } from "thirdweb/modules"; const result = await RoyaltyERC721.royaltyInfo({ contract, tokenId: ..., salePrice: ...,});
function royaltyInfo( options: BaseTransactionOptions<RoyaltyInfoParams>,): Promise<readonly [string, bigint]>;
The options for the royaltyInfo function.
let options: BaseTransactionOptions<RoyaltyInfoParams>;
let returnType: Promise<readonly [string, bigint]>;
The parsed result of the function call.