Search
Preparing search index...
The search index is not available
iotex-antenna
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"rpc-method/browser-rpc-method"
RpcMethod
Class RpcMethod
Hierarchy
RpcMethod
Implements
IRpcMethod
Index
Constructors
constructor
Properties
client
timeout
Methods
estimate
Gas
For
Action
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
State
send
Action
set
Provider
suggest
Gas
Price
Constructors
constructor
new
Rpc
Method
(
hostname
:
string
, options
?:
Opts
)
:
RpcMethod
Parameters
hostname:
string
Default value
options:
Opts
= {}
Returns
RpcMethod
Properties
client
client
:
APIServicePromiseClient
timeout
timeout
:
number
Methods
estimate
Gas
For
Action
estimate
Gas
For
Action
(
req
:
IEstimateGasForActionRequest
)
:
Promise
<
IEstimateGasForActionResponse
>
Parameters
req:
IEstimateGasForActionRequest
Returns
Promise
<
IEstimateGasForActionResponse
>
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
(
)
:
string
Returns
string
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
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
>
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
>
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"
Rpc
Method
constructor
client
timeout
estimate
Gas
For
Action
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
State
send
Action
set
Provider
suggest
Gas
Price
Opts
Generated using
TypeDoc