Type alias CreatorInput

CreatorInput: {
    address: PublicKey;
    share: number;
    authority?: Signer;
}

This object provides a way of providing creator information when needed, e.g. when creating or updating NFTs, candy machines, etc.

It allows us to optionally provide an authority as a Signer so we can both set and verify the creator within the same operation.

Type declaration

  • Readonly address: PublicKey

    The public key of the creator.

  • Readonly share: number

    The creator's shares of the royalties in percent (i.e. 5 is 5%).

  • Optional Readonly authority?: Signer

    The authority that should sign the asset to verify the creator. When this is not provided, the creator will not be verified within this operation.

Generated using TypeDoc