Static
getStatic
getFetches the IBC origin assets based on provided asset details.
Array of objects containing denom and chainId. See the argument structure in SkipSupportedAsset.
A promise that resolves to an object containing either the origin assets SkipSupportedAsset or an error message.
Static
getStatic
getRetrieves the necessary messages for transaction creation.
The request parameters including asset and transaction details. MsgsRequest
A promise that resolves to an object containing transaction messages or an error message.
Static
getFetches recommended chains for a given asset.
The request arguments including source asset denom and chain ID, and an optional flag for multi-tx. See RecommendedChainRequest.
A promise that resolves to an array containing recommended chains RecommendedAssetResponse or an error message.
Static
getFetches recommended chains for a given asset.
The request arguments including source asset denom and chain ID, and an optional flag for multi-tx.
A promise that resolves to an object containing recommended chains or an error message.
Static
getCalculates the route for token transfer between two assets.
The arguments required to calculate the route, including source and destination asset details. See RouteRequest.
A promise that resolves to an object containing the route details RouteResponse or an error message.
Static
getRetrieves the supported assets for a specified chain.
The arguments for the request including chainId and nativeOnly flag. See RequestSupportedAssetsForChainArgs.
A promise that resolves to an object containing the supported assets for the given chain, or an error message if unsuccessful. See SkipSupportedAsset.
Static
getRetrieves the supported assets for a specified chain.
The arguments for the request including chainId and nativeOnly flag. See RequestSupportedAssetsForChainArgs.
A promise that resolves to an object containing the supported assets for the given chain, or an error message if unsuccessful. See SkipSupportedAsset.
Static
getRetrieves the list of supported chains from the Skip API.
Optional
options: { Optional
cached?: booleanOptional
includeEVM?: booleanOptional
includeSVM?: booleanOptional
includeA Promise that resolves to an object containing either a list of supported chains on success, or an error message on failure. See SupportedChains.
Static
getRetrieves the status of a transaction.
Request parameters including transaction hash and chain ID (TransactionStatusRequest).
A promise resolving to an object containing the transaction status (TxStatusResponseJSON) or an error message.
Static
initializeStatic
isStatic
setStatic
setStatic
submitSubmits a transaction to the blockchain.
The transaction request including chain ID and transaction data. SubmitTransactionRequest
A promise that resolves to an object indicating the success of the transaction submission along with the transaction response TransactionResponse or an error message.
Static
track
SkipAPI
class provides a range of methods to interact with the Skip API. It includes functionalities such as retrieving supported chains and assets, fetching routing information for token transfers, submitting transactions, and tracking their status. This class acts as an interface for applications to interact with the Skip API.