DOCS

useRoyaltySettings

Get the royalty recipient and fee

Example

const {
  data: settings,
  isLoading,
  error,
} = useRoyaltySettings(contract);

Parameters

Returns

an object containing recipient address and the royalty basis points