@gala-chain/api ∙ API
API > PublicKeyContractAPI
Interface: PublicKeyContractAPI
Contents
- Extends
- Methods
- BatchEvaluate()
- BatchSubmit()
- DryRun()
- GetContractAPI()
- GetContractVersion()
- GetMyProfile()
- GetObjectByKey()
- GetObjectHistory()
- GetPublicKey()
- RegisterEthUser()
- RegisterUser()
- UpdatePublicKey()
Extends
Methods
BatchEvaluate()
BatchEvaluate(
batch
):Promise
\<GalaChainResponse
\<GalaChainResponse
\<unknown
>[]>>
Parameters
▪ batch: BatchDto
Inherited from
CommonContractAPI
.BatchEvaluate
Source
chain-api/src/client/api/CommonContractAPI.ts:39
BatchSubmit()
BatchSubmit(
batch
):Promise
\<GalaChainResponse
\<GalaChainResponse
\<unknown
>[]>>
Parameters
▪ batch: BatchDto
Inherited from
Source
chain-api/src/client/api/CommonContractAPI.ts:38
DryRun()
DryRun(
method
,callerPublicKey
,dto
):Promise
\<GalaChainResponse
\<DryRunResultDto
>>
Parameters
▪ method: string
▪ callerPublicKey: string
▪ dto: ChainCallDTO
Inherited from
Source
chain-api/src/client/api/CommonContractAPI.ts:33
GetContractAPI()
GetContractAPI():
Promise
\<GalaChainResponse
\<ContractAPI
>>
Inherited from
CommonContractAPI
.GetContractAPI
Source
chain-api/src/client/api/CommonContractAPI.ts:30
GetContractVersion()
GetContractVersion():
Promise
\<GalaChainResponse
\<string
>>
Inherited from
CommonContractAPI
.GetContractVersion
Source
chain-api/src/client/api/CommonContractAPI.ts:29
GetMyProfile()
GetMyProfile(
dto
):Promise
\<GalaChainResponse
\<UserProfile
>>
Parameters
▪ dto: GetMyProfileDto
Source
chain-api/src/client/api/PublicKeyContractAPI.ts:34
GetObjectByKey()
GetObjectByKey(
key
):Promise
\<GalaChainResponse
\<Record
\<string
,unknown
>>>
Parameters
▪ key: string
Inherited from
CommonContractAPI
.GetObjectByKey
Source
chain-api/src/client/api/CommonContractAPI.ts:31
GetObjectHistory()
GetObjectHistory(
key
):Promise
\<GalaChainResponse
\<Record
\<string
,unknown
>>>
Parameters
▪ key: string
Inherited from
CommonContractAPI
.GetObjectHistory
Source
chain-api/src/client/api/CommonContractAPI.ts:32
GetPublicKey()
GetPublicKey(
user
?):Promise
\<GalaChainResponse
\<PublicKey
>>
Parameters
▪ user?: string
| GetPublicKeyDto
Source
chain-api/src/client/api/PublicKeyContractAPI.ts:30
RegisterEthUser()
RegisterEthUser(
dto
):Promise
\<GalaChainResponse
\<string
>>
Parameters
▪ dto: RegisterEthUserDto
Source
chain-api/src/client/api/PublicKeyContractAPI.ts:33
RegisterUser()
RegisterUser(
dto
):Promise
\<GalaChainResponse
\<string
>>
Parameters
▪ dto: RegisterUserDto
Source
chain-api/src/client/api/PublicKeyContractAPI.ts:32
UpdatePublicKey()
UpdatePublicKey(
dto
):Promise
\<GalaChainResponse
\<void
>>
Parameters
▪ dto: UpdatePublicKeyDto