Skip to main content
GET
/
tenant
/
{tenantId}
/
smart_contract_templates
/
get
Retrieves a smart contract template form for a specific contract address, method type, and token configuration.
curl --request GET \
  --url https://api.example.com/tenant/{tenantId}/smart_contract_templates/get
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Path Parameters

tenantId
integer<int64>
required

Identifier of the tenant.

Query Parameters

blockchainId
integer<int64>

Identifier of the blockchain network.

contractAddress
string

Address of the smart contract.

methodType
string

Type of method to invoke.

tokenConfigurationId
integer<int64>

Identifier of the token configuration.

Response

200 - application/json

Smart contract template retrieved successfully.

Wrapper for API operation results containing success status, error information, and return value.

isSuccess
boolean

True if the operation completed successfully, false otherwise.

Example:

true

isFailure
boolean

True if the operation failed, false otherwise.

Example:

false

error
object

Error information returned when the operation fails.

Example:
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}
value
object

The result value returned when the operation is successful.