Account
Retrieve Account Info
GET
https://perps-api-mainnet.polynomial.finance/accounts?owner=<wallet_addr>&ownershipType=SuperOwner&chainIds=<chain_id>
Query
Name
Value
wallet_addr
Main account wallet address
chain_id
8008 (mainnet) Addresses
Headers
Name
Value
Response
[
{
"owner": "0xcAAAAAEE5FA8d10eEe31Cf06ba5B2E6f0487436",
"superOwner": "0x3AAAAA1daCFD0d259fadC5124a7C14f4F544F2DC",
"accountId": "100000083460469231731687303715884105732",
"chainId": 8008,
"debt": "959440974158424928"
}
]
As you can notice, the primary account wallet is named as superOwner. Owner field is your Account abstracted smart contract wallet. For more details <ADD_LINK>
Last updated
Was this helpful?