Versions in this module Expand all Collapse all v1 v1.0.5 Jan 22, 2020 Changes in this version + var Routes = map[string]*rpcserver.RPCFunc + func Addresses(addresses []types.Address, height int) (*[]AddressesResponse, error) + func Candidates(height int, includeStakes bool) (*[]CandidateResponse, error) + func Genesis() (*core_types.ResultGenesis, error) + func GetStateForHeight(height int) (*state.StateDB, error) + func Handler(h http.Handler) http.Handler + func MaxGas(height int) (*uint64, error) + func MinGasPrice() (uint64, error) + func NetInfo() (*core_types.ResultNetInfo, error) + func RegisterCryptoAmino(cdc *amino.Codec) + func RegisterEvidenceMessages(cdc *amino.Codec) + func RunAPI(b *minter.Blockchain, tmRPC *rpc.Local, cfg *config.Config) + func SendTransaction(tx []byte) (*core_types.ResultBroadcastTx, error) + func Transactions(query string, page, perPage int) (*[]TransactionResponse, error) + func UnconfirmedTxs(limit int) (*core_types.ResultUnconfirmedTxs, error) + type AddressResponse struct + Balance map[string]*big.Int + TransactionCount uint64 + func Address(address types.Address, height int) (*AddressResponse, error) + type AddressesResponse struct + Address types.Address + Balance map[string]*big.Int + TransactionCount uint64 + type BlockResponse struct + BlockReward *big.Int + Evidence types2.EvidenceData + Hash string + Height int64 + NumTxs int64 + Proposer types.Pubkey + Size int + Time time.Time + TotalTxs int64 + Transactions []BlockTransactionResponse + Validators []BlockValidatorResponse + func Block(height int64) (*BlockResponse, error) + type BlockTransactionResponse struct + Code uint32 + Data json.RawMessage + From string + Gas int64 + GasCoin types.CoinSymbol + GasPrice uint32 + Hash string + Log string + Nonce uint64 + Payload []byte + RawTx string + ServiceData []byte + Tags map[string]string + Type transaction.TxType + type BlockValidatorResponse struct + Pubkey string + Signed bool + type CandidateResponse struct + Commission uint + CreatedAtBlock uint + OwnerAddress types.Address + PubKey types.Pubkey + RewardAddress types.Address + Stakes []Stake + Status byte + TotalStake *big.Int + func Candidate(pubkey []byte, height int) (*CandidateResponse, error) + type CoinInfoResponse struct + Crr uint + Name string + ReserveBalance *big.Int + Symbol types.CoinSymbol + Volume *big.Int + func CoinInfo(coinSymbol string, height int) (*CoinInfoResponse, error) + type EstimateCoinBuyResponse struct + Commission *big.Int + WillPay *big.Int + func EstimateCoinBuy(coinToSellString string, coinToBuyString string, valueToBuy *big.Int, ...) (*EstimateCoinBuyResponse, error) + type EstimateCoinSellAllResponse struct + WillGet *big.Int + func EstimateCoinSellAll(coinToSellString string, coinToBuyString string, valueToSell *big.Int, ...) (*EstimateCoinSellAllResponse, error) + type EstimateCoinSellResponse struct + Commission *big.Int + WillGet *big.Int + func EstimateCoinSell(coinToSellString string, coinToBuyString string, valueToSell *big.Int, ...) (*EstimateCoinSellResponse, error) + type EventsResponse struct + Events events.Events + func Events(height uint64) (*EventsResponse, error) + type MissedBlocksResponse struct + MissedBlocks *types.BitArray + MissedBlocksCount int + func MissedBlocks(pubkey []byte, height int) (*MissedBlocksResponse, error) + type Response struct + Code uint32 + Log string + Result interface{} + type ResponseValidators []ValidatorResponse + func Validators(height uint64) (*ResponseValidators, error) + type ResultTxSearch struct + TotalCount int + Txs []*core_types.ResultTx + type Stake struct + BipValue string + Coin types.CoinSymbol + Owner types.Address + Value string + type StatusResponse struct + LatestAppHash string + LatestBlockHash string + LatestBlockHeight int64 + LatestBlockTime time.Time + MinterVersion string + StateHistory string + TmStatus *core_types.ResultStatus + func Status() (*StatusResponse, error) + type TransactionResponse struct + Code uint32 + Data json.RawMessage + From string + Gas int64 + GasCoin types.CoinSymbol + GasPrice uint32 + Hash common.HexBytes + Height int64 + Index uint32 + Log string + Nonce uint64 + Payload []byte + RawTx string + Tags map[string]string + Type transaction.TxType + func Transaction(hash []byte) (*TransactionResponse, error) + type TxCommissionResponse struct + Commission *big.Int + func EstimateTxCommission(tx []byte, height int) (*TxCommissionResponse, error) + type ValidatorResponse struct + Pubkey types.Pubkey + VotingPower int64