near-api-js - v7.0.4
Preparing search index...
transactions/action_creators
actions
Variable actions
Const
actions
:
{
addFullAccessKey
:
(
publicKey
:
PublicKey
)
=>
Action
;
addFunctionCallAccessKey
:
(
publicKey
:
PublicKey
,
receiverId
:
string
,
methodNames
:
string
[]
,
allowance
?:
bigint
,
)
=>
Action
;
createAccount
:
()
=>
Action
;
deleteAccount
:
(
beneficiaryId
:
string
)
=>
Action
;
deleteKey
:
(
publicKey
:
PublicKey
)
=>
Action
;
deployContract
:
(
code
:
Uint8Array
)
=>
Action
;
deployGlobalContract
:
(
code
:
Uint8Array
,
deployMode
:
"accountId"
|
"codeHash"
,
)
=>
Action
;
fullAccessKey
:
()
=>
AccessKey
;
functionCall
:
(
methodName
:
string
,
args
:
object
|
Uint8Array
<
ArrayBufferLike
>
,
gas
?:
bigint
,
deposit
?:
bigint
,
stringify
?:
(
args
:
any
)
=>
Buffer
,
)
=>
Action
;
functionCallAccessKey
:
(
receiverId
:
string
,
methodNames
:
string
[]
,
allowance
?:
bigint
,
)
=>
AccessKey
;
signedDelegate
:
(
options
:
{
delegateAction
:
DelegateAction
;
signature
:
Signature
}
,
)
=>
Action
;
stake
:
(
stake
?:
bigint
,
publicKey
:
PublicKey
)
=>
Action
;
transfer
:
(
deposit
?:
bigint
)
=>
Action
;
useGlobalContract
:
(
contractIdentifier
:
|
{
accountId
:
string
}
|
{
codeHash
:
string
|
Uint8Array
<
ArrayBufferLike
>
}
,
)
=>
Action
;
}
= ...
Type Declaration
addFullAccessKey
:
(
publicKey
:
PublicKey
)
=>
Action
addFunctionCallAccessKey
:
(
publicKey
:
PublicKey
,
receiverId
:
string
,
methodNames
:
string
[]
,
allowance
?:
bigint
,
)
=>
Action
createAccount
:
()
=>
Action
deleteAccount
:
(
beneficiaryId
:
string
)
=>
Action
deleteKey
:
(
publicKey
:
PublicKey
)
=>
Action
deployContract
:
(
code
:
Uint8Array
)
=>
Action
deployGlobalContract
:
(
code
:
Uint8Array
,
deployMode
:
"accountId"
|
"codeHash"
)
=>
Action
fullAccessKey
:
()
=>
AccessKey
functionCall
:
(
methodName
:
string
,
args
:
object
|
Uint8Array
<
ArrayBufferLike
>
,
gas
?:
bigint
,
deposit
?:
bigint
,
stringify
?:
(
args
:
any
)
=>
Buffer
,
)
=>
Action
functionCallAccessKey
:
(
receiverId
:
string
,
methodNames
:
string
[]
,
allowance
?:
bigint
)
=>
AccessKey
signedDelegate
:
(
options
:
{
delegateAction
:
DelegateAction
;
signature
:
Signature
}
)
=>
Action
stake
:
(
stake
?:
bigint
,
publicKey
:
PublicKey
)
=>
Action
transfer
:
(
deposit
?:
bigint
)
=>
Action
useGlobalContract
:
(
contractIdentifier
:
|
{
accountId
:
string
}
|
{
codeHash
:
string
|
Uint8Array
<
ArrayBufferLike
>
}
,
)
=>
Action
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
near-api-js - v7.0.4
Loading...