LogoLogo
MidpointContact UsThe Docs are Wrong!
  • What is Midpoint
  • What actually is a midpoint?
  • Midpoint FAQs
  • Get Started
    • Sample Midpoints
      • Filecoin Filrep Oracle: Obtain miner reputations on-chain
      • Oracle: Call any API from a smart contract
      • Listener: Subscribe an internal service to any event
      • Data Feed: Stream a data feed on-chain at regular intervals
      • Data Bridge: Pass arbitrary messages between chains
      • Automation: Ensure a function is called at regular intervals
    • Videos
  • Using Midpoint
    • API Key
    • Midpoint CLI
    • GraphQL API
    • Dashboard
  • Core Concepts
    • Midpoints
      • Midpoint ID
      • Sources
      • Tasks
      • Source and Task Definitions
        • Secrets
        • Variables
        • Exclude Logs
        • Extracts
    • Requests
      • Request ID
      • Events
    • Credits and Payment
  • Sources
    • Startpoint Called
    • EVM Event Emitted
    • Cron Job Triggered
  • Tasks
    • Make HTTP Request
      • OAuth and Multi-Step Authentication
    • Call EVM Function
    • Transact to EVM Function
      • Security
    • Shift Decimal
  • More Reading
    • Chain IDs
    • Startpoints
    • Midpoint EOAs
  • Get in Touch
    • Contact Links
Powered by GitBook
On this page

Was this helpful?

  1. More Reading

Midpoint EOAs

All on-chain transactions come from a known EOA that your contract can verify.

// Checks that the caller is the known EOA. Ensures that your callback is only called when your midpoint returns a response.
require(tx.origin == 0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9, "Invalid EOA");

Live callback EOAs:

Chain
Address

Ethereum Goerli Testnet

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Optimism Goerli Testnet

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Arbitrum Goerli Testnet

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Polygon Mumbai Testnet

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Filecoin Hyperspace Testnet

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Ethereum

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Optimism

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Arbitrum

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Polygon

0xC0FFEE4a3A2D488B138d090b8112875B90b5e6D9

Look for 0xC0FFEE when checking an address.

PreviousStartpointsNextContact Links

Last updated 2 years ago

Was this helpful?