Preparing search index...
The search index is not available
@aeternity/aepp-sdk
@aeternity/aepp-sdk
<internal>
AeSdkMethodsTransformed
Interface AeSdkMethodsTransformed
interface
AeSdkMethodsTransformed
{
_getPollInterval
:
(
...
args
:
|
[
type
:
"key-block"
|
"micro-block"
]
|
[
type
:
"key-block"
|
"micro-block"
,
Omit
<
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
;
awaitHeight
:
(
...
args
:
|
[
height
:
number
]
|
[
height
:
number
,
Omit
<
{
interval
?:
number
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
interval
?:
number
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
;
buildAuthTxHash
:
(
...
args
:
|
[
transaction
:
`
tx_
${
string
}
`
]
|
[
transaction
:
`
tx_
${
string
}
`
,
Omit
<
{
fee
?:
Int
;
gasPrice
?:
Int
;
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
fee
?:
Int
;
gasPrice
?:
Int
;
onNode
:
Node
}
>
,
]
,
)
=>
Promise
;
buildAuthTxHashByGaMetaTx
:
(
...
args
:
|
[
transaction
:
`
tx_
${
string
}
`
]
|
[
transaction
:
`
tx_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
createGeneralizedAccount
:
(
...
args
:
|
[
authFnName
:
string
,
args
:
any
[]
]
|
[
authFnName
:
string
,
args
:
any
[]
,
Omit
<
CreateGeneralizedAccountOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
Omit
<
CreateGeneralizedAccountOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
;
}
,
>
,
]
,
)
=>
Promise
;
getAccount
:
(
...
args
:
|
[
address
:
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
]
|
[
address
:
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
Omit
<
{
hash
?:
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
height
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
hash
?:
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
height
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
;
getBalance
:
(
...
args
:
|
[
address
:
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
]
|
[
address
:
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
,
Omit
<
{
format
?:
AE_AMOUNT_FORMATS
}
&
{
hash
?:
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
height
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
format
?:
AE_AMOUNT_FORMATS
}
&
{
hash
?:
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
height
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
;
getContract
:
(
...
args
:
|
[
contractId
:
`
ct_
${
string
}
`
]
|
[
contractId
:
`
ct_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
getContractByteCode
:
(
...
args
:
|
[
contractId
:
`
ct_
${
string
}
`
]
|
[
contractId
:
`
ct_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
getCurrentGeneration
:
(
...
args
:
|
[
]
|
[
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
getGeneration
:
(
...
args
:
|
[
hashOrHeight
:
number
|
`
kh_
${
string
}
`
]
|
[
hashOrHeight
:
number
|
`
kh_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
getHeight
:
(
...
args
:
|
[
]
|
[
Omit
<
{
cached
?:
boolean
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
cached
?:
boolean
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
;
getKeyBlock
:
(
...
args
:
|
[
hashOrHeight
:
number
|
`
kh_
${
string
}
`
]
|
[
hashOrHeight
:
number
|
`
kh_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
getMicroBlockHeader
:
(
...
args
:
|
[
hash
:
`
mh_
${
string
}
`
]
|
[
hash
:
`
mh_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
getMicroBlockTransactions
:
(
...
args
:
|
[
hash
:
`
mh_
${
string
}
`
]
|
[
hash
:
`
mh_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
getName
:
(
...
args
:
|
[
name
:
`
${
string
}
.chain
`
]
|
[
name
:
`
${
string
}
.chain
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
;
payForTransaction
:
(
...
args
:
|
[
transaction
:
`
tx_
${
string
}
`
]
|
[
transaction
:
`
tx_
${
string
}
`
,
Omit
<
PayForTransactionOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
Omit
<
PayForTransactionOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
;
}
,
>
,
]
,
)
=>
Promise
;
poll
:
(
...
args
:
|
[
th
:
`
th_
${
string
}
`
]
|
[
th
:
`
th_
${
string
}
`
,
Omit
<
{
blocks
?:
number
;
interval
?:
number
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
blocks
?:
number
;
interval
?:
number
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
;
resolveName
:
(
...
args
:
|
[
nameOrId
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
key
:
string
,
]
|
[
nameOrId
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
key
:
string
,
Omit
<
{
onNode
:
Node
;
resolveByNode
?:
boolean
;
verify
?:
boolean
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
onNode
:
Node
;
resolveByNode
?:
boolean
;
verify
?:
boolean
}
>
,
]
,
)
=>
Promise
;
sendTransaction
:
(
...
args
:
|
[
txUnsigned
:
`
tx_
${
string
}
`
]
|
[
txUnsigned
:
`
tx_
${
string
}
`
,
Omit
<
SendTransactionOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
Omit
<
SendTransactionOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
}
,
>
,
]
,
)
=>
Promise
;
spend
:
(
...
args
:
|
[
amount
:
string
|
number
,
recipientIdOrName
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
]
|
[
amount
:
string
|
number
,
recipientIdOrName
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
Omit
<
SpendOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
Omit
<
SpendOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
}
,
>
,
]
,
)
=>
Promise
;
transferFunds
:
(
...
args
:
|
[
fraction
:
string
|
number
,
recipientIdOrName
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
]
|
[
fraction
:
string
|
number
,
recipientIdOrName
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
Omit
<
TransferFundsOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
Omit
<
TransferFundsOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
}
,
>
,
]
,
)
=>
Promise
;
txDryRun
:
(
...
args
:
|
[
tx
:
`
tx_
${
string
}
`
,
accountAddress
:
`
ak_
${
string
}
`
]
|
[
tx
:
`
tx_
${
string
}
`
,
accountAddress
:
`
ak_
${
string
}
`
,
Omit
<
{
combine
?:
boolean
;
onNode
:
Node
;
top
?:
number
|
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
txEvents
?:
boolean
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
combine
?:
boolean
;
onNode
:
Node
;
top
?:
number
|
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
txEvents
?:
boolean
;
}
,
>
,
]
,
)
=>
Promise
;
waitForTxConfirm
:
(
...
args
:
|
[
txHash
:
`
th_
${
string
}
`
]
|
[
txHash
:
`
th_
${
string
}
`
,
Omit
<
{
confirm
?:
number
;
onNode
:
Node
}
&
{
interval
?:
number
;
onNode
:
Node
;
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
confirm
?:
number
;
onNode
:
Node
}
&
{
interval
?:
number
;
onNode
:
Node
;
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
;
}
Hierarchy (
View Summary
)
TransformMethods
<
typeof
methods
>
AeSdkMethodsTransformed
Index
Properties
_get
Poll
Interval
await
Height
build
Auth
Tx
Hash
build
Auth
Tx
Hash
By
Ga
Meta
Tx
create
Generalized
Account
get
Account
get
Balance
get
Contract
get
Contract
Byte
Code
get
Current
Generation
get
Generation
get
Height
get
Key
Block
get
Micro
Block
Header
get
Micro
Block
Transactions
get
Name
pay
For
Transaction
poll
resolve
Name
send
Transaction
spend
transfer
Funds
tx
Dry
Run
wait
For
Tx
Confirm
Properties
_get
Poll
Interval
_getPollInterval
:
(
...
args
:
|
[
type
:
"key-block"
|
"micro-block"
]
|
[
type
:
"key-block"
|
"micro-block"
,
Omit
<
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
await
Height
awaitHeight
:
(
...
args
:
|
[
height
:
number
]
|
[
height
:
number
,
Omit
<
{
interval
?:
number
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
interval
?:
number
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
build
Auth
Tx
Hash
buildAuthTxHash
:
(
...
args
:
|
[
transaction
:
`
tx_
${
string
}
`
]
|
[
transaction
:
`
tx_
${
string
}
`
,
Omit
<
{
fee
?:
Int
;
gasPrice
?:
Int
;
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
fee
?:
Int
;
gasPrice
?:
Int
;
onNode
:
Node
}
>
,
]
,
)
=>
Promise
build
Auth
Tx
Hash
By
Ga
Meta
Tx
buildAuthTxHashByGaMetaTx
:
(
...
args
:
|
[
transaction
:
`
tx_
${
string
}
`
]
|
[
transaction
:
`
tx_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
create
Generalized
Account
createGeneralizedAccount
:
(
...
args
:
|
[
authFnName
:
string
,
args
:
any
[]
]
|
[
authFnName
:
string
,
args
:
any
[]
,
Omit
<
CreateGeneralizedAccountOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
Omit
<
CreateGeneralizedAccountOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
;
}
,
>
,
]
,
)
=>
Promise
get
Account
getAccount
:
(
...
args
:
|
[
address
:
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
]
|
[
address
:
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
Omit
<
{
hash
?:
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
height
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
hash
?:
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
height
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
get
Balance
getBalance
:
(
...
args
:
|
[
address
:
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
]
|
[
address
:
`
ct_
${
string
}
`
|
`
ok_
${
string
}
`
|
`
ak_
${
string
}
`
,
Omit
<
{
format
?:
AE_AMOUNT_FORMATS
}
&
{
hash
?:
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
height
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
format
?:
AE_AMOUNT_FORMATS
}
&
{
hash
?:
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
height
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
get
Contract
getContract
:
(
...
args
:
|
[
contractId
:
`
ct_
${
string
}
`
]
|
[
contractId
:
`
ct_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
get
Contract
Byte
Code
getContractByteCode
:
(
...
args
:
|
[
contractId
:
`
ct_
${
string
}
`
]
|
[
contractId
:
`
ct_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
get
Current
Generation
getCurrentGeneration
:
(
...
args
:
|
[
]
|
[
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
get
Generation
getGeneration
:
(
...
args
:
|
[
hashOrHeight
:
number
|
`
kh_
${
string
}
`
]
|
[
hashOrHeight
:
number
|
`
kh_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
get
Height
getHeight
:
(
...
args
:
|
[
]
|
[
Omit
<
{
cached
?:
boolean
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
cached
?:
boolean
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
get
Key
Block
getKeyBlock
:
(
...
args
:
|
[
hashOrHeight
:
number
|
`
kh_
${
string
}
`
]
|
[
hashOrHeight
:
number
|
`
kh_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
get
Micro
Block
Header
getMicroBlockHeader
:
(
...
args
:
|
[
hash
:
`
mh_
${
string
}
`
]
|
[
hash
:
`
mh_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
get
Micro
Block
Transactions
getMicroBlockTransactions
:
(
...
args
:
|
[
hash
:
`
mh_
${
string
}
`
]
|
[
hash
:
`
mh_
${
string
}
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
get
Name
getName
:
(
...
args
:
|
[
name
:
`
${
string
}
.chain
`
]
|
[
name
:
`
${
string
}
.chain
`
,
Omit
<
{
onNode
:
Node
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
{
onNode
:
Node
}
,
>
,
]
,
)
=>
Promise
pay
For
Transaction
payForTransaction
:
(
...
args
:
|
[
transaction
:
`
tx_
${
string
}
`
]
|
[
transaction
:
`
tx_
${
string
}
`
,
Omit
<
PayForTransactionOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
Omit
<
PayForTransactionOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
;
}
,
>
,
]
,
)
=>
Promise
poll
poll
:
(
...
args
:
|
[
th
:
`
th_
${
string
}
`
]
|
[
th
:
`
th_
${
string
}
`
,
Omit
<
{
blocks
?:
number
;
interval
?:
number
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
blocks
?:
number
;
interval
?:
number
;
onNode
:
Node
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
resolve
Name
resolveName
:
(
...
args
:
|
[
nameOrId
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
key
:
string
,
]
|
[
nameOrId
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
key
:
string
,
Omit
<
{
onNode
:
Node
;
resolveByNode
?:
boolean
;
verify
?:
boolean
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
onNode
:
Node
;
resolveByNode
?:
boolean
;
verify
?:
boolean
}
>
,
]
,
)
=>
Promise
send
Transaction
sendTransaction
:
(
...
args
:
|
[
txUnsigned
:
`
tx_
${
string
}
`
]
|
[
txUnsigned
:
`
tx_
${
string
}
`
,
Omit
<
SendTransactionOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
Omit
<
SendTransactionOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
}
,
>
,
]
,
)
=>
Promise
spend
spend
:
(
...
args
:
|
[
amount
:
string
|
number
,
recipientIdOrName
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
]
|
[
amount
:
string
|
number
,
recipientIdOrName
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
Omit
<
SpendOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
Omit
<
SpendOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
}
,
>
,
]
,
)
=>
Promise
transfer
Funds
transferFunds
:
(
...
args
:
|
[
fraction
:
string
|
number
,
recipientIdOrName
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
]
|
[
fraction
:
string
|
number
,
recipientIdOrName
:
`
${
string
}
.chain
`
|
`
ct_
${
string
}
`
|
`
ak_
${
string
}
`
,
Omit
<
TransferFundsOptions
,
"onNode"
|
"onAccount"
|
"onCompiler"
>
&
Partial
<
Omit
<
TransferFundsOptions
,
"onAccount"
>
&
{
onAccount
:
OnAccount
}
,
>
,
]
,
)
=>
Promise
tx
Dry
Run
txDryRun
:
(
...
args
:
|
[
tx
:
`
tx_
${
string
}
`
,
accountAddress
:
`
ak_
${
string
}
`
]
|
[
tx
:
`
tx_
${
string
}
`
,
accountAddress
:
`
ak_
${
string
}
`
,
Omit
<
{
combine
?:
boolean
;
onNode
:
Node
;
top
?:
number
|
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
txEvents
?:
boolean
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
combine
?:
boolean
;
onNode
:
Node
;
top
?:
number
|
`
kh_
${
string
}
`
|
`
mh_
${
string
}
`
;
txEvents
?:
boolean
;
}
,
>
,
]
,
)
=>
Promise
wait
For
Tx
Confirm
waitForTxConfirm
:
(
...
args
:
|
[
txHash
:
`
th_
${
string
}
`
]
|
[
txHash
:
`
th_
${
string
}
`
,
Omit
<
{
confirm
?:
number
;
onNode
:
Node
}
&
{
interval
?:
number
;
onNode
:
Node
;
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
"onNode"
|
"onAccount"
|
"onCompiler"
,
>
&
Partial
<
{
confirm
?:
number
;
onNode
:
Node
}
&
{
interval
?:
number
;
onNode
:
Node
;
}
&
{
_expectedMineRate
?:
number
;
_microBlockCycle
?:
number
;
onNode
:
Node
;
}
,
>
,
]
,
)
=>
Promise
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
_get
Poll
Interval
await
Height
build
Auth
Tx
Hash
build
Auth
Tx
Hash
By
Ga
Meta
Tx
create
Generalized
Account
get
Account
get
Balance
get
Contract
get
Contract
Byte
Code
get
Current
Generation
get
Generation
get
Height
get
Key
Block
get
Micro
Block
Header
get
Micro
Block
Transactions
get
Name
pay
For
Transaction
poll
resolve
Name
send
Transaction
spend
transfer
Funds
tx
Dry
Run
wait
For
Tx
Confirm
@aeternity/aepp-sdk
Loading...