@multiversx/sdk-core - v14.0.1
Preparing search index...
AccountController
Class AccountController
Hierarchy (
View Summary
)
BaseController
AccountController
Index
Constructors
constructor
Methods
add
Extra
Gas
Limit
If
Required
create
Transaction
For
Guarding
Account
create
Transaction
For
Saving
Key
Value
create
Transaction
For
Setting
Guardian
create
Transaction
For
Unguarding
Account
set
Transaction
Gas
Options
Constructors
constructor
new
AccountController
(
options
:
{
chainID
:
string
}
)
:
AccountController
Parameters
options
:
{
chainID
:
string
}
Returns
AccountController
Methods
Protected
add
Extra
Gas
Limit
If
Required
addExtraGasLimitIfRequired
(
transaction
:
Transaction
)
:
void
Parameters
transaction
:
Transaction
Returns
void
create
Transaction
For
Guarding
Account
createTransactionForGuardingAccount
(
sender
:
IAccount
,
nonce
:
bigint
,
options
:
{
gasLimit
?:
bigint
;
gasPrice
?:
bigint
;
relayer
?:
Address
}
,
)
:
Promise
<
Transaction
>
Parameters
sender
:
IAccount
nonce
:
bigint
options
:
{
gasLimit
?:
bigint
;
gasPrice
?:
bigint
;
relayer
?:
Address
}
Returns
Promise
<
Transaction
>
create
Transaction
For
Saving
Key
Value
createTransactionForSavingKeyValue
(
sender
:
IAccount
,
nonce
:
bigint
,
options
:
SaveKeyValueInput
&
BaseControllerInput
,
)
:
Promise
<
Transaction
>
Parameters
sender
:
IAccount
nonce
:
bigint
options
:
SaveKeyValueInput
&
BaseControllerInput
Returns
Promise
<
Transaction
>
create
Transaction
For
Setting
Guardian
createTransactionForSettingGuardian
(
sender
:
IAccount
,
nonce
:
bigint
,
options
:
SetGuardianInput
&
BaseControllerInput
,
)
:
Promise
<
Transaction
>
Parameters
sender
:
IAccount
nonce
:
bigint
options
:
SetGuardianInput
&
BaseControllerInput
Returns
Promise
<
Transaction
>
create
Transaction
For
Unguarding
Account
createTransactionForUnguardingAccount
(
sender
:
IAccount
,
nonce
:
bigint
,
options
:
BaseControllerInput
,
)
:
Promise
<
Transaction
>
Parameters
sender
:
IAccount
nonce
:
bigint
options
:
BaseControllerInput
Returns
Promise
<
Transaction
>
Protected
set
Transaction
Gas
Options
setTransactionGasOptions
(
transaction
:
Transaction
,
options
:
{
gasLimit
?:
bigint
;
gasPrice
?:
bigint
}
,
)
:
void
Parameters
transaction
:
Transaction
options
:
{
gasLimit
?:
bigint
;
gasPrice
?:
bigint
}
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Extra
Gas
Limit
If
Required
create
Transaction
For
Guarding
Account
create
Transaction
For
Saving
Key
Value
create
Transaction
For
Setting
Guardian
create
Transaction
For
Unguarding
Account
set
Transaction
Gas
Options
@multiversx/sdk-core - v14.0.1
Loading...