For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Contact SupportDiscordGo to dashboard
HomeDocsAPI ReferenceLiquidity IntegrationChangelog
HomeDocsAPI ReferenceLiquidity IntegrationChangelog
  • Introduction
    • Welcome
    • Supported Chains and Providers
    • Demo Apps
    • FAQ
    • API Issues & Error Codes
    • Need Help?
  • Swap API
    • Introduction
      • Set Token Allowances
      • Handle Native Tokens
      • Display Final Swap Amounts
      • Sell Entire Balance
      • Buy/Sell Tax Support
      • Multi-Fee Support
      • Swap and Send
      • About the RFQ System
    • FAQ
  • Gasless API
    • Introduction
    • Gasless FAQ
  • Cross-Chain API
    • Introduction
    • Learn More
  • Trade Analytics API
    • Introduction
    • Transaction Data
    • Trade Analytics FAQ
  • Core Concepts
    • Introduction to 0x
    • 0x Cheat Sheet
    • Contracts
    • Order Types
    • Glossary
    • White Paper
    • Transaction Data
  • Developer Resources
    • Bounties
    • Rate Limits
    • System Status
  • Upgrading
    • Overview
    • Upgrading to Swap v2
    • Upgrading to Gasless v2
  • Need Help?
    • FAQ
    • API Issues & Error Codes
    • Contact Support
    • Contact Sales
LogoLogo
Contact SupportDiscordGo to dashboard
On this page
  • Resources
  • Video
Swap APIAdditional Topics

Display Final Swap Amounts

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Handle Native Tokens

Next

Sell Entire Balance

Built with

If you would like to display the final amount swapped after a 0x transaction has settled on the blockchain, we recommend using the 0x-parser library.

This library parses 0x transactions from EVM blockchains into a format that is user-friendly and easy to understand.

0x-parser

Resources

Video

  • npm: https://www.npmjs.com/package/@0x/0x-parser
  • GitHub: https://github.com/0xProject/0x-parser/tree/main
  • Blog: https://coinsbench.com/0x-parser-parsing-dex-transactions-9f9a6579d489