Documentation ¶
Index ¶
- type Common
- func (c *Common) All(ctx context.Context, req *chain.AllRequest) (*chain.AllResponse, error)
- func (c *Common) GetTransaction() *chain.TxInfo
- func (c *Common) IsTransaction() bool
- func (c *Common) SyncTransaction(t chain.TransactionType, value, txHash string)
- func (c *Common) UpdateStatus(status bool)
- type TxCommonRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
func (*Common) All ¶
func (c *Common) All(ctx context.Context, req *chain.AllRequest) (*chain.AllResponse, error)
func (*Common) GetTransaction ¶
func (*Common) IsTransaction ¶
func (*Common) SyncTransaction ¶
func (c *Common) SyncTransaction(t chain.TransactionType, value, txHash string)
func (*Common) UpdateStatus ¶
type TxCommonRequest ¶
type TxCommonRequest struct { From string `json:"from"` Nonce string `json:"nonce"` To string `json:"to"` // recipient of the transaction Data string `json:"data"` // transaction data GasPrice string `json:"gasPrice"` // gas price or nil if suggested gas price should be used GasLimit string `json:"gasLimit"` // gas limit or 0 if it should be estimated Value string `json:"value"` // amount of wei to send }
Click to show internal directories.
Click to hide internal directories.