Get > Int256 Job

Use a

Get > Int256 Job

 

for your usecase

A user can make a request to our oracle to call a public API, retrieve a number from the response, remove any decimals and return int256. ‍

Overview

Supported networks

  • Goerli Testnet:   0xf8FC68B7f1711cE718887D2F79ADf4A9c81D6111
  • Arbitrum Nitro:   0x60AF1F123a2B4357C2Cc4d500bc3912b1fE6dCD9
  • BNB Chain:         0x52E68159B99861dceC02fFD54AD4327A80F21437
  • Polygon:              0x56C8d1eF8B8B44024a298a5C82919E2FA1c249D1

Job id

-

Parameters

The job requires the following parameters to be specified:

  • Get – internet-facing URL from where the integer is retrieved
  • Path – comma-separated JSON path used to extract the integer value
  • Multiply – factor using to deal with precision and rounding errors
    Note: use commas not dots for JSON paths.

Path

Price

  • Goerli testnet:         0   LINK
  • Arbitrum Nitro:        0.1 LINK
  • Polygon:                 0.1 LINK
  • BNB Smart Chain:    0.1 LINK

Constructor

    
      constructor() ConfirmedOwner(msg.sender) {
        setChainlinkToken(0x779877A7B0D9E8603169DdbD7836e478b4624789);
        setChainlinkOracle(0x6090149792dAAeE9D1D568c9f9a6F6B46AA29eFD);
        jobId = "ca98366cc7314957b8c012c72f05aeeb";
        fee = (1 * LINK_DIVISIBILITY) / 10; // 0,1 * 10**18 (Varies by network and job)
      }
    
  

Example

Get > Int256 Job
Category
Oracles
Node adress
Visit website
Documentation
Read docs

Need a custom job?

Contact us now!