Documentation ¶
Index ¶
- type ControlAddressAction
- type Node
- func (n *Node) BatchSendBTM(accountID, password string, outputs map[string]uint64) (string, error)
- func (n *Node) GetBlockByHash(hash string) (*types.Block, error)
- func (n *Node) GetBlockByHeight(height uint64) (*types.Block, error)
- func (n *Node) GetVoteByHash(hash string) ([]*api.VoteInfo, error)
- func (n *Node) GetVoteByHeight(height uint64) ([]*api.VoteInfo, error)
- func (n *Node) SubmitTx(tx *types.Tx) (string, error)
- type SpendAccountAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlAddressAction ¶
type ControlAddressAction struct { Address string `json:"address"` *bc.AssetAmount }
func (*ControlAddressAction) MarshalJSON ¶
func (c *ControlAddressAction) MarshalJSON() ([]byte, error)
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node can invoke the api which provide by the full node server
func (*Node) BatchSendBTM ¶
func (*Node) GetBlockByHeight ¶
func (*Node) GetVoteByHeight ¶
type SpendAccountAction ¶
type SpendAccountAction struct { AccountID string `json:"account_id"` *bc.AssetAmount }
func (*SpendAccountAction) MarshalJSON ¶
func (s *SpendAccountAction) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.