This adapter posts a result to the Agoric blockchain. See the Agoric Chainlink Oracle integration for details on how to use it with your Chainlink node.
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
API_KEY |
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
endpoint | The endpoint to use | agoric | agoric |
This is the endpoint exposed by your local ag-solo
after installing the
Agoric Chainlink Oracle
integration.
The default is http://localhost:8000/api/oracle
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
✅ | request_id |
The Agoric oracle queryId | string | request_id from Agoric External Initiator |
payment |
How much $LINK the Chainlink node would like to collect as a fee | number as a string | the whole fee the user offered | |
✅ | result |
The result to return to the Agoric oracle contract | string |
{
"jobRunID": "278c97ffadb54a5bbb93cfec5f7b5503",
"data": { "result": "..." },
"statusCode": 200
}