Receive
Endpoints that receive query results from Relayer
This function is the endpoint from which Relayer obtains the proof and returns it to the src chain.
Field
Description
response
QueryResponse
data
What the receiveQuery
function does:
Verify if Gelato's Relayer executed the function
Verify the proof and extract the acquisition data
Done through the interface by the Light Client Contract
Pay fees to the Relayer
Return data to the user
To return data to the User Contract, the User Contract must inherit the following interface:
Last updated