Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EIAddress ¶
type EIAddress struct { // coreTypes.AddressIndex Address string `json:"address"` TxHash string `json:"txHash"` Value *big.Int `json:"value"` Time string `json:"time"` // BlockNumber *big.Int `json:"blockNumber"` CoupleAddress string `json:"coupleAddress"` Data []byte `json:"data"` Gas uint64 `json:"gas"` GasPrice *big.Int `json:"gasPrice"` }
EIAddress response for getTransactionsByAccount api
func AddressToEIAddress ¶
func AddressToEIAddress(address types.AddressIndex) EIAddress
AddressToEIAddress business data type to EI data type
type EIBatchStatus ¶
type EIBatchStatus struct { From *big.Int `json:"from"` To *big.Int `json:"to"` Step byte `json:"Step"` Current string `json:"current"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
EIBatchStatus batch status
type EIBlocks ¶
type EIBlocks struct { Total int `json:"numFound"` Start int `json:"start"` Indexes []coreTypes.BlockIndex `json:"data"` }
EIBlocks list of blocks to return to frontend
type EITotalTransaction ¶ added in v1.0.0
type EITotalTransaction struct {
Total int `json:"numFound"`
}
EITotalTransaction total transaction of an account
type EITransactionsByAccount ¶
type EITransactionsByAccount struct { Total string `json:"numFound"` Start int `json:"start"` Indexes []EIAddress `json:"data"` }
EITransactionsByAccount response for getTransactionsByAccount api
Click to show internal directories.
Click to hide internal directories.