---
title: "Master Wallet Read"
method: POST
path: "/v1/wallets/{walletId}/contracts/read"
tags: ["Smart Contract"]
---

# Master Wallet Read

`POST /v1/wallets/{walletId}/contracts/read`

This API provides endpoints for interacting with smart contracts on the blockchain. It allows for reading contract data,

#### Request Body

The request body should be in raw format and include the following parameters:

| Parameter   | Type         | Required | Description |
|-------------|--------------|----------|-----------------------------------------------------------------------------|
| address     | string       | Yes      | The address of the contract.                                                |
| method      | string       | Yes      | The method to be called on the contract.                                    |
| parameters  | array        | Yes      | An array of parameters to pass to the method.                               |
| abi         | array        | Yes      | An array containing the ABI of the contract or method.                      |

## Request body

- object
  - `calls` object[]
    - `abi` object[]
      - `constant` boolean
      - `inputs` object[]
        - `name` string
        - `type` string
      - `name` string
      - `outputs` object[]
        - `name` string
        - `type` string
      - `stateMutability` string
      - `type` string
    - `address` string
    - `method` string
    - `parameters` string[]

## Response `200`

Ethereum / Tron / Ethereum (Batch) / Tron (Batch)

- object
  - `data` union
    - string
    - object
      - `errors` unknown[]
        - unknown
      - `success` object[]
        - `data` string
        - `index` number
        - `method` string
    - object
      - `errors` unknown[]
        - unknown
      - `success` object[]
        - `data` string
        - `index` number
        - `method` string
  - `message` string
  - `statusCode` number

---

[API](https://skmtc.net/blockradar/apis/blockradar-documentation.md) · [All operations](https://skmtc.net/blockradar/apis/blockradar-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockradar/blockradar-documentation/revisions/97f95b4cfc0d/schema)
