useUpdateRoyaltySettings
Hook for updating royalty settings on a smart contract.
Available to use on smart contracts that implement the Royalty
interface.
Example
Parameters
Returns
A mutation object to update the royalty settings
options
The mutation function takes an object with below properties:
seller_fee_basis_points
The seller_fee_basis_points
property is a number
between 0
- 10000
that defines the fee rate.
This number is in percentage points. i.e. 100
is a 1% fee and 10000
is a 100% fee.
fee_recipient
The fee_recipient
property is the address of the wallet that will receive the fees.