handler

package
v0.0.0-...-4fcfc0b Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

Types

type Block

type Block struct {
	Height uint64
	ID     string
	Time   time.Time
}

type Event

type Event struct {
	Fields map[string]interface{}
	Name   string
}

type Import

type Import struct {
	Name    string
	Address string
}

type KV

type KV struct {
	Key   string
	Value interface{}
}

type Transaction

type Transaction struct {
	Id              string
	Block           Block
	Events          []Event
	Error           string
	Fee             float64
	Status          string
	Arguments       []KV
	Authorizers     []string
	Stakeholders    map[string][]string
	Payer           string
	ProposalKey     flow.ProposalKey
	GasLimit        uint64
	GasUsed         uint64
	ExecutionEffort float64
	Body            string
	BodyHash        string
	Import          []Import
}

Jump to

Keyboard shortcuts

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