useUpdatePrimarySaleRecipient
Hook for updating the primary sale recipient on a smart contract.
Available to use on smart contracts that implement the PrimarySale
interface.
The wallet that initiates this transaction must have the required permissions to change the primary sale recipient (defaults to "admin"
level).
Example
Parameters
Returns
A mutation object to update the primary sales recipient
options
The mutation function takes a walletAddress
as argument:
walletAddress
The wallet address to set as the primary sale recipient.