Skip to content

@gala-chain/clientAPI


API > PublicKeyContractAPI

Interface: PublicKeyContractAPI

Contents

Extends

Methods

DryRun()

DryRun(method, callerPublicKey, dto): Promise\<GalaChainResponse\<DryRunResultDto>>

Parameters

method: string

callerPublicKey: string

dto: ChainCallDTO

Inherited from

CommonContractAPI.DryRun

Source

api/CommonContractAPI.ts:33


GetContractAPI()

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

Inherited from

CommonContractAPI.GetContractAPI

Source

api/CommonContractAPI.ts:30


GetContractVersion()

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

Inherited from

CommonContractAPI.GetContractVersion

Source

api/CommonContractAPI.ts:29


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

api/CommonContractAPI.ts:31


GetObjectHistory()

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

Parameters

key: string

Inherited from

CommonContractAPI.GetObjectHistory

Source

api/CommonContractAPI.ts:32


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

Source

api/PublicKeyContractAPI.ts:31