Preparing search index...
The search index is not available
rubic-sdk
rubic-sdk
LifiApiService
Class LifiApiService
Hierarchy
LifiApiService
Index
Constructors
constructor
Properties
LIFI_
API_
KEY
Methods
get
Quote
get
Routes
Constructors
constructor
new
Lifi
Api
Service
(
)
:
LifiApiService
Returns
LifiApiService
Properties
Static
LIFI_
API_
KEY
LIFI_
API_
KEY
:
string
= '0a1eec2c-b1bd-4dc1-81cf-c988f099c929.f5950d26-5955-4e21-9db2-77ad984ea575'
Methods
Static
get
Quote
get
Quote
(
fromChain
:
number
, toChain
:
number
, fromToken
:
string
, toToken
:
string
, fromAmount
:
string
, fromAddress
:
string
, slippage
:
number
)
:
Promise
<
{
estimate
:
Estimate
;
transactionRequest
:
LifiTransactionRequest
;
}
>
Parameters
fromChain:
number
toChain:
number
fromToken:
string
toToken:
string
fromAmount:
string
fromAddress:
string
slippage:
number
Returns
Promise
<
{
estimate
:
Estimate
;
transactionRequest
:
LifiTransactionRequest
;
}
>
Static
get
Routes
get
Routes
(
request
:
RoutesRequest
)
:
Promise
<
RoutesResponse
>
Parameters
request:
RoutesRequest
Returns
Promise
<
RoutesResponse
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
rubic-
sdk
Lifi
Api
Service
constructor
LIFI_
API_
KEY
get
Quote
get
Routes
Generated using
TypeDoc