user

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addresses added in v0.0.10

type Addresses struct {
	Address []string `json:"address"`
	Tag     []string `json:"tag"`
	Network []string `json:"network"`
}

type Limit

type Limit struct {
	Available string `json:"available"`
	Capacity  string `json:"capacity"`
}

type Limits

type Limits struct {
	Btc  Limit `json:"btc"`
	Btg  Limit `json:"btg"`
	Cpy  Limit `json:"cpy"`
	Elec Limit `json:"elec"`
	Eth  Limit `json:"eth"`
	Etp  Limit `json:"etp"`
	Jfin Limit `json:"jfin"`
	Knc  Limit `json:"knc"`
	Ltc  Limit `json:"ltc"`
	Neo  Limit `json:"neo"`
	Omg  Limit `json:"omg"`
	Powr Limit `json:"powr"`
	Rpx  Limit `json:"rpx"`
	Thb  Limit `json:"thb"`
	Usdt Limit `json:"usdt"`
	Wax  Limit `json:"wax"`
	Xlm  Limit `json:"xlm"`
	Xrp  Limit `json:"xrp"`
	Xzc  Limit `json:"xzc"`
}

type UserAccount

type UserAccount struct {
	ID                        int64   `json:"id"`
	IdentityVerificationLevel string  `json:"identity_verification_level"`
	UserWallets               Wallets `json:"wallets"`
	UserLimits                Limits  `json:"limits"`
}

func Get

func Get(c client.Client) (*UserAccount, error)

type WalletCoin

type WalletCoin struct {
	Addresses        Addresses `json:"addresses"`
	AvailableBalance string    `json:"available_balance"`
	TotalBalance     string    `json:"total_balance"`
}

type Wallets

type Wallets struct {
	Btc   WalletCoin `json:"btc"`
	Btg   WalletCoin `json:"btg"`
	Btt   WalletCoin `json:"btt"`
	Busd  WalletCoin `json:"busd"`
	Cake  WalletCoin `json:"cake"`
	Celr  WalletCoin `json:"celr"`
	Chz   WalletCoin `json:"chz"`
	Cocos WalletCoin `json:"cocos"`
	Cos   WalletCoin `json:"cos"`
	Cpy   WalletCoin `json:"cpy"`
	Ctxc  WalletCoin `json:"ctxc"`
	Cvc   WalletCoin `json:"cvc"`
	Dai   WalletCoin `json:"dai"`
	Dash  WalletCoin `json:"dash"`
	Doge  WalletCoin `json:"doge"`
	Dot   WalletCoin `json:"dot"`
	Dusk  WalletCoin `json:"dusk"`
	Dydx  WalletCoin `json:"dydx"`
	Elec  WalletCoin `json:"elec"`
	Enj   WalletCoin `json:"enj"`
	Eos   WalletCoin `json:"eos"`
	Erd   WalletCoin `json:"erd"`
	Etc   WalletCoin `json:"etc"`
	Eth   WalletCoin `json:"eth"`
	Etp   WalletCoin `json:"etp"`
	Jfin  WalletCoin `json:"jfin"`
	Knc   WalletCoin `json:"knc"`
	Ltc   WalletCoin `json:"ltc"`
	Neo   WalletCoin `json:"neo"`
	Omg   WalletCoin `json:"omg"`
	Powr  WalletCoin `json:"powr"`
	Rpx   WalletCoin `json:"rpx"`
	Thb   WalletCoin `json:"thb"`
	Usdt  WalletCoin `json:"usdt"`
	Wax   WalletCoin `json:"wax"`
	Xlm   WalletCoin `json:"xlm"`
	Xrp   WalletCoin `json:"xrp"`
	Xzc   WalletCoin `json:"xzc"`
}

Jump to

Keyboard shortcuts

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