everscale-standalone-client - v2.2.1
Preparing search index...
AccountsStorageContext
Class AccountsStorageContext
Index
Constructors
constructor
Accessors
now
Ms
now
Sec
Methods
create
External
Message
create
Raw
External
Message
encode
Internal
Input
encode
Internal
Message
extend
Signature
extract
Contract
Data
fetch
Public
Key
get
Boc
Hash
get
Full
Contract
State
get
Signer
pack
Into
Cell
unpack
From
Cell
Constructors
constructor
new
AccountsStorageContext
(
clock
:
ClockWithOffset
,
connectionController
:
ConnectionController
,
nekoton
:
__module
,
keystore
?:
Keystore
,
)
:
AccountsStorageContext
Parameters
clock
:
ClockWithOffset
connectionController
:
ConnectionController
nekoton
:
__module
Optional
keystore
:
Keystore
Returns
AccountsStorageContext
Accessors
now
Ms
get
nowMs
()
:
number
Returns
number
now
Sec
get
nowSec
()
:
number
Returns
number
Methods
create
External
Message
createExternalMessage
(
args
:
{
abi
:
string
;
address
:
string
|
Address
;
method
:
string
;
params
:
TokensObject
;
signatureId
?:
number
;
signer
:
Signer
;
stateInit
?:
string
;
timeout
:
number
;
}
,
)
:
Promise
<
SignedMessage
>
Parameters
args
:
{
abi
:
string
;
address
:
string
|
Address
;
method
:
string
;
params
:
TokensObject
;
signatureId
?:
number
;
signer
:
Signer
;
stateInit
?:
string
;
timeout
:
number
;
}
Returns
Promise
<
SignedMessage
>
create
Raw
External
Message
createRawExternalMessage
(
args
:
{
address
:
string
|
Address
;
body
?:
string
;
expireAt
:
number
;
stateInit
?:
string
;
}
,
)
:
SignedMessage
Parameters
args
:
{
address
:
string
|
Address
;
body
?:
string
;
expireAt
:
number
;
stateInit
?:
string
;
}
Returns
SignedMessage
encode
Internal
Input
encodeInternalInput
(
args
:
FunctionCall
<
string
>
)
:
string
Parameters
args
:
FunctionCall
<
string
>
Returns
string
encode
Internal
Message
encodeInternalMessage
(
args
:
{
amount
:
string
;
body
?:
string
;
bounce
:
boolean
;
dst
:
string
;
src
?:
string
;
stateInit
?:
string
;
}
,
)
:
string
Parameters
args
:
{
amount
:
string
;
body
?:
string
;
bounce
:
boolean
;
dst
:
string
;
src
?:
string
;
stateInit
?:
string
;
}
Returns
string
extend
Signature
extendSignature
(
signature
:
string
)
:
ExtendedSignature
Parameters
signature
:
string
Returns
ExtendedSignature
extract
Contract
Data
extractContractData
(
boc
:
string
)
:
undefined
|
string
Parameters
boc
:
string
Returns
undefined
|
string
fetch
Public
Key
fetchPublicKey
(
address
:
string
|
Address
)
:
Promise
<
string
>
Parameters
address
:
string
|
Address
Returns
Promise
<
string
>
get
Boc
Hash
getBocHash
(
boc
:
string
)
:
string
Parameters
boc
:
string
Returns
string
get
Full
Contract
State
getFullContractState
(
address
:
string
|
Address
,
)
:
Promise
<
undefined
|
FullContractState
>
Parameters
address
:
string
|
Address
Returns
Promise
<
undefined
|
FullContractState
>
get
Signer
getSigner
(
publicKey
:
string
)
:
Promise
<
Signer
>
Parameters
publicKey
:
string
Returns
Promise
<
Signer
>
pack
Into
Cell
packIntoCell
(
args
:
{
abiVersion
?:
AbiVersion
;
data
:
TokensObject
;
structure
:
AbiParam
[]
;
}
,
)
:
{
boc
:
string
;
hash
:
string
}
Parameters
args
:
{
abiVersion
?:
AbiVersion
;
data
:
TokensObject
;
structure
:
AbiParam
[]
}
Returns
{
boc
:
string
;
hash
:
string
}
unpack
From
Cell
unpackFromCell
(
args
:
{
abiVersion
?:
AbiVersion
;
allowPartial
:
boolean
;
boc
:
string
;
structure
:
AbiParam
[]
;
}
,
)
:
TokensObject
Parameters
args
:
{
abiVersion
?:
AbiVersion
;
allowPartial
:
boolean
;
boc
:
string
;
structure
:
AbiParam
[]
;
}
Returns
TokensObject
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
now
Ms
now
Sec
Methods
create
External
Message
create
Raw
External
Message
encode
Internal
Input
encode
Internal
Message
extend
Signature
extract
Contract
Data
fetch
Public
Key
get
Boc
Hash
get
Full
Contract
State
get
Signer
pack
Into
Cell
unpack
From
Cell
everscale-standalone-client - v2.2.1
Loading...