wallet/pkg/rest/account_v1.go

18 lines
405 B
Go
Raw Normal View History

2024-08-31 14:46:20 +00:00
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)
}