set(nat) -> list(op(Oracle(pairName, PriceFeed.receivePrice))
Last updated 3 years ago
Entrypoint calls oracle about prices each of tokenId from input set(nat) and routes them to . It the end prices sends to entrypoint.
tokenId
set(nat)
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();
token_ids = [0, 1, 5] proxy = ContractInterface.from_michelson(code) # or client.contract(contract_address)... call = proxy.getPrice(token_ids) opg = call.inject()