wallet/pkg/rest/account_v1.go
Anton Nesterov 1382da92a3
[init]
2024-08-31 16:46:20 +02:00

18 lines
405 B
Go

package rest
import (
store "git.pspay.io/crypto-stories/custodial/pkg/store"
gin "github.com/gin-gonic/gin"
)
func AccountRestV1(r *gin.RouterGroup) {
store.Init()
r.POST("/balance", AccountBalanceV1)
r.POST("/hd/balance", AccountHDBalanceV1)
r.POST("/create", CreateAccountV1)
r.GET("/spender-status", AccountSpenderStatusV1)
r.GET("/count", AccountCountV1)
r.POST("/list", AccountListV1)
}