# Trails ## Docs - [AbortIntent](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/abort-intent.md) - [CommitIntent](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/commit-intent.md) - [ExecuteIntent](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/execute-intent.md) - [GetChains](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-chains.md) - [GetEarnPools](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-earn-pools.md) - [GetExactInputRoutes](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-exact-input-routes.md) - [GetExactOutputRoutes](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-exact-output-routes.md) - [GetExchangeRate](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-exchange-rate.md) - [GetFiatCurrencyList](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-fiat-currency-list.md) - [GetIntent](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-intent.md) - [GetIntentHistory](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-intent-history.md) - [GetIntentReceipt](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-intent-receipt.md) - [GetTokenList](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-token-list.md) - [GetTokenPrices](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/get-token-prices.md) - [QuoteIntent](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/quote-intent.md) - [SearchIntents](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/search-intents.md) - [WaitIntentReceipt](https://anypay-trails-api-docs.mintlify.app/api-reference/endpoints/wait-intent-receipt.md) - [Getting Started](https://anypay-trails-api-docs.mintlify.app/api-reference/introduction.md): Learn how to integrate the Trails API for cross-chain transactions - [Trails API SDK](https://anypay-trails-api-docs.mintlify.app/api-reference/trails-api-sdk.md): TypeScript/JavaScript client for the Trails API - [Pay Gas with Any Token](https://anypay-trails-api-docs.mintlify.app/architecture/alt-fee-tokens.md): Users can pay gas in any permit-compatible, non-native token - [How Trails Works](https://anypay-trails-api-docs.mintlify.app/architecture/how-it-works.md): Core architecture and design of the Trails transaction rails protocol - [Pricing & Fees](https://anypay-trails-api-docs.mintlify.app/architecture/pricing-fees.md): Understanding the fee structure and pricing model for Trails transactions - [Protocol Architecture](https://anypay-trails-api-docs.mintlify.app/architecture/protocol.md): Core architecture and design of the Trails protocol - [Trails Contracts](https://anypay-trails-api-docs.mintlify.app/architecture/smart-contracts.md): Trails protocol smart contracts and security audits - [Liquidity Sources](https://anypay-trails-api-docs.mintlify.app/architecture/unified-liquidity.md): How Trails integrates with Liquidity providers including solvers, fillers, and bridges - [Gasless Transactions](https://anypay-trails-api-docs.mintlify.app/examples/gasless.md): Enable users to pay gas fees with ERC-20 tokens like USDC or USDT instead of native gas. - [Refunds & Recovery](https://anypay-trails-api-docs.mintlify.app/examples/refunds.md): How Trails handles automatic refunds and how users retain full control over their funds - [Tokens, Chains & Prices](https://anypay-trails-api-docs.mintlify.app/examples/tokens-chains-prices.md): Use Trails built-in indexer and methods to retrieve supported tokens, chains, and live prices - [Intent & Transaction History](https://anypay-trails-api-docs.mintlify.app/examples/transaction-history.md): Retrieve account & intent transaction history for an address with the Trails SDK. - [Wallet Compatibility](https://anypay-trails-api-docs.mintlify.app/examples/wallet-compatibility.md): Comprehensive wallet integration support and compatibility across different blockchain ecosystems - [x402 Payments](https://anypay-trails-api-docs.mintlify.app/examples/x402.md): Learn how to integrate Trails with gasless HTTP payment authentication using x402 - [Quickstart](https://anypay-trails-api-docs.mintlify.app/get-started.md): Integrate Trails in under 5 minutes - [What is Trails?](https://anypay-trails-api-docs.mintlify.app/intro.md): The onchain transaction rails for every token from every chain with every wallet with one, aggregated balance - powered by intents. - [Cross-Chain Execution](https://anypay-trails-api-docs.mintlify.app/overview/cross-chain-execution.md): Overview of cross-chain execution capabilities, transaction routing, and multi-blockchain coordination mechanisms - [LLM Integrations](https://anypay-trails-api-docs.mintlify.app/resources/llm-integration.md): Integrate Trails with AI agents for automated payments, from MCP servers to custom function calling. - [Supported Chains](https://anypay-trails-api-docs.mintlify.app/resources/supported-chains.md): Complete list of supported blockchain networks, chain IDs, and token availability. - [Configuration](https://anypay-trails-api-docs.mintlify.app/sdk/configuration.md): Complete configuration options for the Trails SDK - [Customization](https://anypay-trails-api-docs.mintlify.app/sdk/customization.md): Complete guide to customizing the Trails widget appearance with CSS variables - [Getting Started](https://anypay-trails-api-docs.mintlify.app/sdk/get-started.md): Installing and importing the SDK - [Hooks](https://anypay-trails-api-docs.mintlify.app/sdk/hooks.md): React Hooks and utilities available in the Trails SDK - [Earn Mode](https://anypay-trails-api-docs.mintlify.app/sdk/modes/earn.md): Technical reference for implementing DeFi yield and staking integrations - [Fund Mode](https://anypay-trails-api-docs.mintlify.app/sdk/modes/fund.md): Technical reference for implementing deposit and funding flows - [Pay Mode](https://anypay-trails-api-docs.mintlify.app/sdk/modes/pay.md): Technical reference for implementing exact-output payment flows - [Swap Mode](https://anypay-trails-api-docs.mintlify.app/sdk/modes/swap.md): Technical reference for implementing cross-chain token swaps - [Withdraw Mode](https://anypay-trails-api-docs.mintlify.app/sdk/modes/withdraw.md): Technical reference for guided withdrawals across chains - [Route Providers](https://anypay-trails-api-docs.mintlify.app/sdk/quote-providers.md): Configure and optimize route providers for cross-chain interactions - [Theming and Customization](https://anypay-trails-api-docs.mintlify.app/sdk/theming.md) - [Tokens & Chains](https://anypay-trails-api-docs.mintlify.app/sdk/tokens-and-chains.md): Working with supported tokens and chains in the Trails SDK - [Earn](https://anypay-trails-api-docs.mintlify.app/use-cases/earn.md): How Trails supports common flows for DeFi protocols, yield opportunities, perpetual exchanges, vault deposits, and more to accelerate TVL and volume. - [Fund](https://anypay-trails-api-docs.mintlify.app/use-cases/fund.md): Trails supports depositing funds directly into your protocol, exchange, app, or chain with any token from any chain or via fiat onramps. - [Pay](https://anypay-trails-api-docs.mintlify.app/use-cases/pay.md): Accept stablecoin payments from any chain with automatic bridging and swapping. - [Swap](https://anypay-trails-api-docs.mintlify.app/use-cases/swap.md): Leverage trails to swap & bridge tokens cross-chain seamlessly for your app. ## OpenAPI Specs - [trails-api.gen](https://anypay-trails-api-docs.mintlify.app/api-reference/trails-api.gen.yaml) ## Optional - [Demo Playground](https://demo.trails.build/widget) - [Trails Status](https://status.trails.build)