Skip to main content
POST
/
contract_interactions
/
base_asset_id
/
{baseAssetId}
/
contract_address
/
{contractAddress}
/
functions
/
read
TypeScript
const response: Promise<FireblocksResponse<ParameterWithValueList>> = fireblocks.contractInteractions.readCallFunction(contractInteractionsApiReadCallFunctionRequest);
[
  {
    "name": "_name",
    "type": "string",
    "description": "The name of the token",
    "internalType": "string",
    "components": [
      {
        "name": "_name",
        "type": "string",
        "description": "The name of the token",
        "internalType": "string",
        "components": "<array>"
      }
    ],
    "value": "true",
    "functionValue": {
      "inputs": "<array>",
      "name": "initialize",
      "outputs": "<array>",
      "stateMutability": "nonpayable"
    }
  }
]

Documentation Index

Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Path Parameters

contractAddress
string
required

The contract's onchain address

baseAssetId
string
required

Body

application/json
abiFunction
object
required

Response

Read Call Retrieved Successfully

name
string
required

The name of the parameter as it appears in the ABI

Example:

"_name"

type
string
required

The type of the parameter as it appears in the ABI

Example:

"string"

description
string

A description of the parameter, fetched from the devdoc of this contract

Example:

"The name of the token"

internalType
string

The internal type of the parameter as it appears in the ABI

Example:

"string"

components
object[]
value
string

The value of the parameter. can also be ParameterWithValue

Example:

"true"

functionValue
object

The function value of this param (if has one). If this is set, the value shouldn`t be. Used for proxies