Send
Endpoint to request query
Execute this function via an interface from a User-defined contract In this case, it is necessary to send the fee to be paid to Relayer as msg.value
.
Field | Description |
---|---|
| An array of |
| The address of the contract is to be verified |
| The address of the contract to return the data to |
| Data to be returned, in addition to the query |
What the query
function does:
Encode the query data
Calculate the query Id
Execute the light client process as necessary
Currently, sending a request to Chainlink's Node Operator
Emit a request event
Pay fees to Relayer
Calculate the transaction fee off-chain and send the token based on it
Calculate the query Id
Encode each field and the nonce again and hash it as queryId
.
Emit a request event
Events are emitted with the following structure;
Field | Description |
---|---|
| An user who executed the contract |
| An array of |
|
|
| Data to be returned, in addition to the query |
| The address of the contract is to be verified |
| The address of the contract to return the data to |
Last updated