Search
Preparing search index...
The search index is not available
iotex-antenna
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"iotx"
Iotx
Class Iotx
Hierarchy
RpcMethod
Iotx
Implements
IRpcMethod
Index
Constructors
constructor
Properties
accounts
client
signer
timeout
Methods
claim
From
Rewarding
Fund
current
Provider
deploy
Contract
estimate
Gas
For
Action
execute
Contract
get
Account
get
Actions
get
Block
Metas
get
Chain
Meta
get
Deadline
get
Epoch
Meta
get
Logs
get
Receipt
ByAction
get
Server
Meta
read
Contract
read
Contract
ByMethod
read
State
send
Action
send
Transfer
set
Provider
suggest
Gas
Price
try
Get
Account
Constructors
constructor
new
Iotx
(
hostname
:
string
, opts
?:
IotxOpts
)
:
Iotx
Parameters
hostname:
string
Optional
opts:
IotxOpts
Returns
Iotx
Properties
accounts
accounts
:
Accounts
client
client
:
IRpcMethod
Optional
signer
signer
:
SignerPlugin
timeout
timeout
:
number
Methods
claim
From
Rewarding
Fund
claim
From
Rewarding
Fund
(
req
:
ClaimFromRewardingFundRequset
)
:
Promise
<
string
>
Parameters
req:
ClaimFromRewardingFundRequset
Returns
Promise
<
string
>
current
Provider
current
Provider
(
)
:
IRpcMethod
Returns
IRpcMethod
deploy
Contract
deploy
Contract
(
req
:
ContractRequest
,
...
args
:
Array
<
any
>
)
:
Promise
<
string
>
Parameters
req:
ContractRequest
Rest
...
args:
Array
<
any
>
Returns
Promise
<
string
>
estimate
Gas
For
Action
estimate
Gas
For
Action
(
req
:
IEstimateGasForActionRequest
)
:
Promise
<
IEstimateGasForActionResponse
>
Parameters
req:
IEstimateGasForActionRequest
Returns
Promise
<
IEstimateGasForActionResponse
>
execute
Contract
execute
Contract
(
req
:
ExecuteContractRequest
,
...
args
:
Array
<
any
>
)
:
Promise
<
string
>
Parameters
req:
ExecuteContractRequest
Rest
...
args:
Array
<
any
>
Returns
Promise
<
string
>
get
Account
get
Account
(
req
:
IGetAccountRequest
)
:
Promise
<
IGetAccountResponse
>
Parameters
req:
IGetAccountRequest
Returns
Promise
<
IGetAccountResponse
>
get
Actions
get
Actions
(
req
:
IGetActionsRequest
)
:
Promise
<
IGetActionsResponse
>
Parameters
req:
IGetActionsRequest
Returns
Promise
<
IGetActionsResponse
>
get
Block
Metas
get
Block
Metas
(
req
:
IGetBlockMetasRequest
)
:
Promise
<
IGetBlockMetasResponse
>
Parameters
req:
IGetBlockMetasRequest
Returns
Promise
<
IGetBlockMetasResponse
>
get
Chain
Meta
get
Chain
Meta
(
req
:
IGetChainMetaRequest
)
:
Promise
<
IGetChainMetaResponse
>
Parameters
req:
IGetChainMetaRequest
Returns
Promise
<
IGetChainMetaResponse
>
get
Deadline
get
Deadline
(
)
:
Date
Returns
Date
get
Epoch
Meta
get
Epoch
Meta
(
req
:
IGetEpochMetaRequest
)
:
Promise
<
IGetEpochMetaResponse
>
Parameters
req:
IGetEpochMetaRequest
Returns
Promise
<
IGetEpochMetaResponse
>
get
Logs
get
Logs
(
req
:
IGetLogsRequest
)
:
Promise
<
IGetLogsResponse
>
Parameters
req:
IGetLogsRequest
Returns
Promise
<
IGetLogsResponse
>
get
Receipt
ByAction
get
Receipt
ByAction
(
req
:
IGetReceiptByActionRequest
)
:
Promise
<
IGetReceiptByActionResponse
>
Parameters
req:
IGetReceiptByActionRequest
Returns
Promise
<
IGetReceiptByActionResponse
>
get
Server
Meta
get
Server
Meta
(
req
:
IGetServerMetaRequest
)
:
Promise
<
IGetServerMetaResponse
>
Parameters
req:
IGetServerMetaRequest
Returns
Promise
<
IGetServerMetaResponse
>
read
Contract
read
Contract
(
req
:
IReadContractRequest
)
:
Promise
<
IReadContractResponse
>
Parameters
req:
IReadContractRequest
Returns
Promise
<
IReadContractResponse
>
read
Contract
ByMethod
read
Contract
ByMethod
(
req
:
ExecuteContractRequest
,
...
args
:
Array
<
any
>
)
:
Promise
<
any
|
Array
<
any
>
>
Parameters
req:
ExecuteContractRequest
Rest
...
args:
Array
<
any
>
Returns
Promise
<
any
|
Array
<
any
>
>
read
State
read
State
(
req
:
IReadStateRequest
)
:
Promise
<
IReadStateResponse
>
Parameters
req:
IReadStateRequest
Returns
Promise
<
IReadStateResponse
>
send
Action
send
Action
(
req
:
ISendActionRequest
)
:
Promise
<
ISendActionResponse
>
Parameters
req:
ISendActionRequest
Returns
Promise
<
ISendActionResponse
>
send
Transfer
send
Transfer
(
req
:
TransferRequest
)
:
Promise
<
string
>
Parameters
req:
TransferRequest
Returns
Promise
<
string
>
set
Provider
set
Provider
(
provider
:
string
|
IRpcMethod
)
:
void
Parameters
provider:
string
|
IRpcMethod
Returns
void
suggest
Gas
Price
suggest
Gas
Price
(
req
:
ISuggestGasPriceRequest
)
:
Promise
<
ISuggestGasPriceResponse
>
Parameters
req:
ISuggestGasPriceRequest
Returns
Promise
<
ISuggestGasPriceResponse
>
try
Get
Account
try
Get
Account
(
address
:
string
)
:
Promise
<
Account
>
Parameters
address:
string
Returns
Promise
<
Account
>
Globals
"account/account"
"account/accounts"
"account/utils"
"account/wallet"
"action/envelop"
"action/method"
"action/types"
"antenna"
"contract/abi"
"contract/abi-
to-
byte"
"contract/contract"
"crypto/address"
"crypto/crypto"
"crypto/hash"
"index"
"iotx"
"plugin/ws"
"rpc-
method/browser-
rpc-
method"
"rpc-
method/node-
rpc-
method"
"rpc-
method/root-
certs"
"rpc-
method/types"
"token/abi"
"token/xrc20"
"types"
Iotx
constructor
accounts
client
signer
timeout
claim
From
Rewarding
Fund
current
Provider
deploy
Contract
estimate
Gas
For
Action
execute
Contract
get
Account
get
Actions
get
Block
Metas
get
Chain
Meta
get
Deadline
get
Epoch
Meta
get
Logs
get
Receipt
ByAction
get
Server
Meta
read
Contract
read
Contract
ByMethod
read
State
send
Action
send
Transfer
set
Provider
suggest
Gas
Price
try
Get
Account
Iotx
Opts
Generated using
TypeDoc