kaspad/apiserver/controllers/feeestimate.go

16 lines
366 B
Go

package controllers
import (
"github.com/daglabs/btcd/apiserver/apimodels"
)
// GetFeeEstimatesHandler returns the fee estimates for different priorities
// for accepting a transaction in the DAG.
func GetFeeEstimatesHandler() (interface{}, error) {
return &apimodels.FeeEstimateResponse{
HighPriority: 3,
NormalPriority: 2,
LowPriority: 1,
}, nil
}