token

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 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 CustomFees

type CustomFees struct {
	CreatedTimestamp string       `json:"created_timestamp"`
	RoyaltyFees      []RoyaltyFee `json:"royalty_fees"`
}

type FixedFee

type FixedFee struct {
	Amount              int64   `json:"amount"`
	DenominatingTokenId *string `json:"denominating_token_id"`
}

type Fraction

type Fraction struct {
	Numerator   int64 `json:"numerator"`
	Denominator int64 `json:"denominator"`
}

type NetworkSupplyResponse

type NetworkSupplyResponse struct {
	ReleasedSupply string `json:"released_supply"`
	Timestamp      string `json:"timestamp"`
	TotalSupply    string `json:"total_supply"`
}

type RoyaltyFee

type RoyaltyFee struct {
	Amount             Fraction `json:"amount"`
	FallbackFee        FixedFee `json:"fallback_fee"`
	CollectorAccountID string   `json:"collector_account_id"`
}

type TokenResponse

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"`
}

Jump to

Keyboard shortcuts

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