transaction

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(router *gin.RouterGroup)

Routes defines transaction related routes

func SendTransaction

func SendTransaction(c *gin.Context)

SendTransaction will receive a transaction from the client and propagate it for processing

Types

type FacadeHandler

type FacadeHandler interface {
	SendTransaction(nonce uint64, sender string, receiver string, value *big.Int, code string, signature []byte) (string, error)
}

FacadeHandler interface defines methods that can be used from `numbatProxyFacade` context variable

Jump to

Keyboard shortcuts

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