> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockscout.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get claim data for a withdrawal.

> Returns the ABI-encoded calldata and outbox contract address required to execute a Rollup withdrawal on the Parent chain.



## OpenAPI

````yaml /openapi-specs/pro-api-v11.yaml get /v2/arbitrum/messages/claim/{message_id}
openapi: 3.0.0
info:
  contact:
    email: info@blockscout.com
  title: Blockscout
  version: 11.0.3
servers:
  - url: http://localhost/api
    variables: {}
security: []
tags:
  - name: blocks
  - name: transactions
  - name: addresses
  - name: internal-transactions
  - name: tokens
  - name: token-transfers
  - name: smart-contracts
  - name: config
  - name: main-page
  - name: search
  - name: stats
  - name: csv-export
  - name: account-abstraction
  - name: withdrawals
  - name: advanced-filters
  - name: arbitrum
  - name: legacy
  - name: optimism
  - name: mud
  - name: celo
  - name: scroll
  - name: zilliqa
paths:
  /v2/arbitrum/messages/claim/{message_id}:
    get:
      tags:
        - arbitrum
      summary: Get claim data for a withdrawal.
      description: >-
        Returns the ABI-encoded calldata and outbox contract address required to
        execute a Rollup withdrawal on the Parent chain.
      operationId: BlockScoutWeb.API.V2.ArbitrumController.claim_message
      parameters:
        - description: Withdrawal message ID.
          in: path
          name: message_id
          required: true
          schema:
            minimum: 0
            type: integer
            x-struct: null
            x-validate: null
        - description: API key for rate limiting or for sensitive endpoints
          in: query
          name: apikey
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
        - description: Secret key for getting access to restricted resources
          in: query
          name: key
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Arbitrum.ClaimMessage'
          description: Claim data for the withdrawal.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
          description: >-
            Withdrawal cannot be claimed. Returned when the withdrawal is
            unconfirmed, just initiated, or already executed.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonErrorResponse'
          description: Unprocessable Entity
      callbacks: {}
components:
  schemas:
    Arbitrum.ClaimMessage:
      additionalProperties: false
      description: >-
        Calldata and outbox contract address needed to execute a withdrawal on
        the Parent chain.
      properties:
        calldata:
          description: ABI-encoded calldata for the executeTransaction call.
          type: string
          x-struct: null
          x-validate: null
        outbox_address_hash:
          allOf:
            - $ref: '#/components/schemas/AddressHash'
          description: >-
            Address of the Arbitrum Outbox contract on the Parent chain through
            which the withdrawal is executed.
          x-struct: null
          x-validate: null
      required:
        - calldata
        - outbox_address_hash
      title: Arbitrum.ClaimMessage
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.Arbitrum.ClaimMessage
      x-validate: null
    BadRequestResponse:
      description: Response returned when the request is invalid
      properties:
        message:
          description: Error message indicating the request is invalid
          example: Invalid request
          type: string
          x-struct: null
          x-validate: null
      title: BadRequestResponse
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.ErrorResponses.BadRequestResponse
      x-validate: null
    NotFoundResponse:
      description: Response returned when the requested resource is not found
      properties:
        message:
          description: Error message indicating the requested resource was not found
          example: Resource not found
          type: string
          x-struct: null
          x-validate: null
      title: NotFoundResponse
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.ErrorResponses.NotFoundResponse
      x-validate: null
    JsonErrorResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                example: null value where string expected
                type: string
                x-struct: null
                x-validate: null
              source:
                properties:
                  pointer:
                    example: /data/attributes/petName
                    type: string
                    x-struct: null
                    x-validate: null
                required:
                  - pointer
                type: object
                x-struct: null
                x-validate: null
              title:
                example: Invalid value
                type: string
                x-struct: null
                x-validate: null
            required:
              - title
              - source
              - detail
            type: object
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      required:
        - errors
      title: JsonErrorResponse
      type: object
      x-struct: Elixir.OpenApiSpex.JsonErrorResponse
      x-validate: null
    AddressHash:
      nullable: false
      pattern: ^0x([A-Fa-f0-9]{40})$
      title: AddressHash
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.AddressHash
      x-validate: null

````