Bingex.Swap.GetQuotesData (Bingex v0.1.7)

Parses and structures quote data for BingX swaps.

Converts raw API response data into a list of Bingex.Swap.QuoteInfo structs and embeds the parsed data into a Bingex.API.Reply.

Summary

Types

t()

@type t() :: %Bingex.Swap.GetQuotesData{quotes: [Bingex.Swap.QuoteInfo.t()]}

Functions

decode(arg1)

@spec decode(any()) :: {:ok, t()} | :error

embed_in_reply(reply)

@spec embed_in_reply(Bingex.API.Reply.t()) :: Bingex.API.Reply.t(t())