Skip to content
SwapKit Docs
Search
Ctrl
K
Cancel
GitHub
X
Discord
Select theme
Dark
Light
Auto
Guides
Getting started
Create custom plugin
Create custom wallet
Toolbox usage
Actions
Connecting Wallets
Signing Transactions
Performing Swaps
Executing Transactions
Integrations
Bun + React
Next.js
Expo/React Native
Vite
Others
Example Reference
Migrate to v4
References
@swapkit
/core
Enumerations
ApproveMode
Chain
ChainId
ContractAddress
ErrorCode
FeeOption
FeeTypeEnum
LedgerErrorCode
MemoType
PriorityLabel
ProviderName
QuoteMode
RouteQuoteTxType
StagenetChain
TrackingStatus
TxnStatus
TxnType
WalletOption
WarningCodeEnum
Classes
AssetValue
BigIntArithmetics
SwapKitError
SwapKitNumber
Interfaces
TransactionProps
Type Aliases
AddChainType
ApproveReturnType
Asset
BalanceResponse
BaseWallet
BrokerDepositChannelParams
ChainflipMetadata
ChainSigner
ChainWallet
CommonAssetString
ConditionalAssetValueReturn
CosmosChain
CosmosTransaction
CryptoChain
DepositChannelResponse
DerivationPathArray
EIP6963AnnounceProviderEvent
EIP6963Provider
EIP6963ProviderDetail
EIP6963ProviderInfo
EmptyWallet
ErrorKeys
EstimatedTime
EthereumWindowProvider
EVMChain
EVMTransaction
EVMTransactionDetails
EVMTransactionDetailsParams
Fees
FullWallet
GasResponse
GenericCreateTransactionParams
GenericSwapParams
GenericTransferParams
InboundAddressesItem
LastBlockItem
LiquidityPosition
LiquidityPositionRaw
MimirData
NetworkParams
NodeItem
NumberPrimitives
PoolDetail
PoolPeriod
PriceRequest
PriceResponse
QuoteRequest
QuoteResponse
QuoteResponseRoute
QuoteResponseRouteLeg
RadixCoreStateResourceDTO
RouteLeg
RouteLegWithoutAddresses
RouteQuoteMetadataAsset
RouteQuoteWarning
RunePoolInfo
RunePoolProviderInfo
SKConfigIntegrations
SKConfigState
SubstrateChain
SwapKitParams
SwapKitPluginParams
SwapKitValueType
SwapParams
THORNameDetails
THORNodeTNSDetails
THORNodeType
Token
TokenListName
TokenListProvidersResponse
TokenLists
TokenNames
TokensResponse
TokensResponseV2
TokenTax
TokenV2
TrackerParams
TrackerResponse
TransactionDTO
TransactionFees
TransactionLegDTO
TxnMeta
TxnPayload
TxnTransient
UTXOChain
Witness
Variables
AGG_SWAP
ApiV2ErrorSchema
AssetValueSchema
BaseDecimal
BlockTimes
BrokerDepositChannelParamsSchema
ChainflipMetadataSchema
ChainIdToChain
ChainToChainId
ChainToExplorerUrl
ChainToHexChainId
CommonAssetStrings
CosmosChainPrefixes
CosmosChains
CosmosTransactionSchema
DepositChannelResponseSchema
DerivationPath
EstimatedTimeSchema
EVMChains
EVMTransactionDetailsParamsSchema
EVMTransactionDetailsSchema
EVMTransactionSchema
EXPLORER_URLS
FALLBACK_URLS
FeesSchema
GasResponseSchema
MAYASupportedChains
NetworkDerivationPath
NODE_URLS
PriceRequestSchema
PriceResponseSchema
QuoteRequestSchema
QuoteResponseSchema
RequestClient
RouteLegSchema
RouteLegWithoutAddressesSchema
RouteQuoteMetadataAssetSchema
RouteQuoteMetadataSchema
RouteQuoteWarningSchema
RPC_URLS
SKConfig
SubstrateChains
SWAP_IN
SWAP_OUT
SwapKitApi
TCSupportedChains
TokenDetailsMetadataSchema
TransactionDTOSchema
TransactionSchema
UTXOChains
Functions
addAccountsChangedCallback
addEVMWalletNetwork
assetFromString
createPlugin
createWallet
derivationPathToString
filterSupportedChains
findAssetBy
formatBigIntToSafeValue
getAssetType
getAsymmetricAssetShare
getAsymmetricAssetWithdrawAmount
getAsymmetricRuneShare
getAsymmetricRuneWithdrawAmount
getChainIdentifier
getCommonAssetInfo
getDecimal
getDerivationPathFor
getDynamicChainId
getEIP6963Wallets
getEstimatedPoolShare
getETHDefaultWallet
getGasAsset
getLiquiditySlippage
getMAYANameCost
getMemoForDeposit
getMemoForLeaveAndBond
getMemoForLoan
getMemoForNamePreferredAssetRegister
getMemoForNameRegister
getMemoForRunePoolDeposit
getMemoForRunePoolWithdraw
getMemoForSaverDeposit
getMemoForSaverWithdraw
getMemoForUnbond
getMemoForWithdraw
getMinAmountByChain
getSymmetricPoolShare
getSymmetricWithdraw
getTHORNameCost
getWalletFormatFor
initializeRPCUrlsWithFallback
isDetected
isGasAsset
isWeb3Detected
listWeb3EVMWallets
loadTokenLists
okxMobileEnabled
prepareNetworkSwitch
SwapKit
switchEVMWalletNetwork
updateDerivationPath
validateIdentifier
validateTNS
warnOnce
wrapMethodWithNetworkSwitch
wrapWithThrow
/helpers
Enumerations
ApproveMode
Chain
ChainId
ContractAddress
ErrorCode
FeeOption
FeeTypeEnum
LedgerErrorCode
MemoType
ProviderName
QuoteMode
StagenetChain
WalletOption
WarningCodeEnum
Classes
AssetValue
BigIntArithmetics
SwapKitError
SwapKitNumber
Type Aliases
AddChainType
ApproveReturnType
Asset
BaseWallet
ChainSigner
ChainWallet
CommonAssetString
ConditionalAssetValueReturn
CosmosChain
CryptoChain
DerivationPathArray
EIP6963AnnounceProviderEvent
EIP6963Provider
EIP6963ProviderDetail
EIP6963ProviderInfo
EmptyWallet
ErrorKeys
EthereumWindowProvider
EVMChain
FullWallet
GenericCreateTransactionParams
GenericSwapParams
GenericTransferParams
NetworkParams
NumberPrimitives
RadixCoreStateResourceDTO
SKConfigIntegrations
SKConfigState
SubstrateChain
SwapKitPluginParams
SwapKitValueType
SwapParams
TokenListName
TokenLists
TokenNames
TokenTax
UTXOChain
Witness
Variables
AGG_SWAP
BaseDecimal
BlockTimes
ChainIdToChain
ChainToChainId
ChainToExplorerUrl
ChainToHexChainId
CommonAssetStrings
CosmosChainPrefixes
CosmosChains
DerivationPath
EVMChains
EXPLORER_URLS
FALLBACK_URLS
MAYASupportedChains
NetworkDerivationPath
NODE_URLS
RequestClient
RPC_URLS
SKConfig
SubstrateChains
SWAP_IN
SWAP_OUT
TCSupportedChains
UTXOChains
Functions
addAccountsChangedCallback
addEVMWalletNetwork
assetFromString
createPlugin
createWallet
derivationPathToString
filterSupportedChains
findAssetBy
formatBigIntToSafeValue
getAssetType
getAsymmetricAssetShare
getAsymmetricAssetWithdrawAmount
getAsymmetricRuneShare
getAsymmetricRuneWithdrawAmount
getChainIdentifier
getCommonAssetInfo
getDecimal
getDerivationPathFor
getDynamicChainId
getEIP6963Wallets
getEstimatedPoolShare
getETHDefaultWallet
getGasAsset
getLiquiditySlippage
getMAYANameCost
getMemoForDeposit
getMemoForLeaveAndBond
getMemoForLoan
getMemoForNamePreferredAssetRegister
getMemoForNameRegister
getMemoForRunePoolDeposit
getMemoForRunePoolWithdraw
getMemoForSaverDeposit
getMemoForSaverWithdraw
getMemoForUnbond
getMemoForWithdraw
getMinAmountByChain
getSymmetricPoolShare
getSymmetricWithdraw
getTHORNameCost
getWalletFormatFor
initializeRPCUrlsWithFallback
isDetected
isGasAsset
isWeb3Detected
listWeb3EVMWallets
loadTokenLists
okxMobileEnabled
prepareNetworkSwitch
switchEVMWalletNetwork
updateDerivationPath
validateIdentifier
validateTNS
warnOnce
wrapMethodWithNetworkSwitch
wrapWithThrow
/helpers/api
Enumerations
PriorityLabel
RouteQuoteTxType
TrackingStatus
TxnStatus
TxnType
Interfaces
TransactionProps
Type Aliases
BalanceResponse
BrokerDepositChannelParams
ChainflipMetadata
CosmosTransaction
DepositChannelResponse
EstimatedTime
EVMTransaction
EVMTransactionDetails
EVMTransactionDetailsParams
Fees
GasResponse
InboundAddressesItem
LastBlockItem
LiquidityPosition
LiquidityPositionRaw
MimirData
NodeItem
PoolDetail
PoolPeriod
PriceRequest
PriceResponse
QuoteRequest
QuoteResponse
QuoteResponseRoute
QuoteResponseRouteLeg
RouteLeg
RouteLegWithoutAddresses
RouteQuoteMetadataAsset
RouteQuoteWarning
RunePoolInfo
RunePoolProviderInfo
THORNameDetails
THORNodeTNSDetails
THORNodeType
Token
TokenListProvidersResponse
TokensResponse
TokensResponseV2
TokenV2
TrackerParams
TrackerResponse
TransactionDTO
TransactionFees
TransactionLegDTO
TxnMeta
TxnPayload
TxnTransient
Variables
ApiV2ErrorSchema
AssetValueSchema
BrokerDepositChannelParamsSchema
ChainflipMetadataSchema
CosmosTransactionSchema
DepositChannelResponseSchema
EstimatedTimeSchema
EVMTransactionDetailsParamsSchema
EVMTransactionDetailsSchema
EVMTransactionSchema
FeesSchema
GasResponseSchema
PriceRequestSchema
PriceResponseSchema
QuoteRequestSchema
QuoteResponseSchema
RouteLegSchema
RouteLegWithoutAddressesSchema
RouteQuoteMetadataAssetSchema
RouteQuoteMetadataSchema
RouteQuoteWarningSchema
SwapKitApi
TokenDetailsMetadataSchema
TransactionDTOSchema
TransactionSchema
/plugins
/chainflip
Type Aliases
AffiliateBroker
ccmMetadata
DepositChannelRequest
RequestSwapDepositAddressParams
SwapDepositResponse
SwapRefundParameters
WithdrawFeeResponse
Variables
assetIdentifierToChainflipTicker
ChainflipPlugin
Functions
ChainflipBroker
/evm
Variables
EVMPlugin
/kado
Type Aliases
KadoAsset
KadoAssetsResponse
KadoBlockchainsResponse
KadoFiatCurrency
KadoFiatMethod
KadoQuoteRequest
KadoQuoteResponse
Variables
KadoPlugin
KadoSupportedFiatCurrencies
SupportedKadoChain
Functions
ChainToKadoChain
KadoChainToChain
mapKadoQuoteToQuoteResponse
/radix
Variables
RadixPlugin
/thorchain
Type Aliases
AddLiquidityParams
AddLiquidityPartParams
CoreTxParams
CreateLiquidityParams
LoanParams
NodeActionParams
RegisterPreferredAssetParams
RegisterThornameParams
SavingsParams
WithdrawParams
Variables
MayachainPlugin
ThorchainPlugin
Functions
validateAddressType
/toolboxes
/cosmos
Type Aliases
BaseCosmosToolboxType
BaseCosmosWallet
CosmosCreateTransactionParams
CosmosSDKClientParams
CosmosSigner
CosmosToolboxes
CosmosToolboxParams
CosmosWallets
MultiSigSigner
MultisigTx
NodeInfoResponse
NodeUrl
ThorchainConstantsResponse
ThorchainCreateTransactionParams
ThorchainDepositParams
ThorchainWallet
ThorchainWallets
TransferTransaction
TxData
Variables
DEFAULT_COSMOS_FEE_MAINNET
DEFAULT_KUJI_FEE_MAINNET
MAYA_GAS_VALUE
THORCHAIN_GAS_VALUE
USK_KUJIRA_FACTORY_DENOM
YUM_KUJIRA_FACTORY_DENOM
Functions
base64ToBech32
bech32ToBase64
buildAminoMsg
buildDepositTx
buildEncodedTxBody
buildTransferTx
convertToSignable
cosmosCreateTransaction
cosmosValidateAddress
createCosmosToolbox
createDefaultAminoTypes
createDefaultRegistry
createOfflineStargateClient
createSigningStargateClient
createStargateClient
createThorchainToolbox
depositMsgAmino
estimateTransactionFee
fetchFeeRateFromSwapKit
fromBase64
getCosmosToolbox
getCreateTransaction
getDefaultChainFee
getDenomWithChain
getFeeRateFromThorswap
getMsgSendDenom
getRPC
getSignerFromPhrase
getSignerFromPrivateKey
parseAminoMessageForDirectSigning
toBase64
transferMsgAmino
verifySignature
/evm
Enumerations
EthNetwork
Type Aliases
ApprovedParams
ApproveParams
CallParams
EIP1559TxParams
EstimateCallParams
EVMCreateTransactionParams
EVMMaxSendableAmountsParams
EVMToolboxes
EVMToolboxParams
EVMTransferParams
EVMTxBaseParams
EVMTxParams
IsApprovedParams
LegacyEVMTxParams
Variables
ARBToolbox
AVAXToolbox
BASEToolbox
BSCToolbox
MATICToolbox
MAX_APPROVAL
Functions
BaseEVMToolbox
createContract
createCustomEvmApi
estimateL1Gas
estimateMaxSendableAmount
ETHToolbox
evmValidateAddress
getChecksumAddressFromAsset
getCreateContract
getCreateContractTxObject
getEIP1193SendTransaction
getEstimateGasPrices
getEstimateTransactionFee
getEvmApi
getEvmToolbox
getIsEIP1559Compatible
getL1GasPriceFetcher
getNetworkParams
getProvider
getTokenAddress
isBrowserProvider
isStateChangingCall
OPToolbox
toChecksumAddress
toHexString
/radix
Type Aliases
RadixWallet
Functions
RadixToolbox
radixValidateAddress
/ripple
Type Aliases
RippleWallet
Functions
getRippleToolbox
rippleValidateAddress
/solana
Interfaces
SolanaProvider
Type Aliases
SolanaCreateTransactionParams
SolanaTransferParams
SolanaWallet
Functions
createKeysForPath
getSolanaAddressValidator
getSolanaToolbox
/substrate
Type Aliases
SubstrateInjectedExtension
SubstrateNetwork
SubstrateToolboxes
SubstrateTransferParams
ToolboxParams
Variables
SubstrateNetwork
Functions
BaseSubstrateToolbox
ChainflipToolbox
createKeyring
createSubstrateToolbox
getSubstrateToolbox
isKeyringPair
PolkadotToolbox
substrateValidateAddress
/utxo
Enumerations
UtxoNetwork
UTXOScriptType
Type Aliases
BchECPair
TargetOutput
TransactionBuilderType
TransactionType
UTXOBuildTxParams
UTXOCalculateTxSizeParams
UTXOInputWithScriptType
UTXOToolboxes
UtxoToolboxParams
UTXOTransferParams
UTXOType
UTXOWallets
Variables
InputSizes
MIN_TX_FEE
nonSegwitChains
OP_RETURN_OVERHEAD
OutputSizes
TX_OVERHEAD
Functions
accumulative
addressFromKeysGetter
bchValidateAddress
calculateTxSize
compileMemo
createBCHToolbox
createCustomUtxoApi
createUTXOToolbox
detectAddressNetwork
getCreateKeysForPath
getDustThreshold
getInputSize
getOutputSize
getScriptTypeForAddress
getUTXOAddressValidator
getUtxoApi
getUtxoNetwork
getUtxoToolbox
isValidAddress
stripPrefix
stripToCashAddress
toCashAddress
toLegacyAddress
/wallets
/bitget
Variables
BITGET_SUPPORTED_CHAINS
bitgetWallet
/coinbase
Variables
COINBASE_SUPPORTED_CHAINS
coinbaseWallet
/ctrl
Variables
CTRL_SUPPORTED_CHAINS
ctrlWallet
/evm-extensions
Type Aliases
EVMWalletOptions
Variables
EVM_EXTENSIONS_SUPPORTED_CHAINS
evmWallet
Functions
getWeb3WalletMethods
/exodus
Interfaces
Theme
WalletProviderProps
WalletWidgetProps
Type Aliases
Wallet
Variables
createWallet
EXODUS_SUPPORTED_CHAINS
exodusWallet
Functions
useWallet
WalletProvider
WalletWidget
/keepkey
Interfaces
PairingInfo
Variables
KEEPKEY_SUPPORTED_CHAINS
keepkeyWallet
/keepkey-bex
Variables
KEEPKEY_BEX_SUPPORTED_CHAINS
keepkeyBexWallet
/keplr
Variables
keplrWallet
/keystore
Type Aliases
Keystore
Variables
KEYSTORE_SUPPORTED_CHAINS
keystoreWallet
Functions
decryptFromKeystore
encryptToKeyStore
generatePhrase
validatePhrase
/ledger
Variables
LEDGER_SUPPORTED_CHAINS
ledgerWallet
/okx
Variables
OKX_SUPPORTED_CHAINS
okxWallet
/onekey
Variables
ONEKEY_WALLET_SUPPORTED_CHAINS
onekeyWallet
/phantom
Type Aliases
PhantomSupportedChain
Variables
PHANTOM_SUPPORTED_CHAINS
phantomWallet
/polkadotjs
Variables
POLKADOT_SUPPORTED_CHAINS
polkadotWallet
/radix
Variables
RADIX_SUPPORTED_CHAINS
radixWallet
/talisman
Variables
TALISMAN_SUPPORTED_CHAINS
talismanWallet
/trezor
Variables
TREZOR_SUPPORTED_CHAINS
trezorWallet
/walletconnect
Enumerations
DEFAULT_COSMOS_EVENTS
DEFAULT_COSMOS_METHODS
DEFAULT_EIP_155_EVENTS
DEFAULT_EIP155_METHODS
DEFAULT_NEAR_EVENTS
DEFAULT_NEAR_METHODS
DEFAULT_POLKADOT_EVENTS
DEFAULT_POLKADOT_METHODS
DEFAULT_SOLANA_EVENTS
DEFAULT_SOLANA_METHODS
Interfaces
ClientMetadata
Type Aliases
Walletconnect
Variables
ARBITRUM_ONE_MAINNET_ID
AVALANCHE_MAINNET_ID
BASE_MAINNET_ID
BSC_MAINNET_ID
COSMOS_HUB_MAINNET_ID
DEFAULT_APP_METADATA
DEFAULT_LOGGER
DEFAULT_RELAY_URL
ETHEREUM_MAINNET_ID
KUJIRA_MAINNET_ID
MAYACHAIN_MAINNET_ID
OPTIMISM_MAINNET_ID
POLYGON_MAINNET_ID
THORCHAIN_MAINNET_ID
walletconnectWallet
WC_SUPPORTED_CHAINS
GitHub
X
Discord
Select theme
Dark
Light
Auto
SwapKit is a powerful suite of tools for building blockchain applications.
Welcome to SwapKit Docs
Get Started