DOCS

usePrimarySaleRecipient

Get the primary sale recipient

Example

const {
  data: primarySaleRecipient,
  isLoading,
  error,
} = usePrimarySalesRecipient(contract);

Use this to get the primary sales recipient of your SmartContract

Parameters

Returns

the wallet address of the primary sales recipient