@tronlink/core
Version:
The library serves as a core module within TronLink Extension, which provides low-level wallet functionality for both Tron and Ethereum networks, primary features includes account generation and transaction signing
50 lines (49 loc) • 1.2 kB
TypeScript
import axiosFaker from './axiosFaker';
declare class fetchApi extends axiosFaker {
get(url: string, options: any): Promise<{
data: null;
status: any;
statusText: any;
headers: any;
config: any;
request: any;
originalResponse: any;
}>;
post(url: string, options: any): Promise<{
data: null;
status: any;
statusText: any;
headers: any;
config: any;
request: any;
originalResponse: any;
}>;
delete(url: string, options: any): Promise<{
data: null;
status: any;
statusText: any;
headers: any;
config: any;
request: any;
originalResponse: any;
}>;
put(url: string, options: any): Promise<{
data: null;
status: any;
statusText: any;
headers: any;
config: any;
request: any;
originalResponse: any;
}>;
patch(url: string, options: any): Promise<{
data: null;
status: any;
statusText: any;
headers: any;
config: any;
request: any;
originalResponse: any;
}>;
}
export default fetchApi;