@gala-chain/client • Readme | API
@gala-chain/client / CommonContractAPI
Interface: CommonContractAPI
Extends
Record
\<string
,unknown
>
Methods
GetContractAPI()
GetContractAPI():
Promise
\<GalaChainResponse
\<ContractAPI
>>
Returns
Promise
\<GalaChainResponse
\<ContractAPI
>>
Source
GetContractVersion()
GetContractVersion():
Promise
\<GalaChainResponse
\<string
>>
Returns
Promise
\<GalaChainResponse
\<string
>>
Source
GetObjectByKey()
GetObjectByKey(
key
):Promise
\<GalaChainResponse
\<Record
\<string
,unknown
>>>
Parameters
• key: string
Returns
Promise
\<GalaChainResponse
\<Record
\<string
, unknown
>>>
Source
GetObjectHistory()
GetObjectHistory(
key
):Promise
\<GalaChainResponse
\<Record
\<string
,unknown
>>>
Parameters
• key: string
Returns
Promise
\<GalaChainResponse
\<Record
\<string
, unknown
>>>