Bingex.Swap.GetBalanceData (Bingex v0.1.7)
Parses and structures balance data for BingX swap accounts.
This module extracts asset balance information from API responses,
converting raw data into a structured format using Bingex.Swap.Models.BalanceInfo
.
It also provides a utility to embed the parsed data into a Bingex.API.Reply
.
Summary
Types
@type t() :: %Bingex.Swap.GetBalanceData{assets: [Bingex.Swap.Models.BalanceInfo.t()]}
Functions
@spec embed_in_reply(Bingex.API.Reply.t()) :: Bingex.API.Reply.t(t())