hedera

package
v0.1.0-alpha-2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTokenID

func IsTokenID(tokenID string) bool

func ToMirrorNodeTransactionID

func ToMirrorNodeTransactionID(txId string) string

ToMirrorNodeTransactionID parses TX with format `0.0.X@{seconds}.{nanos}?scheduled` to format `0.0.X-{seconds}-{nanos}`

Types

type HederaTransactionID

type HederaTransactionID struct {
	AccountId string
	Seconds   string
	Nanos     string
}

func FromHederaTransactionID

func FromHederaTransactionID(id *hedera.TransactionID) HederaTransactionID

func (HederaTransactionID) String

func (txId HederaTransactionID) String() string

func (HederaTransactionID) Timestamp

func (txId HederaTransactionID) Timestamp() string

Jump to

Keyboard shortcuts

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