UNPKG
soulswap-rubik-sdk
Version:
latest (1.0.0)
1.0.0
Simplify dApp creation
github.com/BunsDev/rubic-sdk
BunsDev/rubic-sdk
soulswap-rubik-sdk
/
lib
/
features
/
instant-trades
/
dexes
/
common
/
oneinch-common
/
models
/
oneinch-swap-response.d.ts
17 lines
(16 loc)
•
335 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export interface OneinchSwapResponse { tx: {
from
: string;
to
: string; data: string; value: string; gasPrice: string; gas: number; }; toTokenAmount: string; error?: number; protocols: [{ fromTokenAddress: string; toTokenAddress: string; }
[]
[]
]; }