teleproto - v1.234.0
GitHub
npm
Issues
Preparing search index...
Api
payments
StarGiftOnchainOfferTx
Class StarGiftOnchainOfferTx
Hierarchy (
View Summary
)
VirtualClass
<
{
executionAllowance
?:
long
;
expiresAt
:
int
;
fine
?:
long
;
forwardAmount
?:
long
;
gaslessMessage
?:
TypeStarGiftOnchainOfferTxMessage
;
message
:
TypeStarGiftOnchainOfferTxMessage
;
offerAddress
:
string
;
offerId
:
long
;
rentBudget
?:
long
;
}
,
>
StarGiftOnchainOfferTx
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
execution
Allowance?
expires
At
fine?
forward
Amount?
gasless
Message?
message
offer
Address
offer
Id
original
Args
rent
Budget?
SUBCLASS_
OF_
ID
Constructors
constructor
new
StarGiftOnchainOfferTx
(
args
:
{
executionAllowance
?:
BigInteger
;
expiresAt
:
number
;
fine
?:
BigInteger
;
forwardAmount
?:
BigInteger
;
gaslessMessage
?:
StarGiftOnchainOfferTxMessage
;
message
:
StarGiftOnchainOfferTxMessage
;
offerAddress
:
string
;
offerId
:
BigInteger
;
rentBudget
?:
BigInteger
;
}
,
)
:
StarGiftOnchainOfferTx
Parameters
args
:
{
executionAllowance
?:
BigInteger
;
expiresAt
:
number
;
fine
?:
BigInteger
;
forwardAmount
?:
BigInteger
;
gaslessMessage
?:
StarGiftOnchainOfferTxMessage
;
message
:
StarGiftOnchainOfferTxMessage
;
offerAddress
:
string
;
offerId
:
BigInteger
;
rentBudget
?:
BigInteger
;
}
Returns
StarGiftOnchainOfferTx
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
StarGiftOnchainOfferTx
Parameters
reader
:
any
Returns
StarGiftOnchainOfferTx
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
()
:
{
executionAllowance
?:
BigInteger
;
expiresAt
:
number
;
fine
?:
BigInteger
;
forwardAmount
?:
BigInteger
;
gaslessMessage
?:
StarGiftOnchainOfferTxMessage
;
message
:
StarGiftOnchainOfferTxMessage
;
offerAddress
:
string
;
offerId
:
BigInteger
;
rentBudget
?:
BigInteger
;
}
Returns
{
executionAllowance
?:
BigInteger
;
expiresAt
:
number
;
fine
?:
BigInteger
;
forwardAmount
?:
BigInteger
;
gaslessMessage
?:
StarGiftOnchainOfferTxMessage
;
message
:
StarGiftOnchainOfferTxMessage
;
offerAddress
:
string
;
offerId
:
BigInteger
;
rentBudget
?:
BigInteger
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"request"
|
"constructor"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
class
Name
className
:
"payments.StarGiftOnchainOfferTx"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
4267082191
Optional
execution
Allowance
executionAllowance
?:
BigInteger
expires
At
expiresAt
:
number
Optional
fine
fine
?:
BigInteger
Optional
forward
Amount
forwardAmount
?:
BigInteger
Optional
gasless
Message
gaslessMessage
?:
StarGiftOnchainOfferTxMessage
message
message
:
StarGiftOnchainOfferTxMessage
offer
Address
offerAddress
:
string
offer
Id
offerId
:
BigInteger
original
Args
originalArgs
:
{
executionAllowance
?:
BigInteger
;
expiresAt
:
number
;
fine
?:
BigInteger
;
forwardAmount
?:
BigInteger
;
gaslessMessage
?:
StarGiftOnchainOfferTxMessage
;
message
:
StarGiftOnchainOfferTxMessage
;
offerAddress
:
string
;
offerId
:
BigInteger
;
rentBudget
?:
BigInteger
;
}
Optional
rent
Budget
rentBudget
?:
BigInteger
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
226033874
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
class
Name
class
Type
CONSTRUCTOR_
ID
execution
Allowance
expires
At
fine
forward
Amount
gasless
Message
message
offer
Address
offer
Id
original
Args
rent
Budget
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.234.0
Loading...