getTransactionObjectsByHash

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0, BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PLUGIN = node.NewPlugin("WebAPI getTransactionObjectsByHash Endpoint", node.Enabled, configure)

Functions

This section is empty.

Types

type Request

type Request struct {
	Hashes []string `json:"hashes"`
}

type Response

type Response struct {
	Transactions []Transaction `json:"transaction,omitempty"`
	Error        string        `json:"error,omitempty"`
}

type Transaction

type Transaction struct {
	Hash                     trinary.Trytes `json:"hash,omitempty"`
	WeightMagnitude          int            `json:"weightMagnitude,omitempty"`
	TrunkTransactionHash     trinary.Trytes `json:"trunkTransactionHash,omitempty"`
	BranchTransactionHash    trinary.Trytes `json:"branchTransactionHash,omitempty"`
	Head                     bool           `json:"head,omitempty"`
	Tail                     bool           `json:"tail,omitempty"`
	Nonce                    trinary.Trytes `json:"nonce,omitempty"`
	Address                  trinary.Trytes `json:"address,omitempty"`
	Value                    int64          `json:"value,omitempty"`
	Timestamp                uint           `json:"timestamp,omitempty"`
	SignatureMessageFragment trinary.Trytes `json:"signatureMessageFragment,omitempty"`
}

Jump to

Keyboard shortcuts

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