Blockcfrost-related question. Can we expose our own custom endpoints in our off-chain Plutus contract, and use your API to send requests from our own frontend client? For example, if I expose an endpoint named "collect-funds" in my Plutus off-chain contract, can I call that endpoint from my react app via your API to execute my Plutus contract functionality which is related to that endpoint? Super thanks in advance!
1 Answer
You can blockfrost-haskell from you off-chain code to call the Blockfrost API.
Or you can use Blockfrost endpoint integration for the PAB available in PAB directly.