Skip to content

@gala-chain/connectAPI


API > PublicKeyApi

Class: PublicKeyApi

Contents

Extends

Constructors

new PublicKeyApi(chainCodeUrl, connection)

new PublicKeyApi(chainCodeUrl, connection): PublicKeyApi

Parameters

chainCodeUrl: string

connection: GalaChainProvider

Overrides

GalaChainBaseApi.constructor

Source

chain-connect/src/chainApis/PublicKeyApi.ts:29

Properties

chainCodeUrl

protected chainCodeUrl: string

Inherited from

GalaChainBaseApi.chainCodeUrl

Source

chain-connect/src/chainApis/GalaChainBaseApi.ts:22


connection

protected connection: GalaChainProvider

Inherited from

GalaChainBaseApi.connection

Source

chain-connect/src/chainApis/GalaChainBaseApi.ts:23

Methods

DryRun()

DryRun(dto): Promise\<GalaChainResponseSuccess\<DryRunResult>>

Parameters

dto: PublicProperties\<ConstructorArgs\<DryRunDto>>

Inherited from

GalaChainBaseApi.DryRun

Source

chain-connect/src/chainApis/GalaChainBaseApi.ts:26


GetMyProfile()

GetMyProfile(message?, signature?): Promise\<GalaChainResponseSuccess\<UserProfile>>

Parameters

message?: string

signature?: string

Source

chain-connect/src/chainApis/PublicKeyApi.ts:34


GetObjectByKey()

GetObjectByKey\<T>(dto): Promise\<GalaChainResponseSuccess\<T>>

Type parameters

T = Record\<string, unknown>

Parameters

dto: PublicProperties\<ConstructorArgs\<GetObjectDto>>

Inherited from

GalaChainBaseApi.GetObjectByKey

Source

chain-connect/src/chainApis/GalaChainBaseApi.ts:41


GetObjectHistory()

GetObjectHistory\<T>(dto): Promise\<GalaChainResponseSuccess\<T>>

Type parameters

T = Record\<string, unknown>

Parameters

dto: PublicProperties\<ConstructorArgs\<GetObjectHistoryDto>>

Inherited from

GalaChainBaseApi.GetObjectHistory

Source

chain-connect/src/chainApis/GalaChainBaseApi.ts:51


RegisterEthUser()

RegisterEthUser(dto): Promise\<GalaChainResponseSuccess\<string>>

Parameters

dto: RegisterEthUserRequest

Source

chain-connect/src/chainApis/PublicKeyApi.ts:56


RegisterUser()

RegisterUser(dto): Promise\<GalaChainResponseSuccess\<string>>

Parameters

dto: RegisterUserRequest

Source

chain-connect/src/chainApis/PublicKeyApi.ts:46


UpdatePublicKey()

UpdatePublicKey(dto): Promise\<GalaChainResponseSuccess\<void>>

Parameters

dto: UpdatePublicKeyRequest

Source

chain-connect/src/chainApis/PublicKeyApi.ts:66