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

This flag is used to determine the minimum creation fee calculation method. Before the "SODIUM" hardfork (BRS Versions <2.5 and blockHeight <765.000) this flag should be false, otherwise true, to have reduced fee costs. This is likely to be removed/ignored once the Hard fork is established

param

The name for the contract

param

The senders private key to sign the transaction

param

The senders public key

Hierarchy

  • PublishContractArgs

Index

Properties

activationAmountPlanck

activationAmountPlanck: string

codeHex

codeHex: string

Optional deadline

deadline: number

description

description: string

isCIP20Active

isCIP20Active: boolean

name

name: string

senderPrivateKey

senderPrivateKey: string

senderPublicKey

senderPublicKey: string