Stream Swaps
This channel provides recent swap transactions specified by the pools. It will tick every time there were updates in the targeted pools.
Last updated
This channel provides recent swap transactions specified by the pools. It will tick every time there were updates in the targeted pools.
Last updated
Parameter | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
pools
array
Specify which pool(s) to fetch.
includeFailed
boolean
OPTIONAL. Specify if return any failed swap transaction. true
or false
slot
string
The slot number.
swap
string
See swap
below for details.
success
boolean
If the transaction is a successful.
project
string
Which project this pool belong to.
poolAddress
string
Program address of the pool.
inToken
string
Base token symbol of the pool.
inTokenAddress
string
Base token program address of the pool.
outToken
string
Quote token symbol of the pool.
outTokenAddress
string
Quote token program address of the pool.
inAmount
number
Amount of the swap-in token.
outAmount
number
Amount of the swap-out token.
soureceAccount
string
The source account address where the swap-in token coming from.
destinationAccount
string
The destination account address where the swap-out token coming from.
ownerAaccount
string
The owner address of this swap transaction.
signature
string
Signature of the swap transaction.