stx_deployContract
Deploy a Clarity smart contract on the Stacks blockchain.
Method name
stx_deployContract
Parameters
Parameter
Description
Required
Type
name
The name of the contract.
✅
string
clarityCode
Clarity contract code
✅
string
clarityVersion
Version of the Clarity language (defaut: 3)
❌
number
Example request
Example response
Last updated