Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxSubmission ¶
type TxSubmission struct { UnitID types.UnitID TxHash types.Bytes Transaction *types.TransactionOrder Proof *wallet.Proof }
func (*TxSubmission) Confirmed ¶
func (s *TxSubmission) Confirmed() bool
func (*TxSubmission) ToBatch ¶
func (s *TxSubmission) ToBatch(backend RpcClient, sender wallet.PubKey, log *slog.Logger) *TxSubmissionBatch
type TxSubmissionBatch ¶
type TxSubmissionBatch struct {
// contains filtered or unexported fields
}
func (*TxSubmissionBatch) Add ¶
func (t *TxSubmissionBatch) Add(sub *TxSubmission)
func (*TxSubmissionBatch) SendTx ¶
func (t *TxSubmissionBatch) SendTx(ctx context.Context, confirmTx bool) error
func (*TxSubmissionBatch) Submissions ¶
func (t *TxSubmissionBatch) Submissions() []*TxSubmission
Click to show internal directories.
Click to hide internal directories.