Search
Preparing search index...
The search index is not available
API Reference | Injective - Powering the future of decentralized finance.
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
API Reference | Injective - Powering the future of decentralized finance.
@injectivelabs/sdk-ts
ChainRestBankApi
Class ChainRestBankApi
Hierarchy
default
ChainRestBankApi
Index
Constructors
constructor
Properties
client
Methods
fetch
Balance
fetch
Balances
get
post
set
Config
Constructors
constructor
new
Chain
Rest
Bank
Api
(
endpoint
:
string
, options
?:
Record
<
string
,
any
>
)
:
ChainRestBankApi
Parameters
endpoint:
string
Optional
options:
Record
<
string
,
any
>
Returns
ChainRestBankApi
Properties
Protected
client
client
:
default
Methods
fetch
Balance
fetch
Balance
(
address
:
string
, denom
:
string
)
:
internal
.
Promise
<
DenomBalance
>
Get address's balances
Parameters
address:
string
address of account to look up
denom:
string
Returns
internal
.
Promise
<
DenomBalance
>
fetch
Balances
fetch
Balances
(
address
:
string
)
:
internal
.
Promise
<
BalancesResponse
>
Get address's balance
Parameters
address:
string
address of account to look up
Returns
internal
.
Promise
<
BalancesResponse
>
get
get
<
T
>
(
endpoint
:
string
, params
?:
Record
<
string
,
any
>
)
:
internal
.
Promise
<
T
>
Type Parameters
T
Parameters
endpoint:
string
Optional
params:
Record
<
string
,
any
>
Returns
internal
.
Promise
<
T
>
post
post
<
T
>
(
endpoint
:
string
, params
?:
Record
<
string
,
any
>
)
:
internal
.
Promise
<
T
>
Type Parameters
T
Parameters
endpoint:
string
Optional
params:
Record
<
string
,
any
>
Returns
internal
.
Promise
<
T
>
set
Config
set
Config
(
config
:
AxiosRequestConfig
)
:
default
Parameters
config:
AxiosRequestConfig
Returns
default
Modules
@injectivelabs/sdk-
ts
internal
@injectivelabs/wallet-
ts
Chain
Rest
Bank
Api
constructor
client
fetch
Balance
fetch
Balances
get
post
set
Config
Generated using
TypeDoc
Get address's balances