Skip to content

CRossel87a/web3-osmosis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web3 Osmosis

Quickstart

from osmosis.main import Osmosis


server = 'https://lcd.osmosis.zone'

conn = Osmosis(server)

# using pool_id 633, USDC.gr / OSMO

liquidity = conn.get_pool_liquidity(633)

t0 = list(liquidity.keys())[0]

t1 = list(liquidity.keys())[1]

spot_price = conn.get_spot_price(633,t0,t1)

About

A Python library for interacting with Osmosis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages