Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Version uint64 To string From string Nonce uint64 Value xc.AmountBlockchain GasLimit uint64 GasFeeCap xc.AmountBlockchain GasPremium xc.AmountBlockchain Method uint64 Params []byte }
func NewMessage ¶
func NewMessage(args xcbuilder.TransferArgs, txInput tx_input.TxInput) Message
type Tx ¶
type Tx struct { Message Message XcSignatures []xc.TxSignature Signature Signature }
Filecoint transaction
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
GetSignatures returns back signatures, which may be used for signed-transaction broadcasting
func (Tx) SerializeSigned ¶
Serialize signed filecoin transaction using CBOR
Click to show internal directories.
Click to hide internal directories.