Documentation ¶
Index ¶
Constants ¶
View Source
const MORTAL_PERIOD = 4096
How many blocks the transaction will stay valid for
Variables ¶
This section is empty.
Functions ¶
func HashSerialized ¶
Types ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
Tx for Template
func NewTx ¶
func NewTx(extrinsic extrinsic.DynamicExtrinsic, sender types.MultiAddress, tip uint64, txInput *tx_input.TxInput) (*Tx, error)
func (*Tx) AddSignatures ¶
func (tx *Tx) AddSignatures(signatures ...xc.TxSignature) error
AddSignatures adds a signature to Tx
func (Tx) GetSignatures ¶
func (tx Tx) GetSignatures() []xc.TxSignature
Click to show internal directories.
Click to hide internal directories.