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