Documentation ¶
Index ¶
- func GetClientChainID(client *ethclient.Client) *big.Int
- func GetHashFromHex(hex string) common.Hash
- func GetSingleTransactionFromTransactionHash(hash common.Hash, client *ethclient.Client, withReceipt bool) string
- func GetTransactionDetails(client *ethclient.Client, block *types.Block, withReceipt bool) []string
- func GetTransactionReceiptDetailsFromHash(hash common.Hash, client *ethclient.Client) *types.Receipt
- func GetTransactionSenderAddress(tx *types.Transaction, chainID *big.Int) string
- func GetTransactionsFromBlockHash(hash common.Hash, client *ethclient.Client, withReceipt bool) []string
- func PrepareTokenTransactionData(methodName string, toAddr *common.Address, tokenAmountToSend int) []byte
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHashFromHex ¶
func GetTransactionDetails ¶
func GetTransactionSenderAddress ¶
func GetTransactionSenderAddress(tx *types.Transaction, chainID *big.Int) string
Types ¶
type Transaction ¶
func (Transaction) FormatTransactionDetails ¶
func (t Transaction) FormatTransactionDetails(client *ethclient.Client, withReceipt bool) string
Click to show internal directories.
Click to hide internal directories.