Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalancesService ¶
type BalancesService interface { ListPortfolioBalances(ctx context.Context, request *ListPortfolioBalancesRequest) (*ListPortfolioBalancesResponse, error) GetWalletBalance(ctx context.Context, request *GetWalletBalanceRequest) (*GetWalletBalanceResponse, error) ListOnchainWalletBalances(ctx context.Context, request *ListOnchainWalletBalancesRequest) (*ListOnchainWalletBalancesResponse, error) }
func NewBalancesService ¶
func NewBalancesService(c client.RestClient) BalancesService
type GetWalletBalanceRequest ¶
type GetWalletBalanceResponse ¶
type GetWalletBalanceResponse struct { Balance *model.Balance `json:"balance"` Request *GetWalletBalanceRequest }
type ListOnchainWalletBalancesRequest ¶
type ListOnchainWalletBalancesRequest struct { PortfolioId string `json:"portfolio_id"` WalletId string `json:"wallet_id"` VisiblilityStatuses []string `json:"visibility_statuses"` Pagination *model.PaginationParams `json:"pagination_params"` }
type ListOnchainWalletBalancesResponse ¶
type ListOnchainWalletBalancesResponse struct { Balances []*model.Balance `json:"balances"` Type string `json:"type"` TradingWalletBalances *model.BalanceWithHolds `json:"trading_balances"` VaultWalletBalances *model.BalanceWithHolds `json:"vault_balances"` Request *ListOnchainWalletBalancesRequest `json:"request"` }
type ListPortfolioBalancesResponse ¶
type ListPortfolioBalancesResponse struct { Balances []*model.Balance `json:"balances"` Type string `json:"type"` TradingWalletBalances *model.BalanceWithHolds `json:"trading_balances"` VaultWalletBalances *model.BalanceWithHolds `json:"vault_balances"` Request *ListPortfolioBalancesRequest `json:"request"` }
Click to show internal directories.
Click to hide internal directories.