@gala-chain/client ∙ API
API > CommonContractAPI
Interface: CommonContractAPI
Contents
Extends
Record
\<string
,unknown
>
Methods
DryRun()
DryRun(
method
,callerPublicKey
,dto
):Promise
\<GalaChainResponse
\<DryRunResultDto
>>
Parameters
▪ method: string
▪ callerPublicKey: string
▪ dto: ChainCallDTO
Source
GetContractAPI()
GetContractAPI():
Promise
\<GalaChainResponse
\<ContractAPI
>>
Source
GetContractVersion()
GetContractVersion():
Promise
\<GalaChainResponse
\<string
>>
Source
GetObjectByKey()
GetObjectByKey(
key
):Promise
\<GalaChainResponse
\<Record
\<string
,unknown
>>>
Parameters
▪ key: string
Source
GetObjectHistory()
GetObjectHistory(
key
):Promise
\<GalaChainResponse
\<Record
\<string
,unknown
>>>
Parameters
▪ key: string