@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
ResultBase<"registerName">
Properties
address
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
asset: AssetInfo;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:65
The asset moved (a swap's assetIn).
Inherited from
change
change: CircuitAmount;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:186
changeCommitment
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
changeCredit: Money;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:179
commitments
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
controller
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
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
fees: FeeBreakdown;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:73
Inherited from
kind
kind: "registerName";Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:61
Inherited from
label
label: string;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:164
The label, case-folded.
nonZeroCommitments
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
operation?
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
opId
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
ownCommitments
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
refundCommitment
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
refundCredit: Money;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:182
registered
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
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
spent: string[];Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:185
txHash
txHash: Hex32;Defined in: @lelantos-org/sdk/dist/wallet/types/results.d.ts:66