controllers

package
v0.0.0-...-fa2bc5f Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: ISC Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlockByHashHandler

func GetBlockByHashHandler(blockHash string) (interface{}, error)

GetBlockByHashHandler returns a block by a given hash.

func GetBlockCountHandler

func GetBlockCountHandler() (interface{}, error)

GetBlockCountHandler returns the total number of blocks.

func GetBlocksHandler

func GetBlocksHandler(orderString string, skip, limit int64) (interface{}, error)

GetBlocksHandler searches for all blocks

func GetFeeEstimatesHandler

func GetFeeEstimatesHandler() (interface{}, error)

GetFeeEstimatesHandler returns the fee estimates for different priorities for accepting a transaction in the DAG.

func GetTransactionByHashHandler

func GetTransactionByHashHandler(txHash string) (interface{}, error)

GetTransactionByHashHandler returns a transaction by a given transaction hash.

func GetTransactionByIDHandler

func GetTransactionByIDHandler(txID string) (interface{}, error)

GetTransactionByIDHandler returns a transaction by a given transaction ID.

func GetTransactionCountByAddressHandler

func GetTransactionCountByAddressHandler(address string) (interface{}, error)

GetTransactionCountByAddressHandler returns the total number of transactions by address.

func GetTransactionDoubleSpends

func GetTransactionDoubleSpends(txID string) (interface{}, error)

GetTransactionDoubleSpends returns array of transactions that spend at least one of the same inputs as the given transaction

func GetTransactionsByAddressHandler

func GetTransactionsByAddressHandler(address string, skip, limit int64) (interface{}, error)

GetTransactionsByAddressHandler searches for all transactions where the given address is either an input or an output.

func GetTransactionsByBlockHashHandler

func GetTransactionsByBlockHashHandler(blockHash string) (interface{}, error)

GetTransactionsByBlockHashHandler retrieves all transactions included by the block with the given blockHash.

func GetUTXOsByAddressHandler

func GetUTXOsByAddressHandler(address string) (interface{}, error)

GetUTXOsByAddressHandler searches for all UTXOs that belong to a certain address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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