Calls the "getRoyaltyInfoForToken" function on the contract.
import { getRoyaltyInfoForToken } from "thirdweb/extensions/common"; const result = await 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.