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:
Obtaining quotes for token swaps
Executing token swaps
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