Blockchain 我可以从一个URL获取两个varibales吗

Blockchain 我可以从一个URL获取两个varibales吗,blockchain,ethereum,solidity,smartcontracts,oraclize,Blockchain,Ethereum,Solidity,Smartcontracts,Oraclize,这是代码,我的问题是: 在代码的最后一行,我有一个可证明的_查询,它包含URL,URL数据是[{“trade_id”:103437884,“price”:“2674.1”,“size”:“0.12890079”,“time”:“2021-04-28811:19:29.475452Z”,“bid”:“2673.78”,“ask”:“2674.03”,“volume”:“360649.21208837”},所以在最后一行,我希望将价格带入区块链 “但我的问题是,如果这个Url包含两种不同的价格,比如

这是代码,我的问题是:

在代码的最后一行,我有一个可证明的_查询,它包含URL,URL数据是[{“trade_id”:103437884,“price”:“2674.1”,“size”:“0.12890079”,“time”:“2021-04-28811:19:29.475452Z”,“bid”:“2673.78”,“ask”:“2674.03”,“volume”:“360649.21208837”},所以在最后一行,我希望将价格带入区块链

“但我的问题是,如果这个Url包含两种不同的价格,比如美元的价格和欧元的其他价格,比如:{“trade_id”:103437884,“price1:”2674.1,“price2:”2222,“size:”0.12890079”,“time:”2021-04-28811:19:29.475452Z”,“bid:”2673.78”,“ask:”2674.03”,“volume:”360649.21208837“}”

因此,现在我的问题是如何从上述URL获取价格1和价格2,如果是,如何从单个URL获取价格2”

提前谢谢

`pragma solidity ^0.4.22;
import "github.com/provable-things/ethereum-api/provableAPI_0.4.25.sol";

contract ExampleContract is usingProvable {

   string public ETHUSD;
   event LogConstructorInitiated(string nextStep);
   event LogPriceUpdated(string price);
   event LogNewProvableQuery(string description);

   function ExampleContract() payable {
       LogConstructorInitiated("Constructor was initiated. Call 'updatePrice()' to send the Provable Query.");
   }

   function __callback(bytes32 myid, string result) {
       if (msg.sender != provable_cbAddress()) revert();
       ETHUSD = result;
       LogPriceUpdated(result);
   }

   function updatePrice() payable {
       if (provable_getPrice("URL") > this.balance) {
           LogNewProvableQuery("Provable query was NOT sent, please add some ETH to cover for the query fee");
       } else {
           LogNewProvableQuery("Provable query was sent, standing by for the answer..");
            provable_query("URL", "json(https://api.pro.coinbase.com/products/ETH-USD/ticker).price");
       }
   }`