@wharfkit/light-api - v4.0.2
Preparing search index...
LightAPIClient
Class LightAPIClient
Index
Constructors
constructor
Methods
get_
accinfo
get_
account
get_
balances
get_
codehash
get_
holdercount
get_
key
get_
networks
get_
rexbalance
get_
rexraw
get_
status
get_
sync
get_
tokenbalance
get_
topholders
get_
topram
get_
topstake
get_
usercount
Constructors
constructor
new
LightAPIClient
(
client
:
APIClient
)
:
LightAPIClient
Parameters
client
:
APIClient
Returns
LightAPIClient
Methods
get_
accinfo
get_accinfo
(
network
:
string
,
account
:
NameType
)
:
Promise
<
AccountInfoResponse
>
Parameters
network
:
string
account
:
NameType
Returns
Promise
<
AccountInfoResponse
>
get_
account
get_account
(
network
:
string
,
account
:
NameType
)
:
Promise
<
AccountResponse
>
Parameters
network
:
string
account
:
NameType
Returns
Promise
<
AccountResponse
>
get_
balances
get_balances
(
network
:
string
,
account
:
NameType
)
:
Promise
<
BalancesResponse
>
Parameters
network
:
string
account
:
NameType
Returns
Promise
<
BalancesResponse
>
get_
codehash
get_codehash
(
hash
:
string
)
:
Promise
<
CodeHashResponse
>
Parameters
hash
:
string
Returns
Promise
<
CodeHashResponse
>
get_
holdercount
get_holdercount
(
network
:
string
,
contract
:
NameType
,
token
:
string
,
)
:
Promise
<
string
>
Parameters
network
:
string
contract
:
NameType
token
:
string
Returns
Promise
<
string
>
get_
key
get_key
(
key
:
string
)
:
Promise
<
KeyLookupResponse
>
Parameters
key
:
string
Returns
Promise
<
KeyLookupResponse
>
get_
networks
get_networks
()
:
Promise
<
NetworkInfo
>
Returns
Promise
<
NetworkInfo
>
get_
rexbalance
get_rexbalance
(
network
:
string
,
account
:
NameType
)
:
Promise
<
RexBalanceResponse
>
Parameters
network
:
string
account
:
NameType
Returns
Promise
<
RexBalanceResponse
>
get_
rexraw
get_rexraw
(
network
:
string
,
account
:
NameType
)
:
Promise
<
RexRawResponse
>
Parameters
network
:
string
account
:
NameType
Returns
Promise
<
RexRawResponse
>
get_
status
get_status
()
:
Promise
<
string
>
Returns
Promise
<
string
>
get_
sync
get_sync
(
network
:
string
)
:
Promise
<
string
>
Parameters
network
:
string
Returns
Promise
<
string
>
get_
tokenbalance
get_tokenbalance
(
network
:
string
,
account
:
NameType
,
contract
:
NameType
,
token
:
string
,
)
:
Promise
<
string
>
Parameters
network
:
string
account
:
NameType
contract
:
NameType
token
:
string
Returns
Promise
<
string
>
get_
topholders
get_topholders
(
network
:
string
,
contract
:
NameType
,
token
:
string
,
count
:
number
,
)
:
Promise
<
TopHolderRow
[]
>
Parameters
network
:
string
contract
:
NameType
token
:
string
count
:
number
Returns
Promise
<
TopHolderRow
[]
>
get_
topram
get_topram
(
network
:
string
,
count
:
number
)
:
Promise
<
TopRamRow
[]
>
Parameters
network
:
string
count
:
number
Returns
Promise
<
TopRamRow
[]
>
get_
topstake
get_topstake
(
network
:
string
,
count
:
number
)
:
Promise
<
TopStakeRow
[]
>
Parameters
network
:
string
count
:
number
Returns
Promise
<
TopStakeRow
[]
>
get_
usercount
get_usercount
(
network
:
string
)
:
Promise
<
string
>
Parameters
network
:
string
Returns
Promise
<
string
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get_
accinfo
get_
account
get_
balances
get_
codehash
get_
holdercount
get_
key
get_
networks
get_
rexbalance
get_
rexraw
get_
status
get_
sync
get_
tokenbalance
get_
topholders
get_
topram
get_
topstake
get_
usercount
@wharfkit/light-api - v4.0.2
Loading...