teleproto - v1.230.0
GitHub
npm
Issues
Preparing search index...
Api
WalletTransaction
Class WalletTransaction
Hierarchy (
View Summary
)
VirtualClass
<
{
amount
:
long
;
comment
?:
string
;
commentEncrypted
?:
boolean
;
date
:
int
;
failed
?:
boolean
;
fee
:
long
;
gasless
?:
boolean
;
id
:
string
;
incoming
?:
boolean
;
keyChange
?:
boolean
;
nft
?:
TypeNftItem
;
peer
:
TypeWalletTransactionPeer
;
txHash
?:
string
;
}
,
>
WalletTransaction
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
amount
class
Name
class
Type
comment?
comment
Encrypted?
CONSTRUCTOR_
ID
date
failed?
fee
gasless?
id
incoming?
key
Change?
nft?
original
Args
peer
SUBCLASS_
OF_
ID
tx
Hash?
Constructors
constructor
new
WalletTransaction
(
args
:
{
amount
:
BigInteger
;
comment
?:
string
;
commentEncrypted
?:
boolean
;
date
:
number
;
failed
?:
boolean
;
fee
:
BigInteger
;
gasless
?:
boolean
;
id
:
string
;
incoming
?:
boolean
;
keyChange
?:
boolean
;
nft
?:
NftItem
;
peer
:
TypeWalletTransactionPeer
;
txHash
?:
string
;
}
,
)
:
WalletTransaction
Parameters
args
:
{
amount
:
BigInteger
;
comment
?:
string
;
commentEncrypted
?:
boolean
;
date
:
number
;
failed
?:
boolean
;
fee
:
BigInteger
;
gasless
?:
boolean
;
id
:
string
;
incoming
?:
boolean
;
keyChange
?:
boolean
;
nft
?:
NftItem
;
peer
:
TypeWalletTransactionPeer
;
txHash
?:
string
;
}
Returns
WalletTransaction
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
WalletTransaction
Parameters
reader
:
any
Returns
WalletTransaction
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
amount
:
BigInteger
;
comment
?:
string
;
commentEncrypted
?:
boolean
;
date
:
number
;
failed
?:
boolean
;
fee
:
BigInteger
;
gasless
?:
boolean
;
id
:
string
;
incoming
?:
boolean
;
keyChange
?:
boolean
;
nft
?:
NftItem
;
peer
:
TypeWalletTransactionPeer
;
txHash
?:
string
;
}
Returns
{
amount
:
BigInteger
;
comment
?:
string
;
commentEncrypted
?:
boolean
;
date
:
number
;
failed
?:
boolean
;
fee
:
BigInteger
;
gasless
?:
boolean
;
id
:
string
;
incoming
?:
boolean
;
keyChange
?:
boolean
;
nft
?:
NftItem
;
peer
:
TypeWalletTransactionPeer
;
txHash
?:
string
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
amount
amount
:
BigInteger
class
Name
className
:
"WalletTransaction"
class
Type
classType
:
"constructor"
Optional
comment
comment
?:
string
Optional
comment
Encrypted
commentEncrypted
?:
boolean
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2502803779
date
date
:
number
Optional
failed
failed
?:
boolean
fee
fee
:
BigInteger
Optional
gasless
gasless
?:
boolean
id
id
:
string
Optional
incoming
incoming
?:
boolean
Optional
key
Change
keyChange
?:
boolean
Optional
nft
nft
?:
NftItem
original
Args
originalArgs
:
{
amount
:
BigInteger
;
comment
?:
string
;
commentEncrypted
?:
boolean
;
date
:
number
;
failed
?:
boolean
;
fee
:
BigInteger
;
gasless
?:
boolean
;
id
:
string
;
incoming
?:
boolean
;
keyChange
?:
boolean
;
nft
?:
NftItem
;
peer
:
TypeWalletTransactionPeer
;
txHash
?:
string
;
}
peer
peer
:
TypeWalletTransactionPeer
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1042052934
Optional
tx
Hash
txHash
?:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
amount
class
Name
class
Type
comment
comment
Encrypted
CONSTRUCTOR_
ID
date
failed
fee
gasless
id
incoming
key
Change
nft
original
Args
peer
SUBCLASS_
OF_
ID
tx
Hash
GitHub
npm
Issues
teleproto - v1.230.0
Loading...