Preparing search index...
The search index is not available
@aeternity/aepp-sdk
@aeternity/aepp-sdk
<internal>
TxParamsAsyncSignedTx1
Interface TxParamsAsyncSignedTx1
Hierarchy
TxParamsAsyncSignedTx1Type
TxParamsAsyncSignedTx1
Index
Properties
encoded
Tx
signatures
tag
version?
Properties
encoded
Tx
encoded
Tx
:
Uint8Array
|
`
tx_
${
string
}
`
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
balance
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Account
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Account
)
;
serialize
:
(
(
value
:
Account
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
balance
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Account
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Account
)
;
serialize
:
(
(
value
:
Account
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
never
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
balance
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Account
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Account
)
;
serialize
:
(
(
value
:
Account
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
never
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
balance
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
flags
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
gaAuthFun
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
gaContract
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Account
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Account
)
;
serialize
:
(
(
value
:
Account
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
balance
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
flags
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
gaAuthFun
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
gaContract
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Account
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Account
)
;
serialize
:
(
(
value
:
Account
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
balance
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
flags
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
gaAuthFun
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
gaContract
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Account
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Account
)
;
serialize
:
(
(
value
:
Account
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
encodedTx
:
EntryAny
;
signatures
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
serialize
:
(
(
value
:
readonly
Uint8Array
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
tag
:
{
constValue
:
SignedTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
SignedTx
)
;
serialize
:
(
(
value
:
SignedTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
encodedTx
:
EntryAny
;
signatures
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
serialize
:
(
(
value
:
readonly
Uint8Array
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
tag
:
{
constValue
:
SignedTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
SignedTx
)
;
serialize
:
(
(
value
:
SignedTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
encodedTx
:
EntryAny
;
signatures
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
serialize
:
(
(
value
:
readonly
Uint8Array
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
tag
:
{
constValue
:
SignedTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
SignedTx
)
;
serialize
:
(
(
value
:
SignedTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
senderId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ba_
${
string
}
`
)
;
serialize
:
(
(
value
?:
`
ba_
${
string
}
`
)
=>
Buffer
)
;
}
;
recipientId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
senderId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
SpendTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
SpendTx
)
;
serialize
:
(
(
value
:
SpendTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
senderId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ba_
${
string
}
`
)
;
serialize
:
(
(
value
?:
`
ba_
${
string
}
`
)
=>
Buffer
)
;
}
;
recipientId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
senderId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
SpendTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
SpendTx
)
;
serialize
:
(
(
value
:
SpendTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"amount"
|
"fee"
|
"ttl"
|
"payload"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
senderId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ba_
${
string
}
`
)
;
serialize
:
(
(
value
?:
`
ba_
${
string
}
`
)
=>
Buffer
)
;
}
;
recipientId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
senderId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
SpendTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
SpendTx
)
;
serialize
:
(
(
value
:
SpendTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"amount"
|
"fee"
|
"ttl"
|
"payload"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
clientTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
nameTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
pointers
:
{
deserialize
(
pointers
:
[
key
:
Buffer
,
id
:
Buffer
]
[]
)
:
NamePointer
[]
;
serialize
(
pointers
:
NamePointer
[]
)
:
Buffer
[]
[]
;
}
;
status
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Name
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Name
)
;
serialize
:
(
(
value
:
Name
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
clientTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
nameTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
pointers
:
{
deserialize
(
pointers
:
[
key
:
Buffer
,
id
:
Buffer
]
[]
)
:
NamePointer
[]
;
serialize
(
pointers
:
NamePointer
[]
)
:
Buffer
[]
[]
;
}
;
status
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Name
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Name
)
;
serialize
:
(
(
value
:
Name
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
clientTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
nameTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
pointers
:
{
deserialize
(
pointers
:
[
key
:
Buffer
,
id
:
Buffer
]
[]
)
:
NamePointer
[]
;
serialize
(
pointers
:
NamePointer
[]
)
:
Buffer
[]
[]
;
}
;
status
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Name
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Name
)
;
serialize
:
(
(
value
:
Name
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
commitmentId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cm_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NamePreclaimTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NamePreclaimTx
)
;
serialize
:
(
(
value
:
NamePreclaimTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
commitmentId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cm_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NamePreclaimTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NamePreclaimTx
)
;
serialize
:
(
(
value
:
NamePreclaimTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
commitmentId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cm_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NamePreclaimTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NamePreclaimTx
)
;
serialize
:
(
(
value
:
NamePreclaimTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
name
:
{
deserialize
(
value
:
Buffer
)
:
`
${
string
}
.chain
`
;
serialize
(
value
:
`
${
string
}
.chain
`
)
:
Buffer
;
}
;
nameFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, txFields
:
{
name
:
`
${
string
}
.chain
`
;
}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, txFields
:
{
name
:
`
${
string
}
.chain
`
;
}
)
:
string
;
}
;
nameSalt
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameClaimTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameClaimTx
)
;
serialize
:
(
(
value
:
NameClaimTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
name
:
{
deserialize
(
value
:
Buffer
)
:
`
${
string
}
.chain
`
;
serialize
(
value
:
`
${
string
}
.chain
`
)
:
Buffer
;
}
;
nameFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, txFields
:
{
name
:
`
${
string
}
.chain
`
;
}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, txFields
:
{
name
:
`
${
string
}
.chain
`
;
}
)
:
string
;
}
;
nameSalt
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameClaimTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameClaimTx
)
;
serialize
:
(
(
value
:
NameClaimTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
|
"nameFee"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
name
:
{
deserialize
(
value
:
Buffer
)
:
`
${
string
}
.chain
`
;
serialize
(
value
:
`
${
string
}
.chain
`
)
:
Buffer
;
}
;
nameFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, txFields
:
{
name
:
`
${
string
}
.chain
`
;
}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, txFields
:
{
name
:
`
${
string
}
.chain
`
;
}
)
:
string
;
}
;
nameSalt
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameClaimTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameClaimTx
)
;
serialize
:
(
(
value
:
NameClaimTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
|
"nameFee"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
clientTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nameTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
pointers
:
{
deserialize
(
pointers
:
[
key
:
Buffer
,
id
:
Buffer
]
[]
)
:
NamePointer
[]
;
serialize
(
pointers
:
NamePointer
[]
)
:
Buffer
[]
[]
;
}
;
tag
:
{
constValue
:
NameUpdateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameUpdateTx
)
;
serialize
:
(
(
value
:
NameUpdateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
clientTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nameTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
pointers
:
{
deserialize
(
pointers
:
[
key
:
Buffer
,
id
:
Buffer
]
[]
)
:
NamePointer
[]
;
serialize
(
pointers
:
NamePointer
[]
)
:
Buffer
[]
[]
;
}
;
tag
:
{
constValue
:
NameUpdateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameUpdateTx
)
;
serialize
:
(
(
value
:
NameUpdateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
clientTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nameTtl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
pointers
:
{
deserialize
(
pointers
:
[
key
:
Buffer
,
id
:
Buffer
]
[]
)
:
NamePointer
[]
;
serialize
(
pointers
:
NamePointer
[]
)
:
Buffer
[]
[]
;
}
;
tag
:
{
constValue
:
NameUpdateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameUpdateTx
)
;
serialize
:
(
(
value
:
NameUpdateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
recipientId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameTransferTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameTransferTx
)
;
serialize
:
(
(
value
:
NameTransferTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
recipientId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameTransferTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameTransferTx
)
;
serialize
:
(
(
value
:
NameTransferTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
recipientId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameTransferTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameTransferTx
)
;
serialize
:
(
(
value
:
NameTransferTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameRevokeTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameRevokeTx
)
;
serialize
:
(
(
value
:
NameRevokeTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameRevokeTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameRevokeTx
)
;
serialize
:
(
(
value
:
NameRevokeTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nameId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
nm_
${
string
}
`
)
;
serialize
(
value
:
`
${
string
}
.chain
`
|
`
nm_
${
string
}
`
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
NameRevokeTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameRevokeTx
)
;
serialize
:
(
(
value
:
NameRevokeTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
active
:
{
deserialize
(
buffer
:
Buffer
)
:
boolean
;
serialize
(
value
:
boolean
)
:
Buffer
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, options
:
{}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
log
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
owner
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
referers
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
`
ak_
${
string
}
`
[]
)
;
serialize
:
(
(
value
:
readonly
`
ak_
${
string
}
`
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
tag
:
{
constValue
:
Contract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Contract
)
;
serialize
:
(
(
value
:
Contract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
active
:
{
deserialize
(
buffer
:
Buffer
)
:
boolean
;
serialize
(
value
:
boolean
)
:
Buffer
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, options
:
{}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
log
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
owner
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
referers
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
`
ak_
${
string
}
`
[]
)
;
serialize
:
(
(
value
:
readonly
`
ak_
${
string
}
`
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
tag
:
{
constValue
:
Contract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Contract
)
;
serialize
:
(
(
value
:
Contract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"deposit"
|
"ctVersion"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
active
:
{
deserialize
(
buffer
:
Buffer
)
:
boolean
;
serialize
(
value
:
boolean
)
:
Buffer
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, options
:
{}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
log
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
owner
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
referers
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
`
ak_
${
string
}
`
[]
)
;
serialize
:
(
(
value
:
readonly
`
ak_
${
string
}
`
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
tag
:
{
constValue
:
Contract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Contract
)
;
serialize
:
(
(
value
:
Contract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"deposit"
|
"ctVersion"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, options
:
{}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
ownerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
ownerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCreateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCreateTx
)
;
serialize
:
(
(
value
:
ContractCreateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, options
:
{}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
ownerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
ownerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCreateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCreateTx
)
;
serialize
:
(
(
value
:
ContractCreateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"amount"
|
"fee"
|
"ttl"
|
"deposit"
|
"gasPrice"
|
"ctVersion"
|
"gasLimit"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, options
:
{}
, parameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
ownerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
ownerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCreateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCreateTx
)
;
serialize
:
(
(
value
:
ContractCreateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"amount"
|
"fee"
|
"ttl"
|
"deposit"
|
"gasPrice"
|
"ctVersion"
|
"gasLimit"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
&
{
gasMax
?:
number
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
callerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
contractId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
callerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCallTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCallTx
)
;
serialize
:
(
(
value
:
ContractCallTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
callerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
contractId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
callerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCallTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCallTx
)
;
serialize
:
(
(
value
:
ContractCallTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"amount"
|
"fee"
|
"ttl"
|
"abiVersion"
|
"gasPrice"
|
"gasLimit"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
callerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
contractId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
callerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCallTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCallTx
)
;
serialize
:
(
(
value
:
ContractCallTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"amount"
|
"fee"
|
"ttl"
|
"abiVersion"
|
"gasPrice"
|
"gasLimit"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
&
{
gasMax
?:
number
;
}
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
callerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
callerNonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
contractId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
gasUsed
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
height
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
log
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
serialize
:
(
(
value
:
readonly
Uint8Array
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
returnType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
CallReturnType
)
;
serialize
:
(
(
value
:
CallReturnType
)
=>
Buffer
)
;
}
;
returnValue
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCall
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCall
)
;
serialize
:
(
(
value
:
ContractCall
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
callerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
callerNonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
contractId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
gasUsed
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
height
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
log
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
serialize
:
(
(
value
:
readonly
Uint8Array
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
returnType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
CallReturnType
)
;
serialize
:
(
(
value
:
CallReturnType
)
=>
Buffer
)
;
}
;
returnValue
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCall
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCall
)
;
serialize
:
(
(
value
:
ContractCall
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
callerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
callerNonce
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
contractId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
gasUsed
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
height
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
log
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
serialize
:
(
(
value
:
readonly
Uint8Array
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
returnType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
CallReturnType
)
;
serialize
:
(
(
value
:
CallReturnType
)
=>
Buffer
)
;
}
;
returnValue
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ContractCall
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractCall
)
;
serialize
:
(
(
value
:
ContractCall
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Oracle
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Oracle
)
;
serialize
:
(
(
value
:
Oracle
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Oracle
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Oracle
)
;
serialize
:
(
(
value
:
Oracle
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"queryFee"
|
"abiVersion"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
tag
:
{
constValue
:
Oracle
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Oracle
)
;
serialize
:
(
(
value
:
Oracle
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"queryFee"
|
"abiVersion"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleRegisterTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleRegisterTx
)
;
serialize
:
(
(
value
:
OracleRegisterTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleRegisterTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleRegisterTx
)
;
serialize
:
(
(
value
:
OracleRegisterTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
|
"queryFee"
|
"abiVersion"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
accountId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
accountId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseFormat
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleRegisterTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleRegisterTx
)
;
serialize
:
(
(
value
:
OracleRegisterTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
|
"queryFee"
|
"abiVersion"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
oracleId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
oracleTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleExtendTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleExtendTx
)
;
serialize
:
(
(
value
:
OracleExtendTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
oracleId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
oracleTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleExtendTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleExtendTx
)
;
serialize
:
(
(
value
:
OracleExtendTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
oracleId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
oracleTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
oracleTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleExtendTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleExtendTx
)
;
serialize
:
(
(
value
:
OracleExtendTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
senderId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
query
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
queryTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
responseTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
responseTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
senderId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
OracleQueryTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleQueryTx
)
;
serialize
:
(
(
value
:
OracleQueryTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
senderId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
query
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
queryTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
responseTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
responseTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
senderId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
OracleQueryTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleQueryTx
)
;
serialize
:
(
(
value
:
OracleQueryTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
|
"queryFee"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
senderId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
|
`
nm_
${
string
}
`
)
=>
Buffer
)
;
}
;
query
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
queryFee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
queryTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
queryTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
responseTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
responseTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
senderId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
OracleQueryTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleQueryTx
)
;
serialize
:
(
(
value
:
OracleQueryTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
|
"queryFee"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
oracleId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
)
=>
Buffer
)
;
}
;
queryId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
oq_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
oq_
${
string
}
`
)
=>
Buffer
)
;
}
;
response
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
responseTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleResponseTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleResponseTx
)
;
serialize
:
(
(
value
:
OracleResponseTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
oracleId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
)
=>
Buffer
)
;
}
;
queryId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
oq_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
oq_
${
string
}
`
)
=>
Buffer
)
;
}
;
response
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
responseTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleResponseTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleResponseTx
)
;
serialize
:
(
(
value
:
OracleResponseTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
oracleId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
oracleId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ok_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ok_
${
string
}
`
)
=>
Buffer
)
;
}
;
queryId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
oq_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
oq_
${
string
}
`
)
=>
Buffer
)
;
}
;
response
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
responseTtlType
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
ORACLE_TTL_TYPES
)
;
serialize
:
(
(
value
:
ORACLE_TTL_TYPES
)
=>
Buffer
)
;
}
;
responseTtlValue
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
OracleResponseTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OracleResponseTx
)
;
serialize
:
(
(
value
:
OracleResponseTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelReserve
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
initiator
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiatorDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
lockPeriod
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
initiator
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responder
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responderDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelCreateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCreateTx
)
;
serialize
:
(
(
value
:
ChannelCreateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelReserve
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
initiator
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiatorDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
lockPeriod
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
initiator
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responder
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responderDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelCreateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCreateTx
)
;
serialize
:
(
(
value
:
ChannelCreateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelReserve
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
initiator
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiatorDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
lockPeriod
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
initiator
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responder
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responderDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelCreateTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCreateTx
)
;
serialize
:
(
(
value
:
ChannelCreateTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responderAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelCloseMutualTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCloseMutualTx
)
;
serialize
:
(
(
value
:
ChannelCloseMutualTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responderAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelCloseMutualTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCloseMutualTx
)
;
serialize
:
(
(
value
:
ChannelCloseMutualTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responderAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelCloseMutualTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCloseMutualTx
)
;
serialize
:
(
(
value
:
ChannelCloseMutualTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
poi
:
EntryTreesPoi
;
tag
:
{
constValue
:
ChannelCloseSoloTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCloseSoloTx
)
;
serialize
:
(
(
value
:
ChannelCloseSoloTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
poi
:
EntryTreesPoi
;
tag
:
{
constValue
:
ChannelCloseSoloTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCloseSoloTx
)
;
serialize
:
(
(
value
:
ChannelCloseSoloTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
poi
:
EntryTreesPoi
;
tag
:
{
constValue
:
ChannelCloseSoloTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelCloseSoloTx
)
;
serialize
:
(
(
value
:
ChannelCloseSoloTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
poi
:
EntryTreesPoi
;
tag
:
{
constValue
:
ChannelSlashTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSlashTx
)
;
serialize
:
(
(
value
:
ChannelSlashTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
poi
:
EntryTreesPoi
;
tag
:
{
constValue
:
ChannelSlashTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSlashTx
)
;
serialize
:
(
(
value
:
ChannelSlashTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
poi
:
EntryTreesPoi
;
tag
:
{
constValue
:
ChannelSlashTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSlashTx
)
;
serialize
:
(
(
value
:
ChannelSlashTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelDepositTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelDepositTx
)
;
serialize
:
(
(
value
:
ChannelDepositTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelDepositTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelDepositTx
)
;
serialize
:
(
(
value
:
ChannelDepositTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelDepositTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelDepositTx
)
;
serialize
:
(
(
value
:
ChannelDepositTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelWithdrawTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelWithdrawTx
)
;
serialize
:
(
(
value
:
ChannelWithdrawTx
)
=>
Buffer
)
;
}
;
toId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelWithdrawTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelWithdrawTx
)
;
serialize
:
(
(
value
:
ChannelWithdrawTx
)
=>
Buffer
)
;
}
;
toId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelWithdrawTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelWithdrawTx
)
;
serialize
:
(
(
value
:
ChannelWithdrawTx
)
=>
Buffer
)
;
}
;
toId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responderAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelSettleTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSettleTx
)
;
serialize
:
(
(
value
:
ChannelSettleTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responderAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelSettleTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSettleTx
)
;
serialize
:
(
(
value
:
ChannelSettleTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
responderAmountFinal
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelSettleTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSettleTx
)
;
serialize
:
(
(
value
:
ChannelSettleTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
offChainTrees
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ss_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ss_
${
string
}
`
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelForceProgressTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelForceProgressTx
)
;
serialize
:
(
(
value
:
ChannelForceProgressTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
update
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
offChainTrees
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ss_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ss_
${
string
}
`
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelForceProgressTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelForceProgressTx
)
;
serialize
:
(
(
value
:
ChannelForceProgressTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
update
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
offChainTrees
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ss_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ss_
${
string
}
`
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelForceProgressTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelForceProgressTx
)
;
serialize
:
(
(
value
:
ChannelForceProgressTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
update
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainTx
)
;
serialize
:
(
(
value
:
ChannelOffChainTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainTx
)
;
serialize
:
(
(
value
:
ChannelOffChainTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainTx
)
;
serialize
:
(
(
value
:
ChannelOffChainTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelReserve
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiator
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiatorAuth
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
lockPeriod
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
lockedUntil
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responder
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responderAuth
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
soloRound
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
Channel
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Channel
)
;
serialize
:
(
(
value
:
Channel
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
3
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
3
)
;
serialize
:
(
(
value
?:
3
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelReserve
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiator
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiatorAuth
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
lockPeriod
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
lockedUntil
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responder
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responderAuth
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
soloRound
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
Channel
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Channel
)
;
serialize
:
(
(
value
:
Channel
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
3
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
3
)
;
serialize
:
(
(
value
?:
3
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
channelReserve
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiator
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
initiatorAuth
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
initiatorDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
lockPeriod
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
lockedUntil
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responder
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderAmount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
responderAuth
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
responderDelegateIds
:
{
deserialize
:
(
(
value
:
Buffer
[]
, params
:
unknown
)
=>
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
)
;
serialize
:
(
(
value
:
readonly
(
`
ch_
${
string
}
`
|
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
|
`
cm_
${
string
}
`
|
`
nm_
${
string
}
`
)
[]
, params
:
unknown
)
=>
Buffer
[]
)
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
soloRound
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
stateHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
st_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
st_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
Channel
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Channel
)
;
serialize
:
(
(
value
:
Channel
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
3
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
3
)
;
serialize
:
(
(
value
?:
3
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelSnapshotSoloTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSnapshotSoloTx
)
;
serialize
:
(
(
value
:
ChannelSnapshotSoloTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelSnapshotSoloTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSnapshotSoloTx
)
;
serialize
:
(
(
value
:
ChannelSnapshotSoloTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
fromId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
fromId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payload
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
tx_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
tx_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelSnapshotSoloTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelSnapshotSoloTx
)
;
serialize
:
(
(
value
:
ChannelSnapshotSoloTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateTransfer
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateTransfer
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateTransfer
)
=>
Buffer
)
;
}
;
to
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateTransfer
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateTransfer
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateTransfer
)
=>
Buffer
)
;
}
;
to
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateTransfer
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateTransfer
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateTransfer
)
=>
Buffer
)
;
}
;
to
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateDeposit
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateDeposit
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateDeposit
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateDeposit
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateDeposit
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateDeposit
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateDeposit
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateDeposit
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateDeposit
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateWithdraw
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateWithdraw
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateWithdraw
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateWithdraw
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateWithdraw
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateWithdraw
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
from
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateWithdraw
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateWithdraw
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateWithdraw
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
owner
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateCreateContract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateCreateContract
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateCreateContract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
owner
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateCreateContract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateCreateContract
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateCreateContract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"ctVersion"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
deposit
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
owner
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateCreateContract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateCreateContract
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateCreateContract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"ctVersion"
>
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
callStack
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
caller
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
contract
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateCallContract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateCallContract
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateCallContract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
callStack
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
caller
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
contract
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateCallContract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateCallContract
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateCallContract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"abiVersion"
|
"gasPrice"
|
"gasLimit"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
amount
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
Int
)
:
Buffer
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
callStack
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
caller
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
contract
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ct_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ct_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
ChannelOffChainUpdateCallContract
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelOffChainUpdateCallContract
)
;
serialize
:
(
(
value
:
ChannelOffChainUpdateCallContract
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"abiVersion"
|
"gasPrice"
|
"gasLimit"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
&
{
gasMax
?:
number
;
}
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
pubkey
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
role
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelClientReconnectTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelClientReconnectTx
)
;
serialize
:
(
(
value
:
ChannelClientReconnectTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
pubkey
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
role
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelClientReconnectTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelClientReconnectTx
)
;
serialize
:
(
(
value
:
ChannelClientReconnectTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
channelId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ch_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ch_
${
string
}
`
)
=>
Buffer
)
;
}
;
pubkey
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
role
:
{
deserialize
(
buffer
:
Buffer
)
:
string
;
serialize
(
string
:
string
)
:
Buffer
;
}
;
round
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
value
:
number
)
:
Buffer
;
}
;
tag
:
{
constValue
:
ChannelClientReconnectTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelClientReconnectTx
)
;
serialize
:
(
(
value
:
ChannelClientReconnectTx
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
accounts
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
AccountAddress
,
Account
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
AccountAddress
,
Account
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
calls
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Bytearray
,
ContractCall
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Bytearray
,
ContractCall
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
channels
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Channel
,
Channel
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Channel
,
Channel
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
contracts
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
ContractAddress
,
Contract
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
ContractAddress
,
Contract
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
ns
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Name
,
Name
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Name
,
Name
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
oracles
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
OracleAddress
,
Oracle
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
OracleAddress
,
Oracle
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
tag
:
{
constValue
:
TreesPoi
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
TreesPoi
)
;
serialize
:
(
(
value
:
TreesPoi
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accounts
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
AccountAddress
,
Account
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
AccountAddress
,
Account
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
calls
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Bytearray
,
ContractCall
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Bytearray
,
ContractCall
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
channels
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Channel
,
Channel
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Channel
,
Channel
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
contracts
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
ContractAddress
,
Contract
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
ContractAddress
,
Contract
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
ns
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Name
,
Name
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Name
,
Name
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
oracles
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
OracleAddress
,
Oracle
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
OracleAddress
,
Oracle
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
tag
:
{
constValue
:
TreesPoi
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
TreesPoi
)
;
serialize
:
(
(
value
:
TreesPoi
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accounts
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
AccountAddress
,
Account
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
AccountAddress
,
Account
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
calls
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Bytearray
,
ContractCall
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Bytearray
,
ContractCall
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
channels
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Channel
,
Channel
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Channel
,
Channel
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
contracts
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
ContractAddress
,
Contract
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
ContractAddress
,
Contract
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
ns
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
Name
,
Name
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
Name
,
Name
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
oracles
:
{
deserialize
:
(
(
value
:
MPTreeBinary
[]
, params
:
unknown
)
=>
MPTree
<
OracleAddress
,
Oracle
>
[]
)
;
serialize
:
(
(
value
:
readonly
MPTree
<
OracleAddress
,
Oracle
>
[]
, params
:
unknown
)
=>
MPTreeBinary
[]
)
;
}
;
tag
:
{
constValue
:
TreesPoi
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
TreesPoi
)
;
serialize
:
(
(
value
:
TreesPoi
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
accounts
:
MapAccounts
;
calls
:
MapCalls
;
channels
:
MapChannels
;
contracts
:
MapContracts
;
ns
:
MapNames
;
oracles
:
MapOracles
;
tag
:
{
constValue
:
StateTrees
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
StateTrees
)
;
serialize
:
(
(
value
:
StateTrees
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
0
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
0
)
;
serialize
:
(
(
value
?:
0
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accounts
:
MapAccounts
;
calls
:
MapCalls
;
channels
:
MapChannels
;
contracts
:
MapContracts
;
ns
:
MapNames
;
oracles
:
MapOracles
;
tag
:
{
constValue
:
StateTrees
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
StateTrees
)
;
serialize
:
(
(
value
:
StateTrees
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
0
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
0
)
;
serialize
:
(
(
value
?:
0
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
accounts
:
MapAccounts
;
calls
:
MapCalls
;
channels
:
MapChannels
;
contracts
:
MapContracts
;
ns
:
MapNames
;
oracles
:
MapOracles
;
tag
:
{
constValue
:
StateTrees
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
StateTrees
)
;
serialize
:
(
(
value
:
StateTrees
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
0
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
0
)
;
serialize
:
(
(
value
?:
0
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
tag
:
{
constValue
:
Mtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Mtree
)
;
serialize
:
(
(
value
:
Mtree
)
=>
Buffer
)
;
}
;
values
:
EntryMtreeValueArray
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
tag
:
{
constValue
:
Mtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Mtree
)
;
serialize
:
(
(
value
:
Mtree
)
=>
Buffer
)
;
}
;
values
:
EntryMtreeValueArray
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
tag
:
{
constValue
:
Mtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
Mtree
)
;
serialize
:
(
(
value
:
Mtree
)
=>
Buffer
)
;
}
;
values
:
EntryMtreeValueArray
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
key
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
tag
:
{
constValue
:
MtreeValue
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
MtreeValue
)
;
serialize
:
(
(
value
:
MtreeValue
)
=>
Buffer
)
;
}
;
value
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
key
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
tag
:
{
constValue
:
MtreeValue
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
MtreeValue
)
;
serialize
:
(
(
value
:
MtreeValue
)
=>
Buffer
)
;
}
;
value
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
key
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
tag
:
{
constValue
:
MtreeValue
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
MtreeValue
)
;
serialize
:
(
(
value
:
MtreeValue
)
=>
Buffer
)
;
}
;
value
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapContracts
;
tag
:
{
constValue
:
ContractsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractsMtree
)
;
serialize
:
(
(
value
:
ContractsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapContracts
;
tag
:
{
constValue
:
ContractsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractsMtree
)
;
serialize
:
(
(
value
:
ContractsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapContracts
;
tag
:
{
constValue
:
ContractsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ContractsMtree
)
;
serialize
:
(
(
value
:
ContractsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapCalls
;
tag
:
{
constValue
:
CallsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
CallsMtree
)
;
serialize
:
(
(
value
:
CallsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapCalls
;
tag
:
{
constValue
:
CallsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
CallsMtree
)
;
serialize
:
(
(
value
:
CallsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapCalls
;
tag
:
{
constValue
:
CallsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
CallsMtree
)
;
serialize
:
(
(
value
:
CallsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapChannels
;
tag
:
{
constValue
:
ChannelsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelsMtree
)
;
serialize
:
(
(
value
:
ChannelsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapChannels
;
tag
:
{
constValue
:
ChannelsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelsMtree
)
;
serialize
:
(
(
value
:
ChannelsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapChannels
;
tag
:
{
constValue
:
ChannelsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
ChannelsMtree
)
;
serialize
:
(
(
value
:
ChannelsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapNames
;
tag
:
{
constValue
:
NameserviceMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameserviceMtree
)
;
serialize
:
(
(
value
:
NameserviceMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapNames
;
tag
:
{
constValue
:
NameserviceMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameserviceMtree
)
;
serialize
:
(
(
value
:
NameserviceMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapNames
;
tag
:
{
constValue
:
NameserviceMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
NameserviceMtree
)
;
serialize
:
(
(
value
:
NameserviceMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapOracles
;
tag
:
{
constValue
:
OraclesMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OraclesMtree
)
;
serialize
:
(
(
value
:
OraclesMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapOracles
;
tag
:
{
constValue
:
OraclesMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OraclesMtree
)
;
serialize
:
(
(
value
:
OraclesMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapOracles
;
tag
:
{
constValue
:
OraclesMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
OraclesMtree
)
;
serialize
:
(
(
value
:
OraclesMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapAccounts
;
tag
:
{
constValue
:
AccountsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
AccountsMtree
)
;
serialize
:
(
(
value
:
AccountsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapAccounts
;
tag
:
{
constValue
:
AccountsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
AccountsMtree
)
;
serialize
:
(
(
value
:
AccountsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
payload
:
MapAccounts
;
tag
:
{
constValue
:
AccountsMtree
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
AccountsMtree
)
;
serialize
:
(
(
value
:
AccountsMtree
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
>
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
authFun
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
ownerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
ownerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
GaAttachTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaAttachTx
)
;
serialize
:
(
(
value
:
GaAttachTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
authFun
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
ownerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
ownerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
GaAttachTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaAttachTx
)
;
serialize
:
(
(
value
:
GaAttachTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
|
"gasPrice"
|
"ctVersion"
|
"gasLimit"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
authFun
:
{
deserialize
(
buffer
:
Buffer
)
:
Buffer
;
serialize
(
buffer
:
Uint8Array
)
:
Buffer
;
}
;
callData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
code
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
ctVersion
:
{
deserialize
(
buffer
:
Buffer
)
:
CtVersion
;
prepare
(
value
:
undefined
|
CtVersion
, params
:
{}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
CtVersion
>
;
serialize
(
value
:
undefined
|
CtVersion
, params
:
{}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
ownerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
ownerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
GaAttachTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaAttachTx
)
;
serialize
:
(
(
value
:
GaAttachTx
)
=>
Buffer
)
;
}
;
ttl
:
{
deserialize
(
value
:
Buffer
)
:
number
;
prepare
(
value
:
undefined
|
number
, params
:
{}
, __namedParameters
:
{
absoluteTtl
?:
boolean
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
number
>
;
serialize
(
value
:
undefined
|
number
)
:
Buffer
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"ttl"
|
"gasPrice"
|
"ctVersion"
|
"gasLimit"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
&
{
gasMax
?:
number
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
authData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gaId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
GaMetaTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaMetaTx
)
;
serialize
:
(
(
value
:
GaMetaTx
)
=>
Buffer
)
;
}
;
tx
:
EntrySignedTx
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
authData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gaId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
GaMetaTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaMetaTx
)
;
serialize
:
(
(
value
:
GaMetaTx
)
=>
Buffer
)
;
}
;
tx
:
EntrySignedTx
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"abiVersion"
|
"gasPrice"
|
"gasLimit"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
abiVersion
:
{
_getProtocolDetails
(
c
:
ConsensusProtocolVersion
, tag
:
Tag
)
:
AbiVersion
;
deserialize
(
buffer
:
Buffer
)
:
AbiVersion
;
prepare
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, options
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
onNode
?:
Node
;
}
)
:
Promise
<
undefined
|
AbiVersion
>
;
serialize
(
value
:
undefined
|
AbiVersion
, __namedParameters
:
{
tag
:
Tag
;
}
, __namedParameters
:
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
)
:
Buffer
;
}
;
authData
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
cb_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
cb_
${
string
}
`
)
=>
Buffer
)
;
}
;
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
gaId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
gasLimit
:
{
deserialize
(
value
:
Buffer
)
:
number
;
serialize
(
_value
:
undefined
|
number
, __namedParameters
:
{
_computingGasLimit
?:
number
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
any
)
;
tag
:
Tag
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
, __namedParameters
:
{
gasMax
?:
number
;
}
)
:
Buffer
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
GaMetaTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaMetaTx
)
;
serialize
:
(
(
value
:
GaMetaTx
)
=>
Buffer
)
;
}
;
tx
:
EntrySignedTx
;
version
:
{
constValue
:
2
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
2
)
;
serialize
:
(
(
value
?:
2
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"abiVersion"
|
"gasPrice"
|
"gasLimit"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
&
{
gasMax
?:
number
;
}
&
{
consensusProtocolVersion
?:
ConsensusProtocolVersion
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
payerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
PayingForTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
PayingForTx
)
;
serialize
:
(
(
value
:
PayingForTx
)
=>
Buffer
)
;
}
;
tx
:
EntrySignedTx
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
payerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
PayingForTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
PayingForTx
)
;
serialize
:
(
(
value
:
PayingForTx
)
=>
Buffer
)
;
}
;
tx
:
EntrySignedTx
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
_value
:
undefined
|
string
, __namedParameters
:
{
_computingMinFee
?:
BigNumber
;
_pickBiggerFee
?:
boolean
;
buildTx
:
(
<
E
>
(
params
:
TxParams
, options
?:
{
prefix
?:
E
;
}
)
=>
Generic
<
E
>
)
;
rebuildTx
:
(
(
params
:
any
)
=>
`
tx_
${
string
}
`
)
;
unpackTx
:
(
<
TxType
>
(
encodedTx
:
`
tx_
${
string
}
`
|
`
pi_
${
string
}
`
|
`
ss_
${
string
}
`
|
`
cs_
${
string
}
`
, txType
?:
TxType
)
=>
TxUnpacked
&
{
tag
:
TxType
;
}
)
;
}
)
:
string
;
}
;
nonce
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
number
)
;
prepare
:
(
(
value
:
undefined
|
number
, params
:
{}
, options
:
{
payerId
:
string
;
}
&
{
onNode
?:
Node
;
strategy
?:
NextNonceStrategy
;
}
)
=>
Promise
<
number
>
)
;
senderKey
:
string
;
serialize
:
(
(
value
:
number
)
=>
Buffer
)
;
}
;
payerId
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
ak_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
ak_
${
string
}
`
)
=>
Buffer
)
;
}
;
tag
:
{
constValue
:
PayingForTx
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
PayingForTx
)
;
serialize
:
(
(
value
:
PayingForTx
)
=>
Buffer
)
;
}
;
tx
:
EntrySignedTx
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
|
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
GaMetaTxAuthData
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaMetaTxAuthData
)
;
serialize
:
(
(
value
:
GaMetaTxAuthData
)
=>
Buffer
)
;
}
;
txHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
th_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
th_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
true
>
>
&
Partial
<
Pick
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
GaMetaTxAuthData
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaMetaTxAuthData
)
;
serialize
:
(
(
value
:
GaMetaTxAuthData
)
=>
Buffer
)
;
}
;
txHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
th_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
th_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"gasPrice"
>
>
&
Omit
<
TxParamsBySchemaInternal
<
PickIsRec
<
{
fee
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
:
undefined
|
string
)
:
string
;
}
;
gasPrice
:
{
deserialize
(
value
:
Buffer
)
:
string
;
serialize
(
value
:
undefined
|
Int
, params
:
{}
, __namedParameters
:
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
)
:
Buffer
;
serializeAettos
(
value
?:
undefined
|
string
)
:
string
;
}
;
tag
:
{
constValue
:
GaMetaTxAuthData
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
GaMetaTxAuthData
)
;
serialize
:
(
(
value
:
GaMetaTxAuthData
)
=>
Buffer
)
;
}
;
txHash
:
{
deserialize
:
(
(
value
:
Buffer
)
=>
`
th_
${
string
}
`
)
;
serialize
:
(
(
value
:
`
th_
${
string
}
`
)
=>
Buffer
)
;
}
;
version
:
{
constValue
:
1
;
constValueOptional
:
boolean
;
deserialize
:
(
(
value
:
Buffer
)
=>
1
)
;
serialize
:
(
(
value
?:
1
)
=>
Buffer
)
;
}
;
}
,
false
>
>
,
"version"
|
"fee"
|
"gasPrice"
>
&
{
denomination
?:
AE_AMOUNT_FORMATS
;
}
signatures
signatures
:
readonly
Uint8Array
[]
tag
tag
:
SignedTx
Optional
version
version
?:
1
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Modules
@aeternity/aepp-
sdk
<internal>
Encoded
Tx
Params
Async
Signed
Tx1
encoded
Tx
signatures
tag
version?
Generated using
TypeDoc