Documentation ¶
Index ¶
- type EthConn
- func (c *EthConn) GetBalance(addr common.Address) (balance *big.Int, err error)
- func (c *EthConn) GetBlockNumber() (blockNum *big.Int, err error)
- func (c *EthConn) GetErc20Balance(addr common.Address) (listBalance map[string]*big.Int, err error)
- func (c *EthConn) GetEstimateGas(tx types.TransactionRequest) (gas uint64, err error)
- func (c *EthConn) GetGasPrice() (gasPrice *big.Int, err error)
- func (c *EthConn) GetInternalTransactions(address common.Address) (txs []types.EsInternalTansaction, err error)
- func (c *EthConn) GetNonce(addr common.Address) (nonce uint64, err error)
- func (c *EthConn) GetNormalTransactions(address common.Address) (txs []types.EsNormalTransaction, err error)
- func (c *EthConn) GetTokenTransactions(address common.Address) (txs []types.EsErc20TokenTransaction, err error)
- func (c *EthConn) GetTransaction(txid string) (tx types.NodeTransaction, err error)
- func (c *EthConn) SendRawTransaction(data string) (txid string, err error)
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthConn ¶
type EthConn struct {
// contains filtered or unexported fields
}
func NewEthConn ¶
func (*EthConn) GetBalance ¶
func (*EthConn) GetErc20Balance ¶
func (*EthConn) GetEstimateGas ¶
func (c *EthConn) GetEstimateGas(tx types.TransactionRequest) (gas uint64, err error)
func (*EthConn) GetInternalTransactions ¶
func (*EthConn) GetNormalTransactions ¶
func (*EthConn) GetTokenTransactions ¶
func (*EthConn) GetTransaction ¶
func (c *EthConn) GetTransaction(txid string) (tx types.NodeTransaction, err error)
type Response ¶
type Response struct {
Result json.RawMessage `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.