Documentation ¶
Index ¶
- type ControlAddressAction
- type Node
- func (n *Node) BatchSendJTA(accountID, password string, outputs map[string]uint64, memo []byte) error
- func (n *Node) GetBlockByHash(hash string) (*types.Block, error)
- func (n *Node) GetBlockByHeight(height uint64) (*types.Block, error)
- func (n *Node) GetFinalizedHeight() (uint64, error)
- func (n *Node) SubmitTx(tx *types.Tx) (string, error)
- type RetireAction
- 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) BatchSendJTA ¶
func (*Node) GetBlockByHeight ¶
func (*Node) GetFinalizedHeight ¶
GetFinalizedHeight return the finalized block height of connected node
type RetireAction ¶
type RetireAction struct { *bc.AssetAmount Arbitrary []byte }
func (*RetireAction) MarshalJSON ¶
func (r *RetireAction) MarshalJSON() ([]byte, error)
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.