package
0.0.0-20210203100110-2c3f891d014e
Repository: https://github.com/pocblockchain/pocc.git
Documentation: pkg.go.dev
# Functions
BroadcastTxRequest implements a tx broadcasting handler that is responsible for broadcasting a valid and signed tx to a full node.
EncodeTxRequestHandlerFn returns the encode tx REST handler.
query accountREST Handler.
QueryTxRequestHandlerFn implements a REST handler that queries a transaction by hash in a committed block.
QueryTxsHandlerFn implements a REST handler that searches for transactions.
RegisterRoutes registers the auth module REST routes.
RegisterTxRoutes registers all transaction routes on the provided router.
# Structs
BroadcastReq defines a tx broadcasting request.
EncodeResp defines a tx encoding response.