Wallet Type Lookup
Description
Retrieves metadata about a wallet address on a specific network. This includes whether the address is a smart contract, whether it is in counterfactual status, and its Loopring wallet contract version (if applicable).
Use this endpoint to determine:
Whether a wallet is a contract or EOAs (externally owned account)
Whether a wallet uses counterfactual deployment (common for Loopring Smart Wallets)
Which version of the Loopring wallet contract is associated (if any)
Endpoint
Request
address
string
(Optional) The wallet's public address. address
or wallet
is required.
0xbefa...b491
wallet
string
(Optional) The wallet address. wallet
or address
is required.
0xbefa...b491
network
string
(Required) The blockchain network to query to check the wallet's data.
ethereum
⚠️ Either address
or wallet
must be provided — at least one is required to query wallet type details.
Response
resultInfo.code
number
Status code indicating success or failure. 0
typically means success.
0
resultInfo.message
string
Text message describing the result of the request.
"SUCCESS"
data.isInCounterFactualStatus
boolean
Indicates whether the wallet is in a counterfactual state (i.e., it hasn't completed full account creation yet).
false
data.isContract
boolean
Indicates if the wallet address is a smart contract.
false
data.loopringWalletContractVersion
string
The version of the Loopring smart wallet contract, if applicable. Empty if not a Loopring contract wallet.
""
Last updated