Skip to main content

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

ParameterTypeDescription
royaltyDataz.input<typeof CommonRoyaltySchema>the royalty recipient and fee

Returns:

Promise<TransactionResult<z.output<typeof CommonRoyaltySchema>>>