@gala-chain/connect ∙ API
API > PublicKeyApi
Class: PublicKeyApi
Contents
- Extends
- Constructors
- new PublicKeyApi(chainCodeUrl, connection)
- Properties
- chainCodeUrl
- connection
- Methods
- DryRun()
- GetMyProfile()
- GetObjectByKey()
- GetObjectHistory()
- RegisterEthUser()
- RegisterUser()
- UpdatePublicKey()
Extends
Constructors
new PublicKeyApi(chainCodeUrl, connection)
new PublicKeyApi(
chainCodeUrl
,connection
):PublicKeyApi
Parameters
▪ chainCodeUrl: string
▪ connection: GalaChainProvider
Overrides
Source
chain-connect/src/chainApis/PublicKeyApi.ts:29
Properties
chainCodeUrl
protected
chainCodeUrl:string
Inherited from
Source
chain-connect/src/chainApis/GalaChainBaseApi.ts:22
connection
protected
connection:GalaChainProvider
Inherited from
Source
chain-connect/src/chainApis/GalaChainBaseApi.ts:23
Methods
DryRun()
DryRun(
dto
):Promise
\<GalaChainResponseSuccess
\<DryRunResult
>>
Parameters
▪ dto: PublicProperties
\<ConstructorArgs
\<DryRunDto
>>
Inherited from
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