Skip to content

Instantly share code, notes, and snippets.

@jtakalai
Created January 13, 2022 13:28
Show Gist options
  • Save jtakalai/a3dc00f2d0187810b44f608a6d4a1bae to your computer and use it in GitHub Desktop.
Save jtakalai/a3dc00f2d0187810b44f608a6d4a1bae to your computer and use it in GitHub Desktop.
Chainlink Direct Request attempt
type = "directrequest"
schemaVersion = 1
name = "Get > Bytes32"
contractAddress = "0x214859dE825FA80f3977EBc31F55Bc09e82565f0"
maxTaskDuration = "20s"
observationSource = """
decode_log [type="ethabidecodelog"
abi="OracleRequest(bytes32 indexed specId, address requester, bytes32 requestId, uint256 payment, address callbackAddr, bytes4 callbackFunctionId, uint256 cancelExpiration, uint256 dataVersion, bytes data)"
data="$(jobRun.logData)"
topics="$(jobRun.logTopics)"]
decode_cbor [type="cborparse" data="$(decode_log.data)"]
decode_log -> decode_cbor
"""
externalJobID = "0eec7e1d-d0d2-476c-a1a8-72dfb6633f02"
chainlink-node | 2022-01-13T13:22:32.175227376Z 2022-01-13T13:22:32Z [DEBUG] LogBroadcaster: Received a log log/broadcaster.go:301 address=0x214859dE825FA80f3977EBc31F55Bc09e82565f0 blockHash=0x9e9e65e553c56d62fab79932936aad273b9f1e33a829695e7eda89c1500075c6 blockNumber=13176 chainId=8997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment