Overview

Coal provides a set of REST APIs that enable developers to integrate Coal - an aggregator that provides Sonic EVM token swapping functionality. The API provides endpoints for:

  1. Obtaining quotes for token swaps

  2. Executing token swaps

  3. Supporting partner fee collection

This documentation covers how to use the Coal API and how to execute transactions in Typescript using ethers.js v6 or viem.

Last updated