@safe-global/api-kit
Version:
SDK that facilitates the interaction with the Safe Transaction Service API
13 lines • 317 B
TypeScript
export declare enum HttpMethod {
Get = "get",
Post = "post",
Delete = "delete"
}
interface HttpRequest {
url: string;
method: HttpMethod;
body?: any;
}
export declare function sendRequest<T>({ url, method, body }: HttpRequest): Promise<T>;
export {};
//# sourceMappingURL=httpRequests.d.ts.map