Versions in this module Expand all Collapse all v0 v0.2.5 Apr 24, 2020 v0.2.4 Jan 13, 2020 v0.2.3 Dec 28, 2019 v0.2.2 Dec 23, 2019 v0.2.1 Dec 19, 2019 v0.2.0 Nov 8, 2019 v0.1.1 Sep 6, 2019 v0.1.0 Aug 23, 2019 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 *noah.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 + Coin types.CoinSymbol + NoahValue string + Owner types.Address + Value string + type StatusResponse struct + LatestAppHash string + LatestBlockHash string + LatestBlockHeight int64 + LatestBlockTime time.Time + NoahVersion 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