asset
in currency
?SpotPrice
abi_type
: ufixed256x18 (18 decimals of precision)packed
: falsequeryData
format, which means encoding your queryType name and arguments into bytes (see below). You'll then need to get a queryId
, which is the bytes32 unique identifier for each Tellor data feed. The queryId
is defined as the keccak256 hash of queryData
. Once you know the queryId
you'll be able to retrieve your data.btc
and usd
, respectively, the queryData
would be0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000953706f745072696365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003627463000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037573640000000000000000000000000000000000000000000000000000000000
queryId
would be0xa6f013ee236804827b77696d350e9f0ac3e879328f2a3021d473a0b778ad78ac