ContractRoyalty.getTokenRoyaltyInfo() method
Gets the royalty recipient and BPS (basis points) of a particular token
Example
const royaltyInfo = await contract.royalties.getDefaultRoyaltyInfo();
Signature:
getTokenRoyaltyInfo(tokenId: BigNumberish): Promise<{
seller_fee_basis_points: number;
fee_recipient: string;
}>;
Parameters
Parameter | Type | Description |
---|---|---|
tokenId | BigNumberish |
Returns:
Promise<{ seller_fee_basis_points: number; fee_recipient: string; }>
- The royalty recipient and BPS