Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Payment ¶ added in v1.0.0
type Payment struct { ID string `json:"id"` Type string `json:"type"` PagingToken string `json:"paging_token"` Links struct { Effects struct { Href string `json:"href"` } `json:"effects"` Transaction struct { Href string `json:"href"` } `json:"transaction"` } `json:"_links"` SourceAccount string `json:"source_account"` CreatedAt string `json:"created_at"` // create_account and account_merge field Account string `json:"account"` // create_account fields Funder string `json:"funder"` StartingBalance string `json:"starting_balance"` // account_merge fields Into string `json:"into"` // payment/path_payment fields From string `json:"from"` To string `json:"to"` AssetType string `json:"asset_type"` AssetCode string `json:"asset_code"` AssetIssuer string `json:"asset_issuer"` Amount string `json:"amount"` // transaction fields TransactionHash string `json:"transaction_hash"` Memo struct { Type string `json:"memo_type"` Value string `json:"memo"` } }
Payment model returned by Horizon
type PaymentsPage ¶ added in v1.0.0
type PaymentsPage struct { Embedded struct { Records []Payment } `json:"_embedded"` }
PaymentsPage of payments returned by Horizon
type Platform ¶ added in v1.0.0
func (*Platform) RegisterRoutes ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.