Skip to main content

12 docs tagged with "SDK"

View all tags

Fetcher

The data fetching logic is split from the rest of the code for better tree-shaking,

Fractions

The base class which all subsequent fraction classes extend. Not meant to be used directly.

Getting Started

The pages that follow contain technical reference information on the Pegasys SDK.

Pair

The Pair entity represents a Pegasys pair with a balance of each of its pair tokens.

Route

The Route entity represents one or more ordered Pegasys pairs with a fully specified path from input token to output token.

SDK Quick start

The Pegasys SDK exists to help developers build on top of Pegasys. It's designed to run in any environment that can execute JavaScript (think websites, node scripts, etc.). While simple enough to use in a hackathon project, it's also robust enough to power production applications.

Token

The Token entity represents an ERC-20 token at a specific address on a specific chain.

Trade

The Trade entity represents a fully specified trade along a route. This entity supplies all the information necessary to craft a router transaction.