@robertprp/intents-sdk
Version:
Shogun Network Intent-based cross-chain swaps SDK
13 lines • 506 B
TypeScript
import type { ChainID } from '../chains.js';
import type { ApiResponse } from '../types/api.js';
export type FetchSiweMessageParams = {
wallet: string;
chainId: ChainID;
};
export type FetchJWTParams = {
message: string;
signature: string;
};
export declare function fetchSiweMessage(params: FetchSiweMessageParams): Promise<ApiResponse<string>>;
export declare function fetchJWTToken(params: FetchJWTParams, token?: string): Promise<ApiResponse<string>>;
//# sourceMappingURL=siwe.d.ts.map