curl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678"
const response = await fetch(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678'
);
const data = await response.json();
import requests
response = requests.get(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678'
)
data = response.json()
{
"wallet": "0x1234567890abcdef1234567890abcdef12345678",
"status": "activated",
"deposits": [
{
"amount": 1000000000,
"token_type": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"date": "2024-01-15T10:30:00Z",
"tx_hash": "0xabc..."
}
],
"withdraws": [],
"selected_protocols": ["aave", "compound", "moonwell"],
"current_protocols": ["aave"],
"current_token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"activation_date": "2024-01-15T10:35:00Z",
"last_deactivation_date": null,
"last_reactivation_date": null,
"eoa": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
}
{
"detail": "Data not found for the wallet"
}
Agents
Get Wallet Information
Get information about a specific wallet
GET
/
api
/
v1
/
{chain_id}
/
wallets
/
{wallet}
curl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678"
const response = await fetch(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678'
);
const data = await response.json();
import requests
response = requests.get(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678'
)
data = response.json()
{
"wallet": "0x1234567890abcdef1234567890abcdef12345678",
"status": "activated",
"deposits": [
{
"amount": 1000000000,
"token_type": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"date": "2024-01-15T10:30:00Z",
"tx_hash": "0xabc..."
}
],
"withdraws": [],
"selected_protocols": ["aave", "compound", "moonwell"],
"current_protocols": ["aave"],
"current_token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"activation_date": "2024-01-15T10:35:00Z",
"last_deactivation_date": null,
"last_reactivation_date": null,
"eoa": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
}
{
"detail": "Data not found for the wallet"
}
SDK Alternative: Use
agent.portfolio() for a simpler TypeScript interface. See SDK docsDescription
Retrieves detailed information about a specific wallet including status, deposits, withdrawals, and protocol allocations.Path Parameters
Query Parameters
If
true, treats the wallet parameter as an EOA (origin wallet) address and looks up the associated smart accountResponse
Current agent status:
activated, activating, deactivating, deactivated, running, blocked, emergencycurl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678"
const response = await fetch(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678'
);
const data = await response.json();
import requests
response = requests.get(
'https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x1234567890abcdef1234567890abcdef12345678'
)
data = response.json()
{
"wallet": "0x1234567890abcdef1234567890abcdef12345678",
"status": "activated",
"deposits": [
{
"amount": 1000000000,
"token_type": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"date": "2024-01-15T10:30:00Z",
"tx_hash": "0xabc..."
}
],
"withdraws": [],
"selected_protocols": ["aave", "compound", "moonwell"],
"current_protocols": ["aave"],
"current_token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"activation_date": "2024-01-15T10:35:00Z",
"last_deactivation_date": null,
"last_reactivation_date": null,
"eoa": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
}
{
"detail": "Data not found for the wallet"
}