class

BitShares::Transaction

Inherits Reference < Object

交易构造器。

Constants

Log = ::Log.for("tx")

Constructors

new(client : Client)
Source

Instance methods

add_operation(opcode : Blockchain::Operations, opdata)

添加 operation 到当前交易对象。

Source
add_sign_key(public_key : String, private_key : Secp256k1Zkp::PrivateKey)

添加交易需要签名的私钥,不添加则默认使用钱包中的所有私钥进行签名。

Source
add_sign_keys(sign_keys_hash : Hash(String, Secp256k1Zkp::PrivateKey))

添加交易需要签名的私钥,不添加则默认使用钱包中的所有私钥进行签名。

Source
broadcast(wait_broadcast_callback = true)

广播到链上。

Source