balances

package
v0.0.0-...-ff628f3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountBalance

type AccountBalance struct {
	Descriptor      string   `json:"descriptor,omitempty"`
	HoldingCurrency string   `json:"holding_currency,omitempty"`
	Balances        Balances `json:"balances,omitempty"`
}

QueryResponse

type Balances

type Balances struct {
	Pending    int64 `json:"pending,omitempty"`
	Available  int64 `json:"available,omitempty"`
	Payable    int64 `json:"payable,omitempty"`
	Collateral int64 `json:"collateral,omitempty"`
}

QueryResponse

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(configuration *configuration.Configuration, apiClient client.HttpClient) *Client

func (*Client) RetrieveEntityBalances

func (c *Client) RetrieveEntityBalances(entityId string, query QueryFilter) (*QueryResponse, error)

type QueryFilter

type QueryFilter struct {
	Query string `url:"query,omitempty"`
}

type QueryResponse

type QueryResponse struct {
	HttpMetadata common.HttpMetadata
	Data         []AccountBalance `json:"data,omitempty"`
}

QueryResponse

Jump to

Keyboard shortcuts

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