pumfun

package
v0.0.0-...-81db2af Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseUrl string
}

func (*Client) GetPumpFunCoinInfo

func (e *Client) GetPumpFunCoinInfo(mint string) (*PumpFunCoinInfoResp, error)

func (*Client) GetPumpFunTrades

func (e *Client) GetPumpFunTrades(mint string, page int, limit int) ([]*PumpFunTradeResp, error)

type PumpFunCoinInfoResp

type PumpFunCoinInfoResp struct {
	Mint         string  `json:"mint"`
	Name         string  `json:"name"`
	Symbol       string  `json:"symbol"`
	TotalSupply  int64   `json:"total_supply"`
	UsdMarketCap float64 `json:"usd_market_cap"`
	RaydiumPool  string  `json:"raydium_pool"`
}

type PumpFunTradeResp

type PumpFunTradeResp struct {
	Signature   string `json:"signature"`
	Mint        string `json:"mint"`
	SolAmount   int64  `json:"sol_amount"`
	TokenAmount int64  `json:"token_amount"`
	IsBuy       bool   `json:"is_buy"`
	Timestamp   int64  `json:"timestamp"`
}

Jump to

Keyboard shortcuts

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