Skip to content

@gala-chain/clientAPI


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

api/CommonContractAPI.ts:33


GetContractAPI()

GetContractAPI(): Promise\<GalaChainResponse\<ContractAPI>>

Source

api/CommonContractAPI.ts:30


GetContractVersion()

GetContractVersion(): Promise\<GalaChainResponse\<string>>

Source

api/CommonContractAPI.ts:29


GetObjectByKey()

GetObjectByKey(key): Promise\<GalaChainResponse\<Record\<string, unknown>>>

Parameters

key: string

Source

api/CommonContractAPI.ts:31


GetObjectHistory()

GetObjectHistory(key): Promise\<GalaChainResponse\<Record\<string, unknown>>>

Parameters

key: string

Source

api/CommonContractAPI.ts:32