[v1] On-chain price feeds
Intro
Code Example
Contract ABI
[
{
"inputs": [
{
"internalType": "address",
"name": "base",
"type": "address"
}
],
"name": "price",
"outputs": [
{
"internalType": "uint256",
"name": "priceNow",
"type": "uint256"
},
{
"internalType": "bool",
"name": "feasible",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]Python Example (python 3.8)
Last updated
Was this helpful?
