@cranberry-money/shared-types
Version:
Shared TypeScript type definitions for Blueberry platform
22 lines • 486 B
TypeScript
/**
* Types for fiat on-ramp widget integration (Transak).
*/
/**
* Request to get widget URL for Transak
*/
export interface GetOnRampWidgetRequest {
walletUuid: string;
fiatAmount?: number;
fiatCurrency?: string;
cryptoCurrency?: string;
}
/**
* Response with Transak widget configuration
*/
export interface OnRampWidgetResponse {
url: string;
walletAddress: string;
chain: string;
cryptoCurrency?: string;
}
//# sourceMappingURL=onramp.d.ts.map