algorand

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_txproto_algorand_algorand_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SigningInput

type SigningInput struct {

	// Genesis hash of the network (32 bytes, mainnet or testnet).
	GenesisHash []byte `protobuf:"bytes,1,opt,name=genesis_hash,json=genesisHash,proto3" json:"genesis_hash,omitempty"`
	// Genesis ID string, e.g. "mainnet-v1.0". Optional; omitted from msgpack if empty.
	GenesisId string `protobuf:"bytes,2,opt,name=genesis_id,json=genesisId,proto3" json:"genesis_id,omitempty"`
	// First valid round.
	FirstValid uint64 `protobuf:"varint,3,opt,name=first_valid,json=firstValid,proto3" json:"first_valid,omitempty"`
	// Last valid round.
	LastValid uint64 `protobuf:"varint,4,opt,name=last_valid,json=lastValid,proto3" json:"last_valid,omitempty"`
	// Optional note field (up to 1024 bytes). Omitted from msgpack if empty.
	Note []byte `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	// Recipient public key (32 raw bytes, not the base32 address).
	To []byte `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
	// Amount in microAlgos.
	Amount uint64 `protobuf:"varint,7,opt,name=amount,proto3" json:"amount,omitempty"`
	// Fee in microAlgos.
	Fee uint64 `protobuf:"varint,8,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

SigningInput mirrors a minimal subset of TW.Algorand.Proto.SigningInput, restricted to payment (type "pay") transactions.

func (*SigningInput) Descriptor deprecated

func (*SigningInput) Descriptor() ([]byte, []int)

Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.

func (*SigningInput) GetAmount

func (x *SigningInput) GetAmount() uint64

func (*SigningInput) GetFee

func (x *SigningInput) GetFee() uint64

func (*SigningInput) GetFirstValid

func (x *SigningInput) GetFirstValid() uint64

func (*SigningInput) GetGenesisHash

func (x *SigningInput) GetGenesisHash() []byte

func (*SigningInput) GetGenesisId

func (x *SigningInput) GetGenesisId() string

func (*SigningInput) GetLastValid

func (x *SigningInput) GetLastValid() uint64

func (*SigningInput) GetNote

func (x *SigningInput) GetNote() []byte

func (*SigningInput) GetTo

func (x *SigningInput) GetTo() []byte

func (*SigningInput) ProtoMessage

func (*SigningInput) ProtoMessage()

func (*SigningInput) ProtoReflect

func (x *SigningInput) ProtoReflect() protoreflect.Message

func (*SigningInput) Reset

func (x *SigningInput) Reset()

func (*SigningInput) String

func (x *SigningInput) String() string

type SigningOutput

type SigningOutput struct {

	// Canonical msgpack encoding of the signed transaction.
	Encoded []byte `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"`
	// Hex of encoded.
	EncodedHex string `protobuf:"bytes,2,opt,name=encoded_hex,json=encodedHex,proto3" json:"encoded_hex,omitempty"`
	// Error message; empty on success.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

SigningOutput mirrors a minimal subset of TW.Algorand.Proto.SigningOutput.

func (*SigningOutput) Descriptor deprecated

func (*SigningOutput) Descriptor() ([]byte, []int)

Deprecated: Use SigningOutput.ProtoReflect.Descriptor instead.

func (*SigningOutput) GetEncoded

func (x *SigningOutput) GetEncoded() []byte

func (*SigningOutput) GetEncodedHex

func (x *SigningOutput) GetEncodedHex() string

func (*SigningOutput) GetError

func (x *SigningOutput) GetError() string

func (*SigningOutput) ProtoMessage

func (*SigningOutput) ProtoMessage()

func (*SigningOutput) ProtoReflect

func (x *SigningOutput) ProtoReflect() protoreflect.Message

func (*SigningOutput) Reset

func (x *SigningOutput) Reset()

func (*SigningOutput) String

func (x *SigningOutput) String() string

Jump to

Keyboard shortcuts

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