ContractRoyalty.setDefaultRoyaltyInfo() method
Set the royalty recipient and fee for a contract
Signature:
setDefaultRoyaltyInfo(royaltyData: z.input<typeof CommonRoyaltySchema>): Promise<TransactionResult<z.output<typeof CommonRoyaltySchema>>>;
Parameters
Parameter | Type | Description |
---|---|---|
royaltyData | z.input<typeof CommonRoyaltySchema> | the royalty recipient and fee |
Returns:
Promise<TransactionResult<z.output<typeof CommonRoyaltySchema>>>