Bingex.Swap.GetContractsData (Bingex v0.1.7)

Parses and structures contract data for BingX swap markets.

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

Summary

Types

t()

@type t() :: %Bingex.Swap.GetContractsData{contracts: [Bingex.Swap.ContractInfo.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())