Function PolkawatchApiFactory
- PolkawatchApiFactory(configuration?: Configuration, basePath?: string, axios?: AxiosInstance): {
ddpIpfsAboutChain(options?: any): AxiosPromise<ChainMetadata>;
ddpIpfsAboutDataset(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<AboutData>;
ddpIpfsAboutDatasetQuality(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<AboutDataQuality>;
ddpIpfsAboutInventory(recordType: "network" | "region" | "country" | "operator" | "validator" | "pool_operator" | "pool" | "nominator", options?: any): AxiosPromise<InventoryRecord[]>;
ddpIpfsCountryDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", country: any, options?: any): AxiosPromise<CountryDetail>;
ddpIpfsGeoRegionOverview(lastDays: 30 | 60, topResults: 3 | 4 | 5, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<GeoRegionOverview>;
ddpIpfsNetworkDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", network: any, options?: any): AxiosPromise<NetworkDetail>;
ddpIpfsNetworkOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<NetworkOverview>;
ddpIpfsNominatorDetail(lastDays: 30, nominator: any, options?: any): AxiosPromise<NominatorDetail>;
ddpIpfsOperatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", operator: any, options?: any): AxiosPromise<OperatorDetail>;
ddpIpfsOperatorOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<OperatorOverview>;
ddpIpfsPoolDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", pool: any, options?: any): AxiosPromise<PoolInstanceDetail>;
ddpIpfsPoolOperatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", poolOperator: any, options?: any): AxiosPromise<PoolOperatorDetail>;
ddpIpfsPoolOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<PoolOverview>;
ddpIpfsRegionDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", region: any, options?: any): AxiosPromise<RegionDetail>;
ddpIpfsValidatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", validator: any, options?: any): AxiosPromise<ValidatorDetail>;
}
-
Parameters
-
-
Optional
basePath: string
-
Optional
axios: AxiosInstance
Returns {
ddpIpfsAboutChain(options?: any): AxiosPromise<ChainMetadata>;
ddpIpfsAboutDataset(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<AboutData>;
ddpIpfsAboutDatasetQuality(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<AboutDataQuality>;
ddpIpfsAboutInventory(recordType: "network" | "region" | "country" | "operator" | "validator" | "pool_operator" | "pool" | "nominator", options?: any): AxiosPromise<InventoryRecord[]>;
ddpIpfsCountryDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", country: any, options?: any): AxiosPromise<CountryDetail>;
ddpIpfsGeoRegionOverview(lastDays: 30 | 60, topResults: 3 | 4 | 5, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<GeoRegionOverview>;
ddpIpfsNetworkDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", network: any, options?: any): AxiosPromise<NetworkDetail>;
ddpIpfsNetworkOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<NetworkOverview>;
ddpIpfsNominatorDetail(lastDays: 30, nominator: any, options?: any): AxiosPromise<NominatorDetail>;
ddpIpfsOperatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", operator: any, options?: any): AxiosPromise<OperatorDetail>;
ddpIpfsOperatorOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<OperatorOverview>;
ddpIpfsPoolDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", pool: any, options?: any): AxiosPromise<PoolInstanceDetail>;
ddpIpfsPoolOperatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", poolOperator: any, options?: any): AxiosPromise<PoolOperatorDetail>;
ddpIpfsPoolOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<PoolOverview>;
ddpIpfsRegionDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", region: any, options?: any): AxiosPromise<RegionDetail>;
ddpIpfsValidatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", validator: any, options?: any): AxiosPromise<ValidatorDetail>;
}
-
ddpIpfsAboutChain:function
- ddpIpfsAboutChain(options?: any): AxiosPromise<ChainMetadata>
-
-
ddpIpfsAboutDataset:function
- ddpIpfsAboutDataset(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<AboutData>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
Optional
options: any
Returns AxiosPromise<AboutData>
-
ddpIpfsAboutDatasetQuality:function
- ddpIpfsAboutDatasetQuality(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<AboutDataQuality>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
Optional
options: any
-
ddpIpfsAboutInventory:function
- ddpIpfsAboutInventory(recordType: "network" | "region" | "country" | "operator" | "validator" | "pool_operator" | "pool" | "nominator", options?: any): AxiosPromise<InventoryRecord[]>
-
Parameters
-
recordType: "network" | "region" | "country" | "operator" | "validator" | "pool_operator" | "pool" | "nominator"
-
Optional
options: any
-
ddpIpfsCountryDetail:function
- ddpIpfsCountryDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", country: any, options?: any): AxiosPromise<CountryDetail>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
country: any
-
Optional
options: any
-
ddpIpfsGeoRegionOverview:function
- ddpIpfsGeoRegionOverview(lastDays: 30 | 60, topResults: 3 | 4 | 5, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<GeoRegionOverview>
-
Parameters
-
lastDays: 30 | 60
-
topResults: 3 | 4 | 5
-
validationType: "all" | "public" | "authority"
-
Optional
options: any
-
ddpIpfsNetworkDetail:function
- ddpIpfsNetworkDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", network: any, options?: any): AxiosPromise<NetworkDetail>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
network: any
-
Optional
options: any
-
ddpIpfsNetworkOverview:function
- ddpIpfsNetworkOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<NetworkOverview>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
Optional
options: any
-
ddpIpfsNominatorDetail:function
- ddpIpfsNominatorDetail(lastDays: 30, nominator: any, options?: any): AxiosPromise<NominatorDetail>
-
Parameters
-
lastDays: 30
-
nominator: any
-
Optional
options: any
-
ddpIpfsOperatorDetail:function
- ddpIpfsOperatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", operator: any, options?: any): AxiosPromise<OperatorDetail>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
operator: any
-
Optional
options: any
-
ddpIpfsOperatorOverview:function
- ddpIpfsOperatorOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<OperatorOverview>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
Optional
options: any
-
ddpIpfsPoolDetail:function
- ddpIpfsPoolDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", pool: any, options?: any): AxiosPromise<PoolInstanceDetail>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
pool: any
-
Optional
options: any
-
ddpIpfsPoolOperatorDetail:function
- ddpIpfsPoolOperatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", poolOperator: any, options?: any): AxiosPromise<PoolOperatorDetail>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
poolOperator: any
-
Optional
options: any
-
ddpIpfsPoolOverview:function
- ddpIpfsPoolOverview(lastDays: 30 | 60, validationType: "all" | "public" | "authority", options?: any): AxiosPromise<PoolOverview>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
Optional
options: any
-
ddpIpfsRegionDetail:function
- ddpIpfsRegionDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", region: any, options?: any): AxiosPromise<RegionDetail>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
region: any
-
Optional
options: any
-
ddpIpfsValidatorDetail:function
- ddpIpfsValidatorDetail(lastDays: 30 | 60, validationType: "all" | "public" | "authority", validator: any, options?: any): AxiosPromise<ValidatorDetail>
-
Parameters
-
lastDays: 30 | 60
-
validationType: "all" | "public" | "authority"
-
validator: any
-
Optional
options: any
PolkawatchApi - factory interface
Export