Skip to main content

Class: MoveAuthenticatorBuilder

Extends​

  • UniffiAbstractObject

Implements​

Constructors​

Constructor​

new MoveAuthenticatorBuilder(
accountId,
callArgs,
typeArgs
): MoveAuthenticatorBuilder;

Create a new move authenticator call with the account ID, function inputs, and generic types.

Parameters​

accountId​

ObjectIdLike

callArgs​

PtbArgumentLike[]

typeArgs​

TypeTagLike[]

Returns​

MoveAuthenticatorBuilder

Overrides​

UniffiAbstractObject.constructor

Properties​

[destructorGuardSymbol]​

readonly [destructorGuardSymbol]: UniffiGcObject;

[pointerLiteralSymbol]​

readonly [pointerLiteralSymbol]: bigint;

[uniffiTypeNameSymbol]​

readonly [uniffiTypeNameSymbol]: "MoveAuthenticatorBuilder" = "MoveAuthenticatorBuilder";

Methods​

finish()​

finish(client, asyncOpts_?): Promise<MoveAuthenticatorLike>;

Resolve this move authenticator builder into a MoveAuthenticator which can be used to execute a transaction.

Parameters​

client​

GraphQlClientLike

asyncOpts_?​
signal​

AbortSignal

Returns​

Promise<MoveAuthenticatorLike>

Implementation of​

MoveAuthenticatorBuilderLike.finish


uniffiDestroy()​

uniffiDestroy(): void;

Explicitly tell Rust to destroy the native peer that backs this object.

Once this method has been called, any following method calls will throw an error.

Can be called more than once.

Returns​

void

Overrides​

UniffiAbstractObject.uniffiDestroy

uniffiUse()​

uniffiUse<T>(block): T;

A convenience method to use this object, then destroy it after its use.

Type Parameters​

T​

T

Parameters​

block​

(obj) => T

Returns​

T

Inherited from​

UniffiAbstractObject.uniffiUse

instanceOf()​

static instanceOf(obj_): obj_ is MoveAuthenticatorBuilder;

Parameters​

obj_​

any

Returns​

obj_ is MoveAuthenticatorBuilder