Versions in this module Expand all Collapse all v0 v0.1.4 Mar 13, 2024 Changes in this version + func GetBlob(blockRootOrSlotNumber, kzgCommitment string) (string, error) v0.1.3 Mar 8, 2024 v0.1.2 Mar 8, 2024 v0.1.1 Mar 8, 2024 Changes in this version + var TxCmd = &cobra.Command + func CreateRawTransaction(rpcURL, to, data, privateKey string, gasLimit, wei uint64) (string, error) + func GetNonce(address, rpcUrl string) (uint64, uint64, error) + func SendBlobTX(rpcURL, toAddress, data, privateKey, saveBlobDir string) (string, error) + func SendRawTransaction(rawTx, rpcURL string) (string, string, error) + func SendTransaction(rpcURL, to, data, privateKey string, gasLimit, wei uint64) (string, error) + func SignETHMessage(message, privateKey string) (string, error) + func TryEstimateGas(rpcUrl, from, to, data string, value uint64) (uint64, error) + func VerifySig(signature, address, message string) (bool, error) + type SignatureResponse struct + Address string + Msg string + Sig string + Version string + type Trace struct + Children []*Trace + Depth int + From string + Input string + Parent *Trace + To string + Type string + Value string + func TraceTx(hash, rpcUrl string) (*Trace, error) + type Transaction struct + AccessList []string + ChainID string + Gas string + GasPrice string + Hash string + Input string + MaxFeePerGas string + MaxPriorityFeePerGas string + Nonce string + R string + S string + To string + TransactionCost string + TransactionTime string + Type string + V string + Value string + YParity string + type TxReceipt struct + BlockHash string + BlockNumber uint64 + ContractAddress string + CumulativeGasUsed uint64 + EffectiveGasPrice uint64 + GasUsed uint64 + Logs []interface{} + LogsBloom string + Root string + Status uint64 + TransactionCost uint64 + TransactionHash string + TransactionIndex uint64 + TransactionURL string + Type uint64 + func CreateContract(rpcURL, data, privateKey string, gasLimit, wei uint64) (*TxReceipt, error) + func (r *TxReceipt) UnmarshalJSON(data []byte) error v0.1.0 Mar 5, 2024