Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosmosNode ¶
type CosmosNode struct {
// contains filtered or unexported fields
}
CosmosNode represents a Cosmos node
func NewCosmosNode ¶
func NewCosmosNode(nodeURL string, privateKeyHex string) (*CosmosNode, error)
NewCosmosNode creates a new Cosmos node
func (*CosmosNode) GetBalance ¶
GetBalance gets the balance of an account on the Cosmos node
func (*CosmosNode) GetTransactionCount ¶
func (n *CosmosNode) GetTransactionCount(address common.Address) (uint64, error)
GetTransactionCount gets the transaction count of an account on the Cosmos node
func (*CosmosNode) SendTransaction ¶
func (n *CosmosNode) SendTransaction(tx *types.Transaction) error
SendTransaction sends a transaction on the Cosmos node
Click to show internal directories.
Click to hide internal directories.