transfer_erc20

package
v0.0.0-...-7862fbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyRoutes

func ApplyRoutes(r *gin.RouterGroup)

ApplyRoutes applies router to gin Router

Types

type TransferPayload

type TransferPayload struct {
	TrasactionHash string
}

type TransferRequest

type TransferRequest struct {
	UserId          string `json:"userId" binding:"required"`
	To              string `json:"to" binding:"required"`
	Amount          int64  `json:"amount" binding:"required"`
	ContractAddress string `json:"contractAddress" binding:"required"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL