list
Overview
The /tx/list
API provides a list of transactions on WEMIX.Fi, filtered by type (total, swap, deposit, withdrawal, etc.).
List of transactions
GET
/tx/list
Returns a list of transactions based on the specified transaction type and number.
Query Parameters
Name | Type | Description |
---|---|---|
type | string | Transaction type(i.e all, swap, pool, staking, etc.) |
amount* | number | Number of transactions |
skip* | number | Number of transaction information to skip in a single request |
order | string | Sort response by time in descending or ascending order |
Request
Parameter
Name | Type | Description |
---|---|---|
type | string | Transaction type(i.e all, swap, pool, staking, etc.) |
amount | number | Number of transactions |
skip | number | Number of transaction information to skip in a single request |
order | string | Sort response by time in descending or ascending order |
Response
Parameter
Name | Type | Description |
---|---|---|
type | string | success/failure status |
message | string | success/failure message |
data | - | - |
status | string | success/failure status of transaction |
name | string | Transaction type |
type | string | Transaction type(i.e all, swap, add, etc.) |
hash | string | Transaction hash |
timestamp | stinrg | Transaction timestamp |
block_number | number | Block number of transaction |
from | stinrg | Transaction constructor |
to | string | Contract interacting with the transaction |
lp_amount | number | Amount of LP tokens minted/burned |
amount | string | Amount of token0 or token1 from transaction |
price | number | Price of token0 and token1 |
address | string | Address of token0 and token1 |
symbol | string | Symbol of token0 and token1 |
decimal | number | Decimal of token0 and token1 |