func NewRequest(
	height int64,
	consumer string,
	txHash string,
	oracle bool,
	serviceFeeCap sdk.Coins,
	serviceContextID string,
) Request {
	return Request{
		Height:           height,
		Consumer:         consumer,
		TxHash:           txHash,
		Oracle:           oracle,
		ServiceFeeCap:    serviceFeeCap,
		ServiceContextID: serviceContextID,
	}
}
NewRequest constructs a new Request instance
package types
import (
	"encoding/hex"
	"fmt"
	sdk "github.com/cosmos/cosmos-sdk/types"
	sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
)