Get UserOps by wallet address
GEThttps://api.fuse.io/api/v0/graphql/userops/:address
Fetches user operations for a specific wallet address, including transactions, user operation hashes, and related activity data.
Request
Path Parameters
address stringrequired
The wallet address to query for user operations.
Query Parameters
apiKey stringrequired
Your API key to authenticate requests.
Responses
- 200
- 403
A list of user operations associated with the wallet address.
- application/json
- Schema
- Example (from schema)
Schema
data object
{
"data": {
"userOps": [
{
"id": "string",
"transactionHash": "string",
"userOpHash": "string",
"sender": "string",
"entryPoint": "string",
"paymaster": "string",
"paymasterAndData": "string",
"bundler": "string",
"nonce": "string",
"initCode": "string",
"actualGasCost": "string",
"actualGasUsed": "string",
"callGasLimit": "string",
"verificationGasLimit": "string",
"preVerificationGas": "string",
"maxFeePerGas": "string",
"maxPriorityFeePerGas": "string",
"baseFeePerGas": "string",
"gasPrice": "string",
"gasLimit": "string",
"signature": "string",
"success": true,
"revertReason": "string",
"blockTime": "string",
"blockNumber": "string",
"network": "string",
"target": "string",
"accountTarget": {
"id": "string",
"userOpsCount": "string"
},
"callData": "string",
"beneficiary": "string",
"factory": "string",
"erc721Transfers": [
null
],
"erc20Transfers": [
null
]
}
]
}
}
Access to the resource is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
statusCode integer
errorMessage string
error string
{
"statusCode": 0,
"errorMessage": "string",
"error": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.fuse.io/api/v0/graphql/userops/:address' \
-H 'Accept: application/json'
ResponseClear