Versions in this module Expand all Collapse all v1 v1.0.4 Apr 28, 2019 v1.0.3 Apr 15, 2019 v1.0.2 Mar 27, 2019 v1.0.1 Feb 28, 2019 v1.0.0 Feb 22, 2019 Changes in this version + type Error struct + Code int + Data interface{} + Message string + type RequestResult struct + Data string + Error *Error + ID int + Result interface{} + Version string + func NewRequestResult(result interface{}) *RequestResult + func (pointer *RequestResult) GetResult() (interface{}, error) + func (pointer *RequestResult) ToBigInt() (*big.Int, error) + func (pointer *RequestResult) ToBoolean() (bool, error) + func (pointer *RequestResult) ToInt() (int64, error) + func (pointer *RequestResult) ToSignTransactionResponse() (*SignTransactionResponse, error) + func (pointer *RequestResult) ToString() (string, error) + func (pointer *RequestResult) ToStringArray() ([]string, error) + func (pointer *RequestResult) ToSyncingResponse() (*SyncingResponse, error) + func (pointer *RequestResult) ToTransactionReceipt() (*TransactionReceipt, error) + type RequestResult1 struct + Data string + Error *Error + ID int + Result json.RawMessage + Version string + func (pointer *RequestResult1) ToBigInt() (*big.Int, error) + func (pointer *RequestResult1) UnMarshalResult(result interface{}) error + type RequestTransactionParameters struct + Data string + From string + Gas string + GasPrice string + Nonce string + To string + Value string + type SHHPostParameters struct + From string + Payload string + Priority string + TTL string + To string + Topics []string + type SignTransactionResponse struct + Raw types.ComplexString + Transaction SignedTransactionParams + type SignedTransactionParams struct + Gas *big.Int + GasPrice *big.Int + Hash string + Input string + Nonce *big.Int + R string + S string + To string + V *big.Int + Value *big.Int + func (sp *SignedTransactionParams) UnmarshalJSON(data []byte) error + type SyncingResponse struct + CurrentBlock *big.Int + HighestBlock *big.Int + StartingBlock *big.Int + type TransactionLogs struct + Address string + BlockHash string + BlockNumber *big.Int + Data string + LogIndex *big.Int + Removed bool + Topics []string + TransactionHash string + TransactionIndex *big.Int + func (r *TransactionLogs) UnmarshalJSON(data []byte) error + type TransactionParameters struct + Data types.ComplexString + From string + Gas *big.Int + GasPrice *big.Int + Nonce *big.Int + To string + Value *big.Int + func (params *TransactionParameters) Transform() *RequestTransactionParameters + type TransactionReceipt struct + BlockHash string + BlockNumber *big.Int + ContractAddress string + CumulativeGasUsed *big.Int + From string + GasUsed *big.Int + Logs []TransactionLogs + LogsBloom string + Root string + Status bool + To string + TransactionHash string + TransactionIndex *big.Int + func (r *TransactionReceipt) UnmarshalJSON(data []byte) error