Preparing search index...
The search index is not available
rubic-sdk
rubic-sdk
ArbitrumRbcBridgeProvider
Class ArbitrumRbcBridgeProvider
Hierarchy
CrossChainProvider
ArbitrumRbcBridgeProvider
Index
Constructors
constructor
Properties
type
Methods
are
Supported
Blockchains
calculate
is
Supported
Blockchain
parse
Error
Constructors
constructor
new
Arbitrum
Rbc
Bridge
Provider
(
)
:
ArbitrumRbcBridgeProvider
Returns
ArbitrumRbcBridgeProvider
Properties
Readonly
type
type
:
"arbitrum"
= CROSS_CHAIN_TRADE_TYPE.ARBITRUM
Methods
are
Supported
Blockchains
are
Supported
Blockchains
(
fromBlockchain
:
BlockchainName
, toBlockchain
:
BlockchainName
)
:
boolean
Parameters
fromBlockchain:
BlockchainName
toBlockchain:
BlockchainName
Returns
boolean
calculate
calculate
(
fromToken
:
PriceTokenAmount
<
EvmBlockchainName
>
, toToken
:
PriceToken
<
EvmBlockchainName
>
, options
:
Omit
<
CrossChainOptions
,
"fromSlippageTolerance"
|
"toSlippageTolerance"
|
"slippageTolerance"
|
"gasCalculation"
|
"deadline"
|
"providerAddress"
|
"timeout"
|
"changenowFullyEnabled"
|
"enableTestnets"
>
&
Required
<
Pick
<
CrossChainOptions
,
"fromSlippageTolerance"
|
"toSlippageTolerance"
|
"slippageTolerance"
|
"gasCalculation"
|
"deadline"
|
"providerAddress"
|
"timeout"
|
"changenowFullyEnabled"
|
"enableTestnets"
>
>
)
:
Promise
<
CalculationResult
<
EvmEncodeConfig
>
>
Parameters
fromToken:
PriceTokenAmount
<
EvmBlockchainName
>
toToken:
PriceToken
<
EvmBlockchainName
>
options:
Omit
<
CrossChainOptions
,
"fromSlippageTolerance"
|
"toSlippageTolerance"
|
"slippageTolerance"
|
"gasCalculation"
|
"deadline"
|
"providerAddress"
|
"timeout"
|
"changenowFullyEnabled"
|
"enableTestnets"
>
&
Required
<
Pick
<
CrossChainOptions
,
"fromSlippageTolerance"
|
"toSlippageTolerance"
|
"slippageTolerance"
|
"gasCalculation"
|
"deadline"
|
"providerAddress"
|
"timeout"
|
"changenowFullyEnabled"
|
"enableTestnets"
>
>
Returns
Promise
<
CalculationResult
<
EvmEncodeConfig
>
>
is
Supported
Blockchain
is
Supported
Blockchain
(
blockchain
:
BlockchainName
)
:
blockchain
is
"ETH"
|
"ARBITRUM"
Parameters
blockchain:
BlockchainName
Returns
blockchain
is
"ETH"
|
"ARBITRUM"
Static
parse
Error
parse
Error
(
err
:
unknown
)
:
RubicSdkError
Parameters
err:
unknown
Returns
RubicSdkError
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
rubic-
sdk
Arbitrum
Rbc
Bridge
Provider
constructor
type
are
Supported
Blockchains
calculate
is
Supported
Blockchain
parse
Error
Generated using
TypeDoc