Method stx_deployContract
params
name
:string
clarityCode
:string
Clarity contract codeclarityVersion?
:number
address?
:string
address, Stacks c32-encoded, defaults to wallets current addressnetwork?
:'mainnet' | 'testnet' | 'devnet' | 'regtest'
fee?
:number | string
BigInt constructor compatible valuenonce?
:number | string
BigInt constructor compatible valuepostConditions?
:PostCondition[] | string[]
JSON representation or hex serialized string, defaults to[]
postConditionMode?
:'allow' | 'deny'
sponsored?
:boolean
, defaults tofalse
broadcast?
:boolean
, defaults totrue
result
txid
:string
hex-encodedtransaction
:string
hex-encoded raw transaction
Last updated on