Home > other >  Can we make an HTTP call from a smart contract in Solana blockchain?
Can we make an HTTP call from a smart contract in Solana blockchain?

Time:05-23

I was not able to find anyone invoking this subject, which means that it probably is not feasible, but I need to make sure.

So is there any way one could call some endpoint from a smart contract?

CodePudding user response:

No it is not, by protocol. Accepting such thing would be a hole security. Smart contracts are meant to deal with data on the blockchain itself in an isolated and controlled environment.

Disclaimer: this is not only for solana but for most blockchains (cannot say for sure if for all of them, but it would make sense it would).

CodePudding user response:

No. calling external links on chain, requires oracle services such as Chainlink

which doesn't seem to be available on solana, as of now.

  • Related