Docs

getRoyaltyInfoForToken

Calls the "getRoyaltyInfoForToken" function on the contract.

Example

import { getRoyaltyInfoForToken } from "thirdweb/extensions/common";
const result = await getRoyaltyInfoForToken({
contract,
tokenId: ...,
});

Parameters

Returns

The parsed result of the function call.