Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ACCESS_TOKEN string API_BASE_URL string )
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Id string `json:"id"` Attributes struct { Name string `json:"name"` Type string `json:"type"` IsActive bool `json:"active"` CurrentBalance float32 `json:"current_balance"` } `json:"attributes"` }
func GetAllAssetAccounts ¶
func GetAllAssetAccounts() []Account
func GetAssetAccount ¶
type ListAccount ¶
type ListAccount struct {
Accounts []Account `json:"data"`
}
type ListTransaction ¶
type ListTransaction struct { ParentTransactions []ParentTransaction `json:"data"` Meta Meta `json:"meta"` }
func FetchTransactions ¶
func FetchTransactions(accountId string, pageNumber int, start string, end string) ListTransaction
type ParentTransaction ¶
type ParentTransaction struct { Id string `json:"id"` Attributes struct { CreatedOn string `json:"name"` UpdateOn string `json:"type"` Transactions []Transaction `json:"transactions"` } `json:"attributes"` }
func GetAllTransactions ¶
Click to show internal directories.
Click to hide internal directories.