Documentation
¶
Index ¶
- func RegisterHandlers(mux *http.ServeMux, h *Handler)
- type GetAddressesResponse
- type GetBalanceResponse
- type GetHistoryResponse
- type GetIncomeByTxResponse
- type GetIncomeResponse
- type Handler
- type ResolveResponse
- type ServiceJettonWithdrawalRequest
- type ServiceTonWithdrawalRequest
- type WalletAddress
- type WithdrawalRequest
- type WithdrawalResponse
- type WithdrawalStatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
Types ¶
type GetAddressesResponse ¶
type GetAddressesResponse struct {
Addresses []WalletAddress `json:"addresses"`
}
type GetBalanceResponse ¶
type GetHistoryResponse ¶
type GetHistoryResponse struct {
Incomes []income `json:"incomes"`
}
type GetIncomeByTxResponse ¶ added in v0.5.0
type GetIncomeByTxResponse struct {
Currency string `json:"currency"`
Income income `json:"income"`
}
type GetIncomeResponse ¶
type GetIncomeResponse struct {
Side string `json:"counting_side"`
TotalIncomes []totalIncome `json:"total_income"`
}
type ResolveResponse ¶ added in v0.5.0
type ResolveResponse struct {
Address string `json:"address"`
}
type ServiceTonWithdrawalRequest ¶
type ServiceTonWithdrawalRequest struct {
From string `json:"from"`
}
type WalletAddress ¶
type WithdrawalRequest ¶
type WithdrawalResponse ¶
type WithdrawalResponse struct {
ID int64 `json:"ID"`
}
type WithdrawalStatusResponse ¶
type WithdrawalStatusResponse struct {
UserID string `json:"user_id"`
QueryID string `json:"query_id"`
Status core.WithdrawalStatus `json:"status"`
TxHash string `json:"tx_hash,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.