- NetworkApiFp(configuration?): {
ban(address, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<BanResponse>)>;
constants(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<ConstantsResponse>)>;
inboundAddresses(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<InboundAddressesResponse>)>;
lastblock(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<LastBlockResponse>)>;
lastblockChain(chain, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<LastBlockResponse>)>;
network(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<NetworkResponse>)>;
ragnarok(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<boolean>)>;
version(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<VersionResponse>)>;
} Returns {
ban(address, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<BanResponse>)>;
constants(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<ConstantsResponse>)>;
inboundAddresses(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<InboundAddressesResponse>)>;
lastblock(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<LastBlockResponse>)>;
lastblockChain(chain, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<LastBlockResponse>)>;
network(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<NetworkResponse>)>;
ragnarok(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<boolean>)>;
version(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<VersionResponse>)>;
}
ban:function
- ban(address, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<BanResponse>)>
Parameters
- address: string
Optional
height: numberOptional
options: AxiosRequestConfig<any>
Returns Promise<((axios?, basePath?) => AxiosPromise<BanResponse>)>
constants:function
- constants(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<ConstantsResponse>)>
Parameters
Optional
height: numberOptional
options: AxiosRequestConfig<any>
Returns Promise<((axios?, basePath?) => AxiosPromise<ConstantsResponse>)>
inboundAddresses:function
- inboundAddresses(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<InboundAddressesResponse>)>
Parameters
Optional
height: numberOptional
options: AxiosRequestConfig<any>
Returns Promise<((axios?, basePath?) => AxiosPromise<InboundAddressesResponse>)>
lastblock:function
- lastblock(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<LastBlockResponse>)>
Parameters
Optional
height: numberOptional
options: AxiosRequestConfig<any>
Returns Promise<((axios?, basePath?) => AxiosPromise<LastBlockResponse>)>
lastblockChain:function
- lastblockChain(chain, height?, options?): Promise<((axios?, basePath?) => AxiosPromise<LastBlockResponse>)>
Parameters
- chain: string
Optional
height: numberOptional
options: AxiosRequestConfig<any>
Returns Promise<((axios?, basePath?) => AxiosPromise<LastBlockResponse>)>
network:function
- network(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<NetworkResponse>)>
Parameters
Optional
height: numberOptional
options: AxiosRequestConfig<any>
Returns Promise<((axios?, basePath?) => AxiosPromise<NetworkResponse>)>
ragnarok:function
- ragnarok(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<boolean>)>
Parameters
Optional
height: numberOptional
options: AxiosRequestConfig<any>
Returns Promise<((axios?, basePath?) => AxiosPromise<boolean>)>
version:function
- version(height?, options?): Promise<((axios?, basePath?) => AxiosPromise<VersionResponse>)>
Parameters
Optional
height: numberOptional
options: AxiosRequestConfig<any>
Returns Promise<((axios?, basePath?) => AxiosPromise<VersionResponse>)>
NetworkApi - functional programming interface