Last active
May 26, 2025 18:32
-
-
Save geekygeeky/f1d3507e25aac51f278fa266f8e60b7c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type StandardQuoteResponse = { | |
| fees?: StandardFees; | |
| details?: BridgeDetails; | |
| steps: BridgeSteps[]; | |
| }; | |
| export type StandardFees = { | |
| gas: AssetAmount | undefined; | |
| bridgeProtocolFees: AssetAmount | undefined; | |
| }; | |
| export interface BridgeDetails { | |
| operation: QuoteStepId; // string | |
| sender: string; | |
| recipient: string; | |
| currencyIn: AssetAmount; | |
| currencyOut: AssetAmount; | |
| } | |
| export type BridgeSteps = { | |
| action: string; | |
| description: string; | |
| kind: "transaction" | "signature"; | |
| id: QuoteStepId; | |
| requestId?: string; | |
| depositAddress?: string; | |
| items: { | |
| trxType?: ProviderType; | |
| data?: any; | |
| }[]; | |
| }; | |
| export interface AssetAmount { | |
| asset: Asset; | |
| amount: number; | |
| amountFormatted?: string; | |
| amountUsd?: string; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment