Skip to content

Commit

Permalink
Merge pull request #20 from gklps/gokul/scAPI
Browse files Browse the repository at this point in the history
Adding subscribe contract sample API
  • Loading branch information
gklps authored Oct 28, 2023
2 parents 23d1f9d + bd43fd8 commit 887935c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/smartcontractlifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ The compiled WebAssembly code is then deployed onto a blockchain platform. The c
Sample API:
</li>
<code>
curl --location 'http://localhost:20000/api/subscribe-smart-contract' \ <br>
--header 'Content-Type: application/json' \ <br>
--data '{ <br>
"smartContractToken": "smart contract token hash generated from generate-smart-contract api" <br>
}'
</code>
</ol>
<li>
Expand Down

0 comments on commit 887935c

Please sign in to comment.