Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PublishContractArgs

The argument object for ContractApi.publishContract

param

The amount in planck needed to execute the contract

param

The compiled program in hex form (recommend to use [BlockTalk](https://github.com/burst-apps-team/blocktalk smart contracts compiler)

param

Optional deadline in minutes, default is 1440

param

The description of your contract (max. 1000 chars)

param

The name for the contract

param

The senders private key to sign the transaction

param

The senders public key

see

Consider publishing by reference also, which is way cheaper: ContractApi.publishContractByReference

Hierarchy

  • PublishContractArgs

Index

Properties

activationAmountPlanck

activationAmountPlanck: string

Optional codeHex

codeHex: string

Optional deadline

deadline: number

description

description: string

name

name: string

senderPrivateKey

senderPrivateKey: string

senderPublicKey

senderPublicKey: string