package
Version:
v1.5.3
Opens a new window with list of versions in this module.
Published: Feb 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CustomFees struct {
CreatedTimestamp string `json:"created_timestamp"`
RoyaltyFees []RoyaltyFee `json:"royalty_fees"`
}
type FixedFee struct {
Amount int64 `json:"amount"`
DenominatingTokenId *string `json:"denominating_token_id"`
}
type Fraction struct {
Numerator int64 `json:"numerator"`
Denominator int64 `json:"denominator"`
}
type NetworkSupplyResponse struct {
ReleasedSupply string `json:"released_supply"`
Timestamp string `json:"timestamp"`
TotalSupply string `json:"total_supply"`
}
type RoyaltyFee struct {
Amount Fraction `json:"amount"`
FallbackFee FixedFee `json:"fallback_fee"`
CollectorAccountID string `json:"collector_account_id"`
}
type TokenResponse struct {
TokenID string `json:"token_id"`
Name string `json:"name"`
Symbol string `json:"symbol"`
TotalSupply string `json:"total_supply"`
Decimals string `json:"decimals"`
CustomFees CustomFees `json:"custom_fees"`
TreasuryAccountId string `json:"treasury_account_id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.