Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 Changes in this version + type FacadeHandler interface + ComputeTransactionGasLimit func(tx *transaction.Transaction) (uint64, error) + CreateTransaction func(nonce uint64, value string, receiver string, sender string, gasPrice uint64, ...) (*transaction.Transaction, []byte, error) + EncodeAddressPubkey func(pk []byte) (string, error) + GetThrottlerForEndpoint func(endpoint string) (core.Throttler, bool) + GetTransaction func(hash string) (*transaction.ApiTransactionResult, error) + IsInterfaceNil func() bool + SendBulkTransactions func([]*transaction.Transaction) (uint64, error) + ValidateTransaction func(tx *transaction.Transaction) error v0.0.1 Oct 30, 2023 Changes in this version + func ComputeTransactionGasLimit(c *gin.Context) + func GetTransaction(c *gin.Context) + func Routes(router *wrapper.RouterWrapper) + func SendMultipleTransactions(c *gin.Context) + func SendTransaction(c *gin.Context) + type MultipleTxRequest struct + Receiver string + TxCount int + Value *big.Int + type SendTxRequest struct + ChainID string + Data string + GasLimit uint64 + GasPrice uint64 + Nonce uint64 + Receiver string + Sender string + Signature string + Value string + Version uint32 + type TxRequest struct + Data string + Receiver string + Sender string + Value *big.Int + type TxResponse struct + BlockHash string + BlockNumber uint64 + Hash string + ShardID uint32 + Timestamp uint64 + type TxService interface + ComputeTransactionGasLimit func(tx *transaction.Transaction) (uint64, error) + CreateTransaction func(nonce uint64, value string, receiver string, sender string, gasPrice uint64, ...) (*transaction.Transaction, []byte, error) + EncodeAddressPubkey func(pk []byte) (string, error) + GetThrottlerForEndpoint func(endpoint string) (core.Throttler, bool) + GetTransaction func(hash string) (*transaction.ApiTransactionResult, error) + IsInterfaceNil func() bool + SendBulkTransactions func([]*transaction.Transaction) (uint64, error) + ValidateTransaction func(tx *transaction.Transaction) error