Skip to main content
Version: Next

Struct Royalties


_10
pub struct Royalties {
_10
_10
priv let cutInfos: [Royalty]
_10
}

Wrapper view for multiple Royalty views. Marketplaces can query this Royalties struct from NFTs and are expected to pay royalties based on these specifications.

Initializer


_10
init(_: [Royalty])

Functions

getRoyalties()


_10
fun getRoyalties(): [Royalty]

Return the cutInfos list

Returns: An array containing all the royalties structs