@gala-chain/client ∙ API
API > CommonContractAPI
Interface: CommonContractAPI
Contents
- Extends
- Methods
- BatchEvaluate()
- BatchSubmit()
- DryRun()
- GetContractAPI()
- GetContractVersion()
- GetObjectByKey()
- GetObjectHistory()
Extends
Record\<string,unknown>
Methods
BatchEvaluate()
BatchEvaluate(
batch):Promise\<GalaChainResponse\<GalaChainResponse\<unknown>[]>>
Parameters
▪ batch: BatchDto
Source
BatchSubmit()
BatchSubmit(
batch):Promise\<GalaChainResponse\<GalaChainResponse\<unknown>[]>>
Parameters
▪ batch: BatchDto
Source
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