Skip to main content

ContractRoyalty.getDefaultRoyaltyInfo() method

Gets the royalty recipient and BPS (basis points) of the contract

Example

const royaltyInfo = await contract.royalties.getDefaultRoyaltyInfo();

Signature:

getDefaultRoyaltyInfo(): Promise<{
seller_fee_basis_points: number;
fee_recipient: string;
}>;

Returns:

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

  • The royalty recipient and BPS