@gala-chain/connect ∙ API
API > FeeApi
Class: FeeApi
Contents
- Extends
- Constructors
- new FeeApi(chainCodeUrl, connection)
- Properties
- chainCodeUrl
- connection
- Methods
- AuthorizeFee()
- DryRun()
- FetchFeeAutorizations()
- FetchFeeProperties()
- GetObjectByKey()
- GetObjectHistory()
- SetFeeProperties()
Extends
Constructors
new FeeApi(chainCodeUrl, connection)
new FeeApi(
chainCodeUrl
,connection
):FeeApi
Parameters
▪ chainCodeUrl: string
▪ connection: GalaChainProvider
Overrides
Source
chain-connect/src/chainApis/FeeApi.ts:33
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
AuthorizeFee()
AuthorizeFee(
dto
):Promise
\<GalaChainResponseSuccess
\<FetchFeeAuthorizationsResponse
>>
Parameters
▪ dto: FeeAuthorizationRequest
Source
chain-connect/src/chainApis/FeeApi.ts:37
DryRun()
DryRun(
dto
):Promise
\<GalaChainResponseSuccess
\<DryRunResult
>>
Parameters
▪ dto: PublicProperties
\<ConstructorArgs
\<DryRunDto
>>
Inherited from
Source
chain-connect/src/chainApis/GalaChainBaseApi.ts:26
FetchFeeAutorizations()
FetchFeeAutorizations(
dto
):Promise
\<GalaChainResponseSuccess
\<FetchFeeAuthorizationsResponse
>>
Parameters
▪ dto: FetchFeeAuthorizationsResponse
Source
chain-connect/src/chainApis/FeeApi.ts:48
FetchFeeProperties()
FetchFeeProperties(
dto
):Promise
\<GalaChainResponseSuccess
\<FeeProperties
>>
Parameters
▪ dto: FetchFeePropertiesRequest
Source
chain-connect/src/chainApis/FeeApi.ts:59
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
SetFeeProperties()
SetFeeProperties(
dto
):Promise
\<GalaChainResponseSuccess
\<FeeProperties
>>
Parameters
▪ dto: SetFeePropertiesRequest