Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hedera ¶ added in v1.4.0
type Hedera struct { AccountID hedera.AccountID Amount int64 }
Hedera is used as a data transfer struct between packages
type PagedRequest ¶ added in v1.4.0
type Transfer ¶
type Transfer struct { TransactionId string `json:"transactionId"` SourceChainId uint64 `json:"sourceChainId"` TargetChainId uint64 `json:"targetChainId"` NativeChainId uint64 `json:"nativeChainId"` SourceAsset string `json:"sourceAsset"` TargetAsset string `json:"targetAsset"` NativeAsset string `json:"nativeAsset"` Receiver string `json:"receiver"` Amount string `json:"amount,omitempty"` SerialNum int64 `json:"serialNum,omitempty"` Metadata string `json:"metadata,omitempty"` IsNft bool `json:"isNft"` Originator string `json:"originator"` Timestamp time.Time `json:"timestamp"` Fee string `json:"fee,omitempty"` Status string `json:"status"` }
Transfer serves as a data transfer object and response model
Click to show internal directories.
Click to hide internal directories.