Fetcher
The data fetching logic is split from the rest of the code for better tree-shaking,
The data fetching logic is split from the rest of the code for better tree-shaking,
Looking for a quickstart?
The base class which all subsequent fraction classes extend. Not meant to be used directly.
The pages that follow contain technical reference information on the Pegasys SDK.
The default export from jsbi.
The Pair entity represents a Pegasys pair with a balance of each of its pair tokens.
Looking for a quickstart?
The Route entity represents one or more ordered Pegasys pairs with a fully specified path from input token to output token.
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.
The Token entity represents an ERC-20 token at a specific address on a specific chain.
The Trade entity represents a fully specified trade along a route. This entity supplies all the information necessary to craft a router transaction.
Looking for a quickstart?