---
updatedAt: 2026-05-07T12:29:32.000Z
agentTools:
  projectIndex: https://docs.utila.io/llms.txt
---

# GetLatestBatchContract

Retrieves the latest BatchContract. Batch transfer of ERC20 tokens require a token approval for that contract.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Utila API",
    "version": "v2"
  },
  "tags": [
    {
      "name": "Blockchains"
    }
  ],
  "paths": {
    "/v2/networks/{network_id}/batchContracts/latest": {
      "get": {
        "summary": "GetLatestBatchContract",
        "description": "Retrieves the latest BatchContract. Batch transfer of ERC20 tokens require a token approval for that contract.",
        "operationId": "Blockchains_GetLatestBatchContract",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/v2BatchContract"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "network_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "tags": [
          "Blockchains"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.utila.io"
    }
  ],
  "components": {
    "schemas": {
      "v2BatchContract": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "networks/ethereum-mainnet/0x1234...",
            "description": "The resource name of the batch contract."
          },
          "network": {
            "type": "string",
            "example": "networks/ethereum-mainnet",
            "description": "The network of the batch contract."
          },
          "address": {
            "type": "string",
            "example": "0x1234...",
            "description": "The address of the batch contract."
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```