near-api-js - v7.4.0
Preparing search index...
accounts/nonce-manager
NonceManager
Class NonceManager
Index
Constructors
constructor
Methods
invalidate
resolve
Next
Nonce
Constructors
constructor
new
NonceManager
()
:
NonceManager
Returns
NonceManager
Methods
invalidate
invalidate
(
pk
:
PublicKey
,
nonceIndex
?:
number
)
:
Promise
<
void
>
Parameters
pk
:
PublicKey
Optional
nonceIndex
:
number
Returns
Promise
<
void
>
resolve
Next
Nonce
resolveNextNonce
(
pk
:
PublicKey
,
accountId
:
string
,
provider
:
Provider
,
)
:
Promise
<
{
nonce
:
bigint
;
nonceIndex
?:
number
}
>
Select a gas key lane, if needed, and reserve the next nonce.
Parameters
pk
:
PublicKey
accountId
:
string
provider
:
Provider
Returns
Promise
<
{
nonce
:
bigint
;
nonceIndex
?:
number
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
invalidate
resolve
Next
Nonce
near-api-js - v7.4.0
Loading...
Select a gas key lane, if needed, and reserve the next nonce.