BroadcastTxRequest implements a tx broadcasting handler that is responsible for broadcasting a valid and signed tx to a full node. The tx can be broadcasted via a sync|async|block mechanism.
EncodeTxRequestHandlerFn returns the encode tx REST handler. In particular, it takes a json-formatted transaction, encodes it to the Amino wire protocol, and responds with base64-encoded bytes.
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. Genesis transactions are returned if the height parameter is set to zero, otherwise the transactions are searched for by events.
RegisterRoutes registers the auth module REST routes.
RegisterTxRoutes registers all transaction routes on the provided router.
BroadcastReq defines a tx broadcasting request.
EncodeResp defines a tx encoding response.