Page cover

Contracts

API endpoints for Token and Pool contracts on Plenty

Tokens

Get the details of all the tokens listed on Plentyswap

GET https://api.plenty.network/config/tokens

This endpoints returns an array of objects where each contains information about a token, like its symbol, name, contract address, FA standard, decimals, icon and chain of origin.

[
  {
    id: number; // Internal database id of the token
    name: string; 
    symbol: string; // Metadata symbol
    decimals: number; 
    standard: string; // FA Standard
    address: string | null; // Tezos address of the token contract
    thumbnailUri: string | null; // TZIP-12 specified format
    originChain: string; // TEZOS, ETHEREUM or POLYGON
  }
]

Pools

Get the details of all the v2 pools on Plentyswap

GET https://api.plenty.network/config/pools/v2

This endpoint returns an array of objects where each object contains information about a v2 pool on Plenty, like its Tezos contract address, both the tokens in the pool, its trading fee value and associated VE bribe and gauge contract addresses.

Get the details of all the v3 pools on Plentyswap

GET https://api.plenty.network/config/pools/v3

This endpoint returns an array of objects where each object contains information about a v3 pool on Plenty, like its Tezos contract address, both the tokens in the pool, its trading fee value and associated VE bribe and gauge contract addresses.

Last updated