curl -X GET "https://api.strike.markets/account/0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46"
const walletAddress = "0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46";
const response = await fetch(`https://api.strike.markets/account/${walletAddress}`);
const accountData = await response.json();
console.log('Account information:', accountData);
import requests
wallet_address = "0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46"
response = requests.get(f'https://api.strike.markets/account/{wallet_address}')
account_data = response.json()
print('Account information:', account_data)
{
"balances": {
"withdrawable": "750.25",
"total": "1250.25",
"reserved": "500.00"
},
"deposits": [
{
"amount": "1000.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123456",
"timestamp": "2024-01-15T14:30:00Z"
},
{
"amount": "500.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123457",
"timestamp": "2024-01-10T10:15:00Z"
}
],
"withdrawals": [
{
"amount": "250.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123458",
"timestamp": "2024-01-12T16:20:00Z"
}
]
}
Get Account Information
Get account balance and transaction information
GET
/
account
/
{wallet_address}
curl -X GET "https://api.strike.markets/account/0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46"
const walletAddress = "0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46";
const response = await fetch(`https://api.strike.markets/account/${walletAddress}`);
const accountData = await response.json();
console.log('Account information:', accountData);
import requests
wallet_address = "0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46"
response = requests.get(f'https://api.strike.markets/account/{wallet_address}')
account_data = response.json()
print('Account information:', account_data)
{
"balances": {
"withdrawable": "750.25",
"total": "1250.25",
"reserved": "500.00"
},
"deposits": [
{
"amount": "1000.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123456",
"timestamp": "2024-01-15T14:30:00Z"
},
{
"amount": "500.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123457",
"timestamp": "2024-01-10T10:15:00Z"
}
],
"withdrawals": [
{
"amount": "250.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123458",
"timestamp": "2024-01-12T16:20:00Z"
}
]
}
curl -X GET "https://api.strike.markets/account/0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46"
const walletAddress = "0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46";
const response = await fetch(`https://api.strike.markets/account/${walletAddress}`);
const accountData = await response.json();
console.log('Account information:', accountData);
import requests
wallet_address = "0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46"
response = requests.get(f'https://api.strike.markets/account/{wallet_address}')
account_data = response.json()
print('Account information:', account_data)
{
"balances": {
"withdrawable": "750.25",
"total": "1250.25",
"reserved": "500.00"
},
"deposits": [
{
"amount": "1000.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123456",
"timestamp": "2024-01-15T14:30:00Z"
},
{
"amount": "500.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123457",
"timestamp": "2024-01-10T10:15:00Z"
}
],
"withdrawals": [
{
"amount": "250.0",
"txHash": "0x1234567890abcdef1234567890abcdef12345678901234567890abcdef123458",
"timestamp": "2024-01-12T16:20:00Z"
}
]
}
Overview
Retrieve comprehensive account information for a specific wallet address, including balance breakdown, deposit history, and withdrawal history.This endpoint does NOT require authentication and can be called for any wallet address. All balance and transaction information is publicly accessible.
Path Parameters
string
required
Ethereum wallet address to retrieve account information for.Format: 42-character hex string starting with “0x”
Example: “0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46”
Example: “0x742d35cc6C6C7532B1140Da4C8A2f6C8ECfC9B46”
Response Fields
Balances Object
object
Deposits Array
array
Withdrawals Array
array
Balance Breakdown
Understanding Balance Types
Total Balance
Total Balance = Withdrawable + Reserved
Withdrawable Balance
Withdrawable = Total - Reserved - Pending Operations
- Immediate withdrawal
- Opening new positions (as margin)
- Other account operations
Reserved Balance
Reserved = Sum of all active position margins
- Cannot be withdrawn
- Used to maintain position health
- Released when positions are closed
Balance Calculation Example
Scenario: User has 2 open positions- Position 1: $300 margin
- Position 2: $200 margin
- Total account deposits: $1,500
- Total withdrawals: $250
Total Balance = $1,500 - $250 = $1,250
Reserved Balance = $300 + $200 = $500
Withdrawable Balance = $1,250 - $500 = $750
Transaction History
Deposits
All successful deposits are tracked with:- Transaction verification: On-chain validation
- Amount recording: Exact deposited amounts
- Timestamp tracking: When deposit was processed
- Hash storage: Blockchain transaction reference
Withdrawals
All completed withdrawals include:- Amount tracking: Withdrawn amounts
- Transaction hashes: Blockchain references
- Processing time: When withdrawal was recorded
- Balance impact: Effect on account balance
Chronological Ordering
- Transactions are ordered by timestamp (newest first)
- Each transaction includes complete audit trail
- All amounts are tracked in USD equivalent
Error Responses
object
Invalid wallet address format
{
"error": 400,
"message": "Invalid wallet address format"
}
object
Wallet address not found in system (no activity)
{
"error": 404,
"message": "Account not found"
}
Related Endpoints
- Dashboard - More comprehensive account overview with analytics
- Positions - View positions that contribute to reserved balance
Managing Deposits and Withdrawals
For deposits and withdrawals, please use the Strike Protocol frontend interface. The API endpoints for recording these transactions have been removed - all deposit and withdrawal operations should be performed directly through the web application.
Use this endpoint to verify your account state before making trading decisions or planning withdrawals.
Account information is updated in real-time as deposits, withdrawals, and trading operations occur.