stablecoin

package
v0.0.0-...-6bcf364 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExchangeStableCoinResponse

type ExchangeStableCoinResponse struct {
	Status string `json:"status"`
	Data   *struct {
		TransactId     int64  `json:"transact-id"`
		Currency       string `json:"currency"`
		Amount         string `json:"amount"`
		Type           string `json:"type"`
		ExchangeAmount string `json:"exchange-amount"`
		ExchangeFee    string `json:"exchange-fee"`
		Time           string `json:"time"`
	}
	ErrorCode    string `json:"err-code"`
	ErrorMessage string `json:"err-msg"`
}

type GetExchangeRateResponse

type GetExchangeRateResponse struct {
	Status string `json:"status"`
	Data   *struct {
		Currency       string `json:"currency"`
		Amount         string `json:"amount"`
		Type           string `json:"type"`
		ExchangeAmount string `json:"exchangeAmount"`
		ExchangeFee    string `json:"exchangeFee"`
		QuoteId        string `json:"quoteId"`
		Expiration     string `json:"expiration"`
	}
	ErrorCode    string `json:"err-code"`
	ErrorMessage string `json:"err-msg"`
}

Jump to

Keyboard shortcuts

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