hive-keychain-commons
Version:
Platform-agnostic functions used in Hive Keychain mobile and extensions
15 lines (14 loc) • 315 B
TypeScript
export interface SwapApiResponse {
result?: SwapApiResult;
error?: SwapApiError;
}
export type SwapApiResult = any;
export interface SwapApiError {
code: number;
message: string;
reason?: SwapApiErrorReason;
}
export interface SwapApiErrorReason {
template: string;
params?: string[];
}