Documentation

    Class SuinsTransaction

    Index

    Constructors

    Properties

    suinsClient: SuinsClient
    transaction: Transaction

    Methods

    • Applies a discount to the payment intent.

      Parameters

      Returns void

    • Burns an expired NFT to collect storage rebates.

      Parameters

      Returns void

    • Builds the PTB to create a leaf subdomain. Parent can be a SuinsRegistration or a SubDomainRegistration object. Can be passed in as an ID or a TransactionArgument.

      Parameters

      Returns void

    • Creates a subdomain.

      Parameters

      • __namedParameters: {
            allowChildCreation: boolean;
            allowTimeExtension: boolean;
            expirationTimestampMs: number;
            name: string;
            parentNft: TransactionObjectInput;
        }

      Returns TransactionResult

    • Edits the setup of a subname.

      Parameters

      • __namedParameters: {
            allowChildCreation: boolean;
            allowTimeExtension: boolean;
            name: string;
            parentNft: TransactionObjectInput;
        }

      Returns void

    • Extends the expiration of a subname.

      Parameters

      Returns void

    • Removes a leaf subname.

      Parameters

      Returns void

    • Renews an NFT for a number of years.

      Parameters

      • params: RenewalParams

      Returns void

    • Sets a default name for the user.

      Parameters

      • name: string

      Returns void

    • Sets the target address of an NFT.

      Parameters

      Returns void

    • Sets the user data of an NFT.

      Parameters

      Returns void

    MMNEPVFCICPMFPCPTTAAATR