@aptos-labs/ts-sdk - v5.1.6
    Preparing search index...

    Interface RegisterNameParameters

    Parameters for registering a name in the Aptos network.

    Configuration settings for the Aptos network.

    The account initiating the name registration.

    The name to be registered.

    The expiration policy for the name registration.

    Whether the name can be transferred to another owner.

    The address that will be set as the owner_address of the name.

    The address that this name will resolve to.

    interface RegisterNameParameters {
        aptosConfig: AptosConfig;
        expiration:
            | { policy: "domain"; years?: 1 }
            | { policy: "subdomain:follow-domain" }
            | { expirationDate: number; policy: "subdomain:independent" };
        name: string;
        options?: InputGenerateTransactionOptions;
        sender: Account;
        targetAddress?: AccountAddressInput;
        toAddress?: AccountAddressInput;
        transferable?: boolean;
    }
    Index

    Properties

    aptosConfig: AptosConfig
    expiration:
        | { policy: "domain"; years?: 1 }
        | { policy: "subdomain:follow-domain" }
        | { expirationDate: number; policy: "subdomain:independent" }
    name: string
    sender: Account
    targetAddress?: AccountAddressInput
    transferable?: boolean