Optimistic (manual) Reporting

The command for sending a tip looks like this:

# layerd tx oracle submit-value [creator] [qdata] [value] [salt] [flags]
# example for reporter's address tellor1xk9amtcxllqh8s8cyy0kzxhmreuttq0

./layerd tx oracle submit-value tellor1xk9amtcxllqh8s8cyy0kzxhmreuttq0 
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000953706f745072696365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000047573646300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000375736400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a5ba50 --from tellor1xk9amtcxllqh8s8cyy0kzxhmreuttq0 --chain-id 
layertest-2 --fees 1000loya --gas 400000

The query_data shown here is for usdc-usd-spot . To generate query_data for the query that you need, check out the "querybuilder" tool here.

Last updated