assetPlatforms

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithFilter

func WithFilter(filter string) assetPlatformsOption

WithFilter returns an assetPlatformsOption that sets the filter parameter for asset platform requests. The filter parameter can be used to filter asset platforms by name or ID. Current supported filters: [nft]

Types

type AssetPlatformsClient

type AssetPlatformsClient struct {
	*internal.Client
}

func NewClient

func NewClient(c *geckohttp.Client, url string) *AssetPlatformsClient

func (*AssetPlatformsClient) AssetPlatforms

func (c *AssetPlatformsClient) AssetPlatforms(ctx context.Context, opts ...assetPlatformsOption) (*types.AssetPlatforms, error)

AssetPlatforms allows you to query all the asset platforms on CoinGecko.

👍 Tips

    You may use this endpoint to query the list of asset platforms for other endpoints that contain params like id orids(asset platforms)
    You may include NFT at the filter params to get the list of NFT-support asset platforms on CoinGecko

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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