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
ChainGrpcWasmApi
Class ChainGrpcWasmApi
Hierarchy
ChainGrpcWasmApi
Index
Constructors
constructor
Properties
client
module
Methods
fetch
Contract
Accounts
Balance
fetch
Contract
Code
fetch
Contract
Code
Contracts
fetch
Contract
Codes
fetch
Contract
History
fetch
Contract
Info
fetch
Raw
Contract
State
fetch
Smart
Contract
State
Constructors
constructor
new
Chain
Grpc
Wasm
Api
(
endpoint
:
string
)
:
ChainGrpcWasmApi
Parameters
endpoint:
string
Returns
ChainGrpcWasmApi
Properties
Protected
client
client
:
QueryClientImpl
Protected
module
module
:
string
= ChainModule.Wasm
Methods
fetch
Contract
Accounts
Balance
fetch
Contract
Accounts
Balance
(
__namedParameters
:
{
contractAddress
:
string
;
pagination
?:
PaginationOption
}
)
:
internal
.
Promise
<
ContractAccountsBalanceWithPagination
>
Parameters
__namedParameters:
{
contractAddress
:
string
;
pagination
?:
PaginationOption
}
contract
Address
:
string
Optional
pagination
?:
PaginationOption
Returns
internal
.
Promise
<
ContractAccountsBalanceWithPagination
>
fetch
Contract
Code
fetch
Contract
Code
(
codeId
:
number
)
:
internal
.
Promise
<
{
codeInfo
:
CodeInfoResponse
;
data
:
internal
.
Uint8Array
}
>
Parameters
codeId:
number
Returns
internal
.
Promise
<
{
codeInfo
:
CodeInfoResponse
;
data
:
internal
.
Uint8Array
}
>
fetch
Contract
Code
Contracts
fetch
Contract
Code
Contracts
(
codeId
:
number
, pagination
?:
PaginationOption
)
:
internal
.
Promise
<
{
contractsList
:
string
[]
;
pagination
:
Pagination
}
>
Parameters
codeId:
number
Optional
pagination:
PaginationOption
Returns
internal
.
Promise
<
{
contractsList
:
string
[]
;
pagination
:
Pagination
}
>
fetch
Contract
Codes
fetch
Contract
Codes
(
pagination
?:
PaginationOption
)
:
internal
.
Promise
<
{
codeInfosList
:
CodeInfoResponse
[]
;
pagination
:
Pagination
}
>
Parameters
Optional
pagination:
PaginationOption
Returns
internal
.
Promise
<
{
codeInfosList
:
CodeInfoResponse
[]
;
pagination
:
Pagination
}
>
fetch
Contract
History
fetch
Contract
History
(
contractAddress
:
string
)
:
internal
.
Promise
<
{
entriesList
:
ContractCodeHistoryEntry
[]
;
pagination
:
Pagination
}
>
Parameters
contractAddress:
string
Returns
internal
.
Promise
<
{
entriesList
:
ContractCodeHistoryEntry
[]
;
pagination
:
Pagination
}
>
fetch
Contract
Info
fetch
Contract
Info
(
contractAddress
:
string
)
:
internal
.
Promise
<
undefined
|
ContractInfo
>
Parameters
contractAddress:
string
Returns
internal
.
Promise
<
undefined
|
ContractInfo
>
fetch
Raw
Contract
State
fetch
Raw
Contract
State
(
contractAddress
:
string
, query
?:
string
)
:
internal
.
Promise
<
internal
.
QueryRawContractStateResponse
>
Parameters
contractAddress:
string
Optional
query:
string
Returns
internal
.
Promise
<
internal
.
QueryRawContractStateResponse
>
fetch
Smart
Contract
State
fetch
Smart
Contract
State
(
contractAddress
:
string
, query
?:
string
)
:
internal
.
Promise
<
internal
.
QuerySmartContractStateResponse
>
Parameters
contractAddress:
string
Optional
query:
string
Returns
internal
.
Promise
<
internal
.
QuerySmartContractStateResponse
>
Modules
@injectivelabs/sdk-
ts
internal
@injectivelabs/wallet-
ts
Chain
Grpc
Wasm
Api
constructor
client
module
fetch
Contract
Accounts
Balance
fetch
Contract
Code
fetch
Contract
Code
Contracts
fetch
Contract
Codes
fetch
Contract
History
fetch
Contract
Info
fetch
Raw
Contract
State
fetch
Smart
Contract
State
Generated using
TypeDoc