Skip to content

@lelantos-org/sdk / index / RegisterNameResult

Interface: RegisterNameResult ​

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:162

A handle registration the relayer landed. Landing is not registering: the calls may have failed (the label was taken first, the registrar's fee rose), in which case the input came back as the refund note and only the relayer's and the pool's fees were spent. registered says which.

Extends ​

Properties ​

address ​

ts
address: ShieldedAddress;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:166

The address published under it: the account's at PUBLISHED_DIVERSIFIER_INDEX.


asset ​

ts
asset: AssetInfo;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:65

The asset moved (a swap's assetIn).

Inherited from ​

ResultBase.asset


change ​

ts
change: CircuitAmount;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:186


changeCommitment ​

ts
changeCommitment: Hex32;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:178

Commitment of the change note, re-shielded if the registration landed.


changeCredit ​

ts
changeCredit: Money;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:179


commitments ​

ts
commitments: Hex32[];

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:68

Every output commitment, in slot order. Slots are shuffled; use the named fields.

Inherited from ​

ResultBase.commitments


controller ​

ts
controller: EvmAddress;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:168

The handle's controller: the address of the account's nameControllerKey().


deadline ​

ts
deadline: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:184

Unix seconds after which the wrapper refunds instead of registering.


fees ​

ts
fees: FeeBreakdown;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:73

Inherited from ​

ResultBase.fees


kind ​

ts
kind: "registerName";

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:61

Inherited from ​

ResultBase.kind


label ​

ts
label: string;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:164

The label, case-folded.


nonZeroCommitments ​

ts
nonZeroCommitments: Hex32[];

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:72

The subset with non-zero value; zero-value outputs are padding.

Inherited from ​

ResultBase.nonZeroCommitments


operation? ​

ts
optional operation?: OperationLocation;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:78

Where this operation sits in txHash, which a relayer bundle may share. Absent when the receipt could not be read; the operation still succeeded.

Inherited from ​

ResultBase.operation


opId ​

ts
opId: string;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:63

The id onPhase and any error for this call carried.

Inherited from ​

ResultBase.opId


ownCommitments ​

ts
ownCommitments: Hex32[];

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:70

The subset this wallet will recover by scanning (change, own deposits).

Inherited from ​

ResultBase.ownCommitments


refundCommitment ​

ts
refundCommitment: Hex32;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:181

Commitment of the refund note. Exactly one of the two lands.


refundCredit ​

ts
refundCredit: Money;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:182


registered ​

ts
registered: boolean | undefined;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:176

Whether this transaction registered the handle, read from its receipt. false: the calls failed and the input was refunded. undefined: the receipt could not be read; look the handle up, or see which of the two commitments arrives.


registrationFee ​

ts
registrationFee: Money | null;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:170

What the registrar charged, in base units of asset; null where registration is free.


spent ​

ts
spent: string[];

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:185


txHash ​

ts
txHash: Hex32;

Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:66

Inherited from ​

ResultBase.txHash