Foreign Chain Fetch
Query foreign non-eosio chain example with github link to code.
  • ​Foreign Chain Fetch: foreign_chain://ethereum/history/0x100/result.transactionsRoot - here the foreign_chain oracle type is used followed by the foreign chain of choice: ethereum, the type of data point (block_number, history, balance, storage). To see other blockchain data point options, see this file. Then the required data parameter is passed 0x100 followed by the object key mapping result.transactionsRoot.
    • You may also see more examples in the unit test​
Copy link