Documentation
¶
Index ¶
- func ValidateAddress(address string) bool
- type Block
- type ERC20
- type Node
- func (node Node) Address() string
- func (node Node) BroadcastTx(tx string) (string, error)
- func (node Node) Chain() string
- func (node Node) CreateTx(inputs []*types.TxInput, outputs []*types.TxOutput) (string, string, error)
- func (node Node) GetAccountingType() types.AccountingType
- func (node Node) GetAddressExplorerURL(address string) string
- func (node Node) GetAddressPrefix() string
- func (node Node) GetBalance() (*big.Int, error)
- func (node Node) GetTx(txid string) (*types.TxResponse, error)
- func (node Node) GetTxExplorerURL(txid string) string
- func (node Node) GetUnits() *types.Number
- func (node Node) Mocked() bool
- func (node Node) Name() string
- func (node Node) ShouldMergeUTXOs() bool
- func (node Node) ValidateAddress(address string) bool
- type Transaction
- type TransactionReceipt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAddress ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (Node) GetAccountingType ¶
func (node Node) GetAccountingType() types.AccountingType
func (Node) GetAddressExplorerURL ¶
func (Node) GetAddressPrefix ¶
func (Node) GetTxExplorerURL ¶
func (Node) ShouldMergeUTXOs ¶
func (Node) ValidateAddress ¶
type Transaction ¶
type Transaction struct { Hash string `json:"hash"` BlockHash string `json:"blockHash"` BlockNumber string `json:"blockNumber"` From string `json:"from"` To string `json:"to"` Value string `json:"value"` Gas string `json:"gas"` GasPrice string `json:"gasPrice"` MaxFeePerGas string `json:"maxFeePerGas"` MaxPriorityFeePerGas string `json:"maxPriorityFeePerGas"` Input string `json:"input"` Nonce string `json:"nonce"` Index string `json:"transactionIndex"` Type string `json:"type"` V string `json:"v"` R string `json:"r"` S string `json:"s"` }
Click to show internal directories.
Click to hide internal directories.