@aptos-labs/aptos-client
Version:
Client package for accessing the Aptos network API.
18 lines (17 loc) • 336 B
TypeScript
export type AptosClientResponse<Res> = {
status: number;
statusText: string;
data: Res;
config?: any;
request?: any;
response?: any;
headers?: any;
};
export type AptosClientRequest = {
url: string;
method: "GET" | "POST";
body?: any;
params?: any;
headers?: any;
overrides?: any;
};