class Counterparty::Publish

An object that publishes a compiled serpent contract onto the Counterparty network

Attributes

code_hex[RW]

(string) the hex‐encoded contract (returned by ‘serpent compile’)

endowment[RW]

(integer) quantity of {} to be transfered to the contract (satoshis)

gasprice[RW]

(integer) the price of gas

source[RW]

(string) the source address

startgas[RW]

(integer) the maximum quantity of {} to be used to pay for the execution (satoshis)