transaction

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetByHeightHttpHandler

func NewGetByHeightHttpHandler(c *client.Client, syncablesDb store.Syncables) *getByHeightHttpHandler

func NewGetByHeightUseCase

func NewGetByHeightUseCase(c *client.Client, syncablesDb store.Syncables) *getByHeightUseCase

Types

type ListView

type ListView struct {
	Items []TransactionListItem `json:"items"`
}

swagger:response TransactionsView

func ToListView

func ToListView(rawTransactions []*transactionpb.Transaction) *ListView

type Request

type Request struct {
	// Height
	//
	// in: query
	Height *int64 `json:"height" form:"height" binding:"-"`
}

swagger:parameters getTransactions

type TransactionListItem added in v0.8.3

type TransactionListItem struct {
	Signature  string `json:"signature"`
	PublicKey  string `json:"public_key"`
	Nonce      int64  `json:"nonce"`
	Method     string `json:"method"`
	Section    string `json:"section"`
	Args       string `json:"args"`
	IsSuccess  bool   `json:"is_success"`
	PartialFee string `json:"partial_fee"`
	Tip        string `json:"tip"`
}

Jump to

Keyboard shortcuts

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