Developer spacePriceFeed contract getPrice set(nat) -> list(op(Oracle(pairName, PriceFeed.receivePrice))
Entrypoint calls oracle about prices each of tokenId
from input set(nat)
and routes them to receivePrice . It the end prices sends to yToken.priceCallback entrypoint.
Usage
๐ฎ Taquito ๐ Pytezos
Copy const tokenSet = [0, 1, 5]; // token ids to update
const proxy = await tezos.contract.at(proxyAddress);
const operation = await proxy.methods.getPrice(tokenSet).send();
await operation.confirmation();
Copy token_ids = [0, 1, 5]
proxy = ContractInterface.from_michelson(code) # or client.contract(contract_address)...
call = proxy.getPrice(token_ids)
opg = call.inject()