https://github.com/fabianriewe/limestone-python
An api to access trusted token pricing data secured on Arweave and protected by provider's collateral.
https://github.com/fabianriewe/limestone-python
arweave blockchain limestone
Last synced: 4 months ago
JSON representation
An api to access trusted token pricing data secured on Arweave and protected by provider's collateral.
- Host: GitHub
- URL: https://github.com/fabianriewe/limestone-python
- Owner: fabianriewe
- Created: 2021-03-02T14:38:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-03T09:13:09.000Z (about 5 years ago)
- Last Synced: 2025-11-27T18:34:39.115Z (6 months ago)
- Topics: arweave, blockchain, limestone
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# limestone-python
An api to access trusted token pricing data secured on Arweave and protected by provider's collateral.
## Installation
`pip install limestone-finance`
## Usage
### Getting the latest price
```python
from limestone_finance import get_price
price = get_price("AR")
```
### Getting price at a specific block
```python
from limestone_finance import get_price
price = get_price("AR", at_block=123456)
```
## Data format
```
{
price: 11.74, //as Float
updated: '2021-02-25T07:55:00.467000', //as UTC Date string
}
```
## Testing
```
python test_limestone.py
```