SecretNET.NFT Namespace

SetRoyaltyInfoRequest Constructor

Initializes a new instance of the SetRoyaltyInfoRequest class.

Namespace:  SecretNET.NFT
Assembly:  SecretNET.NFT (in SecretNET.NFT.dll)

Syntax


public SetRoyaltyInfoRequest(
	string tokenId,
	Nullable<RoyaltyInfo> royaltyInfo,
	string padding
)
Public Sub New ( _
	tokenId As String, _
	royaltyInfo As Nullable(Of RoyaltyInfo), _
	padding As String _
)
public:
SetRoyaltyInfoRequest(
	String^ tokenId, 
	Nullable<RoyaltyInfo^> royaltyInfo, 
	String^ padding
)

Parameters

tokenId
Type: String
If no token_id is provided, SetRoyaltyInfo will update the contract's default RoyaltyInfo to the input, or delete it if no RoyaltyInfo is provided.
royaltyInfo
Type: Nullable<(Of <(<'RoyaltyInfo>)>)>
If no RoyaltyInfo is provided, it will delete the RoyaltyInfo and replace it with the contract's default RoyaltyInfo (if there is one).
padding
Type: String
An ignored string that can be used to maintain constant message length.