requests

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildPermitHashRequest

func NewBuildPermitHashRequest(r *http.Request) (req resources.BuildPermitHashRequest, err error)

func NewCreateAirdrop

func NewCreateAirdrop(r *http.Request) (req resources.CreateAirdropRequest, err error)

func NewGetAirdrop

func NewGetAirdrop(r *http.Request) (nullifier string, err error)

func NewTransferERC20Token

func NewTransferERC20Token(r *http.Request) (req resources.TransferErc20TokenRequest, err error)

func UnixTimestampRule

func UnixTimestampRule(value interface{}) error

func VerifyPermitSignature

func VerifyPermitSignature(r *http.Request, attrs resources.TransferErc20TokenAttributes) error

Types

type GetUserBalanceRequest added in v0.2.1

type GetUserBalanceRequest struct {
	Address common.Address `url:"address"`
}

func NewGetBalanceRequest added in v0.2.1

func NewGetBalanceRequest(r *http.Request) (GetUserBalanceRequest, error)

Jump to

Keyboard shortcuts

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