GetPumpFunAMMSwapsStream

This channel provides information on any Pump.fun AMM swaps events.

Subscribe

Method

GetPumpFunAMMSwapsStream

Parameters:

Parameter
Type
Description

pools

repeated string

A list of pool addresses to track swap events.

Subscribe sample:

wscat -H "Authorization:$AUTH_HEADER" -c wss://pump-ny.solana.dex.blxrbdn.com/ws --wait 1000  --execute ' {"jsonrpc": "2.0", "id": 1, "method": "subscribe", "params": ["GetPumpFunAMMSwapStream", {"pools": ["6WwcmiRJFPDNdFmtgVQ8eY1zxMzLKGLrYuUtRy4iZmye"]}] }]}'

Event Result Details:

Field
Type
Description

slot

int64

The slot number

pool

string

Pool address.

user

string

Swap transaction owner's address.

isBuy

boolean

Identify if the transaction is a token purchase transaction.

quoteMint

string

The quote token address.

baseMint

string

The base token address.

inAmount

unit64

In-token amount in this swap transaction. Unit is based on token decimal.

outAmount

unit64

Out-token amount in this swap transaction. Unit is based on token decimal.

txHash

string

Transaction signature.

timestamp

google.protobuf.Timestamp

Time stamp of the event.

Sample event:

Last updated