👋 简介

欢迎阅读 Skip Go API 文档! Skip Go API 是一个端到端的互操作平台,让开发者能够基于多种底层 DEX 和跨链消息协议(包括 IBC、CCTP、Hyperlane、Eureka、Stargate、Gofast 和 Axelar),为终端用户打造无缝的跨链体验。我们的使命是让所有互操作能力对开发者及其用户而言都变得极其简单。 与大多数聚合器不同,Skip Go API 的核心理念是组合多种底层桥接与兑换操作,生成多跳路由,从而在一笔交易中连接任意两条链和任意两种代币。我们的目标是帮助开发者构建这样的界面:无论用户当前身处哪里,都可以把任意代币“传送”到任意链上。 我们的设计方式使得即便是刚接触互操作、从未使用过我们所集成的任何桥或 DEX 的开发者,也能构建出体验出色、仿佛“魔法般”的应用和前端,并提供:
  • 任意到任意的跨链兑换,底层内置跨链 DEX 聚合能力(例如:在一笔交易中,将 Neutron 上的 OSMO 兑换为 Archway 上的 ARCH)
  • 从任意生态中的源链或源代币引导用户进入某条主权链(例如:从 Blast 上的 ETH 引导进入 Sei)
  • 统一的 bridge-and-act 流程(例如:在一笔交易中完成转账并购买 NFT)
  • 多跳跨链转账,并为任意资产和链自动推荐 denom 与路径(例如:获取 Terra2 上流动性最好的 ATOM 版本)
  • 复合桥接路径,在路径的不同阶段使用多个底层桥(例如:在底层通过 CCTP 和 IBC,将 USDC 从 Base 转到 Injective)
  • 实时跨链工作流跟踪,以及 gas 和完成时间预估
  • 防止常见的跨链用户体验失败问题(例如:桥接到目标链后,终端用户没有 gas) …以及更多能力
Skip Go API 提供了多种不同类型的端点,开发者可以据此选择所需的抽象层级,并构建丰富多样的跨链应用。这些包括:
  • 高层端点:返回完整构造好的消息和交易
  • 底层端点:返回组成某条路由的全部“操作”的详细路径数据
  • 工具型端点:用于多链交易与数据包提交、转发、跟踪和模拟
费用是多少?Skip Go API 可免费使用和集成。对于通过我们的 affiliate fee 功能在兑换中收取费用的集成方,我们会抽取其中的一部分。你可以在常见问题中的定价与费用说明了解更多。如果你没有从我们这里获得 API key,可用权限将非常有限。请加入我们的 Discord并申请一个。

使用 Skip Go API 的 3 种基本方式

根据你更看重控制力还是集成速度,可以通过 3 种方式利用 Skip Go API 构建跨链兑换与转账体验。

REST 端点——控制力最强,集成最慢

使用 REST 端点,对交互过程进行底层级控制。

客户端库——高控制力,集成快速

使用 TypeScript 库来抽象发起 HTTP 调用的复杂性,并访问相关的辅助功能。

Widget——中等控制力,集成最快

只需一行代码即可将 Skip Go Widget 嵌入你的前端,几乎无需开发投入即可上线。

了解更多


👋 Introduction

Welcome to the Skip Go API docs! Skip Go API is an end-to-end interoperability platform that enables developers to create seamless cross-chain experiences for their end users with a variety of underlying DEXes and cross-chain messaging protocols, including IBC, CCTP, Hyperlane, Eureka, Stargate, Gofast and Axelar. We’re on a mission to make all interop dead easy for developers and their users! Unlike most aggregators, Skip Go API is based around the idea of composing many underlying bridging and swapping operations to create multi-hop routes that can connect any two chains and tokens in a single transaction. The goal is to help developers build interfaces where users can teleport any token to any chain from wherever they might be. We’ve designed it so that even developers who are completely new to interoperability and have never worked with any of the bridges or DEXes we use can build applications and frontends that feel magical and offer:
  • Any-to-any cross-chain swaps with built-in cross-chain DEX aggregation under the hood (e.g. Swap OSMO on Neutron for ARCH on Archway in a single transaction)
  • Onboarding to a sovereign chain from an origin chain or token in any ecosystem (e.g. Onboard to Sei from ETH on Blast)
  • Unified bridge-and-act flows (e.g. Transfer and buy an NFT in a single transaction)
  • Multi-hop cross-chain transfers with automatic denom & path recommendations for any asset and chain (e.g. Get the most liquid version of ATOM on Terra2)
  • Composite bridging paths that use multiple underlying bridges for different stages of the path (e.g. Transfer USDC from Base to Injective over CCTP and IBC behind the scenes)
  • Real-time cross-chain workflow tracking, along with gas + completion timing estimates
  • Protection from common cross-chain UX failures (e.g. bridging to a chain where the end user doesn’t have gas) … and much more
Skip Go API includes several different endpoint types which allow developers to choose their level of abstraction and build a wide variety of cross-chain applications. These include:
  • High-level endpoints that return fully-formed messages and transactions
  • Low-level endpoints that return detailed pathing data about all the “operations” that make up a route
  • Utility endpoints for multi-chain transaction + packet submission, relaying, tracking, and simulation
What does it cost?The Skip Go API is free to use and integrate with. For integrators who charge fees on swaps using our affiliate fee functionality, we collect a share of those fees. You can learn more about pricing and fees in our FAQ.You will have very limited access if you do not have an API key from us. Please join our Discord and request one.

3 Basic Ways to Use the Skip Go API

There are 3 ways to leverage Skip Go API to build cross-chain swapping & transferring experiences, depending on whether you’re optimizing for control or for integration speed.

Rest Endpoint — Most control, slowest integration

Use REST endpoints for low-level control over your interactions.

Client Library — High control, fast integration

Use the TypeScript library to abstract the complexity of making HTTP calls and access related helper functionality.

Widget — Medium control, fastest integration

Embed the Skip Go Widget in your frontend in a single line of code to launch with no developer effort.

Learn More