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