Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosmosChain ¶
type CosmosChain struct {
// contains filtered or unexported fields
}
CosmosChain is a struct for identifier blockchains and their forks
func (*CosmosChain) UnwrapResponse ¶
func (ec *CosmosChain) UnwrapResponse(cmd uint8, payload []RPCResponse) ([]byte, error)
func (*CosmosChain) WrapRequest ¶
type ETHChain ¶
type ETHChain struct {
// contains filtered or unexported fields
}
ETHChain is a struct for identifier blockchains and their forks
func (*ETHChain) UnwrapResponse ¶
func (ec *ETHChain) UnwrapResponse(cmd uint8, payload []RPCResponse) ([]byte, error)
type HttpData ¶
HttpData is the common struct containing the body and url Tag is for specifying the response message
type IChain ¶
type IChain interface { WrapRequest(rpcURL string, cmd uint8, payload []byte) (*HttpData, error) UnwrapResponse(cmd uint8, payload []RPCResponse) ([]byte, error) }
IChain is an abstraction for a cryptocurrency It creates raw transactions
Click to show internal directories.
Click to hide internal directories.