5 votes
Accepted

Are EOS smart contract self executing? Can a contract monitor an external API call from a weather site and send a transaction if it's sunny?

If not do I need to have cron run every minute on my system and monitor the weather api and if its sunny, it will execute the smart contract on EOS? Yes, you'd need to make an explicit call to the ...
confused00's user avatar
  • 5,554
2 votes

How can a contract obtain and process variable data from the outside world?

Contracts can't query off-chain data since that would make it impossible to reproduce the contracts' behavior. If you need to feed data into a contract, send it in an action. The contract can reject ...
Todd Fleming's user avatar
  • 2,005
1 vote

How can a contract obtain and process variable data from the outside world?

There needs to be an external service, usually called oracle that writes this data to blockchain. Then contracts read this data off from the oracle contract. Oracles can be third parties, ...
Mikko Ohtamaa's user avatar
1 vote

How can I call third party APIs from inside a smart contract at a set time or interval?

I'm not sure but I think that's the purpose of Inbound Oracles to write data on the chain. You should develop an application that reads data from somewhere and input to your smart contract weather ...
Leo Ribeiro's user avatar
  • 3,023

Only top scored, non community-wiki answers of a minimum length are eligible