from django.urls import path
from .views import GetUserPublicKeyView, BlockchainUserFilterView, GetUserTypeView, update_blockchain_info,GetUserTx_HashReciptView
from django.views.generic import TemplateView

from . import views


urlpatterns = [
    path('get_users_public_key', GetUserPublicKeyView.as_view(), name='get_users_public_key'),
    path('blockchain-info', BlockchainUserFilterView.as_view(), name='blockchain_info'),
    path('get_user_type', GetUserTypeView.as_view(), name="get_user_type"),
    path('get_tx_hash', GetUserTx_HashReciptView.as_view(), name="get_tx_hash"),


    path("", TemplateView.as_view(template_name="blockchain_index.html"), name="blockchainwallet"),
    path("blockchain_info/", update_blockchain_info, name='blockchain_info'),

]