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)
-
Notifications
You must be signed in to change notification settings - Fork 0
CRossel87a/web3-osmosis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Python library for interacting with Osmosis
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published