account

package
v0.0.0-...-b6c1db7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Provide Account related endpoints and fetch functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountWithDetails

func AccountWithDetails(address string, blockNumber *big.Int) *types.Account

AccountWithDetails prepares Account object for a given address with its details at a given block height

func AccountWithHistoricalDetails

func AccountWithHistoricalDetails(accountID string, Db *sql.DB) ([]*types.DatedAccount, error)

func BalancesData

func BalancesData(rc *rpc.Client) types.Handler

BalancesData requests data for a specific account

func GetTransactions

func GetTransactions(db *sql.DB, address string, uptoBlockNumber *big.Int, limit int, page int, sourceFilterQuery string) []*blockshot.TransactionDetailed

func SnapshotsData

func SnapshotsData(Db *sql.DB) types.Handler

SnapshotsData returns data for a specific account at all snapshot points

func TransactionsData

func TransactionsData(db *sql.DB, rc *rpc.Client) types.Handler

TransactionsData returns transactions data for a specific account

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL