Skip to main content

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

ParameterTypeDescription
tokenIdBigNumberish

Returns:

Promise<{ seller_fee_basis_points: number; fee_recipient: string; }>

  • The royalty recipient and BPS