Get Account Transaction History

API Description

Retrieves account transaction history (deposits and withdrawals) for a specific address on a given chain. This endpoint provides detailed information about account deposit and withdrawal transactions including the amount, token information, transaction hash, and timestamp.

HTTP Request

GET /v4/public/mm/account/transaction-history

Request Parameters

Parameter
Type
Required
Description

chainId

uint64

Yes

Chain ID (e.g., 143 for Monad mainnet)

address

string

Yes

Trader wallet address (EVM address format)

page

uint32

No

Page number (default: 1)

size

uint32

No

Page size (default: 50, max: 100)

startTime

int64

No

Start time in Unix timestamp (seconds)

endTime

int64

No

End time in Unix timestamp (seconds)

Response Parameters

Parameter
Type
Description

list

array

Array of transaction records

-> id

string

Transaction record ID

-> tokenAddress

string

Token contract address

-> timestamp

number

Transaction timestamp (Unix timestamp in seconds)

-> value

string

Transaction amount (in token units)

-> valueUsd

string

Transaction amount in USD

-> txHash

string

Transaction hash on the blockchain

-> type

number

Transaction type (0: deposit, 1: withdraw)

-> typeString

string

Transaction type as string ("deposit", "withdraw")

-> tokenInfo

object

Token information

-> -> address

string

Token contract address

-> -> symbol

string

Token symbol (e.g., USDC, ETH)

-> -> decimals

number

Token decimal places

-> -> image

string

Token image URL

-> -> price

number

Current token price

totalCount

number

Total number of transaction records

Request Example

Python (requests)

Note: This endpoint requires API authentication. See Quick Start Guide for signature generation details.

Response Example

Success Response

Error Response

Notes

  • This endpoint requires API authentication (see Quick Start Guide)

  • Both chainId and address parameters are required

  • The address must be a valid EVM address format

  • Returns account deposit and withdrawal transaction history for the specified address

  • Supports pagination with page and size parameters

  • Default page size is 50, maximum is 100

  • type: 0 for deposit, 1 for withdraw

  • typeString: "deposit" or "withdraw" as string

  • timestamp: Unix timestamp in seconds

  • value: Transaction amount in token units (consider decimals for actual amount)

  • valueUsd: Transaction amount in USD

  • tokenInfo: Contains token metadata including symbol, decimals, image, and current price

  • totalCount: Total number of transaction records (useful for pagination)

  • Optional startTime and endTime parameters can be used to filter transactions by time range

  • Rate limit: 120 requests per minute

  • Success response has code: 0 (not 200)

Last updated