---
updatedAt: 2026-08-10T22:07:58.000Z
agentTools:
  projectIndex: https://docs.blockberry.one/llms.txt
---

# getTransactions

Get a list of all user transactions on the Mina Blockchain.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Mina Devnet API",
    "description": "Mina Devnet (testnet) public REST API by Minascan / Blockberry.",
    "termsOfService": "https://blockberry.one/terms",
    "contact": {
      "name": "Staketab tech support",
      "url": "https://staketab.com/",
      "email": "support@staketab.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.blockberry.one/mina-devnet",
      "description": "Production"
    }
  ],
  "security": [
    {
      "x-api-key": []
    }
  ],
  "paths": {
    "/v1/transactions": {
      "post": {
        "tags": [
          "Transactions"
        ],
        "summary": "getTransactions",
        "description": "Get a list of all user transactions on the Mina Blockchain.",
        "operationId": "getTransactions",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Queried API page.",
            "required": true,
            "schema": {
              "minimum": 0,
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "Number of queried entries.",
            "required": true,
            "schema": {
              "maximum": 50,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "orderBy",
            "in": "query",
            "description": "Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).",
            "required": true,
            "schema": {
              "type": "string",
              "default": "DESC",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "Select sorting parameter.",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Select sorting parameter.",
              "default": "AGE",
              "enum": [
                "AGE",
                "HEIGHT"
              ]
            }
          },
          {
            "name": "stateHash",
            "in": "query",
            "description": "Block hash.",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "3NKER8EZGsGo993ESDSutS8kpSdih6cAr1kekFpbFgSZ6LyDh79Z"
          },
          {
            "name": "blockHeight",
            "in": "query",
            "description": "Block height.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "example": 340112
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TxParams"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CutPageUserCommand"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "TxParams": {
        "required": [
          "messageTypesInTx"
        ],
        "type": "object",
        "properties": {
          "messageTypesInTx": {
            "type": "array",
            "description": "Type of message in a transaction.",
            "items": {
              "type": "string",
              "description": "Type of message in a transaction.",
              "enum": [
                "PAYMENT",
                "DELEGATION"
              ]
            },
            "enum": [
              "PAYMENT",
              "DELEGATION"
            ]
          },
          "showPending": {
            "type": "boolean"
          }
        }
      },
      "CutPageUserCommand": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "writeOnly": true,
            "items": {
              "$ref": "#/components/schemas/UserCommand"
            }
          },
          "currentPage": {
            "type": "integer",
            "format": "int32",
            "writeOnly": true
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "totalItems": {
            "type": "integer",
            "format": "int64",
            "writeOnly": true
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "totalCount": {
            "type": "integer",
            "format": "int64"
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserCommand"
            }
          },
          "pageable": {
            "$ref": "#/components/schemas/PageableObject"
          },
          "last": {
            "type": "boolean"
          },
          "totalElements": {
            "type": "integer",
            "format": "int64"
          },
          "number": {
            "type": "integer",
            "format": "int32"
          },
          "sort": {
            "$ref": "#/components/schemas/SortObject"
          },
          "first": {
            "type": "boolean"
          },
          "numberOfElements": {
            "type": "integer",
            "format": "int32"
          },
          "empty": {
            "type": "boolean"
          }
        }
      },
      "PageableObject": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "offset": {
            "type": "integer",
            "format": "int64"
          },
          "sort": {
            "$ref": "#/components/schemas/SortObject"
          },
          "paged": {
            "type": "boolean"
          },
          "unpaged": {
            "type": "boolean"
          }
        }
      },
      "ScamDto": {
        "type": "object",
        "properties": {
          "scamId": {
            "type": "integer",
            "format": "int64"
          },
          "objectType": {
            "type": "string"
          },
          "onchainId": {
            "type": "string"
          },
          "defaultSecurityMessage": {
            "type": "string"
          },
          "securityMessage": {
            "type": "string"
          },
          "scamType": {
            "type": "string"
          }
        }
      },
      "SortObject": {
        "type": "object",
        "properties": {
          "sorted": {
            "type": "boolean"
          },
          "empty": {
            "type": "boolean"
          },
          "unsorted": {
            "type": "boolean"
          }
        }
      },
      "UserCommand": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "txHash": {
            "type": "string"
          },
          "fromAccountAddress": {
            "type": "string"
          },
          "isZkappAccountSource": {
            "type": "boolean"
          },
          "fromAccountName": {
            "type": "string"
          },
          "fromAccountImg": {
            "type": "string"
          },
          "toAccountAddress": {
            "type": "string"
          },
          "isZkappAccountReceiver": {
            "type": "boolean"
          },
          "toAccountName": {
            "type": "string"
          },
          "toAccountImg": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "age": {
            "type": "integer",
            "format": "int64"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "fee": {
            "type": "number",
            "format": "double"
          },
          "blockHeight": {
            "type": "string"
          },
          "stateHash": {
            "type": "string"
          },
          "memo": {
            "type": "string"
          },
          "isAmountChangeable": {
            "type": "boolean"
          },
          "nonce": {
            "type": "integer",
            "format": "int64"
          },
          "sourceScam": {
            "$ref": "#/components/schemas/ScamDto"
          },
          "receiverScam": {
            "$ref": "#/components/schemas/ScamDto"
          }
        }
      }
    },
    "securitySchemes": {
      "x-api-key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  }
}
```