Skip to main content
POST
/
tenant
/
{tenantId}
/
blockchain_interaction
/
create_series
Creates a new token series by deploying a smart contract template on a blockchain.
curl --request POST \
  --url https://api.example.com/tenant/{tenantId}/blockchain_interaction/create_series \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.numium.com/llms.txt

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

Path Parameters

tenantId
integer<int64>
required

Identifier of the tenant.

Body

application/json

Request containing smart contract template and deployment configuration.

Base class for all API request models.

tokenConfigurationId
integer<int64>
blockchainId
integer<int64>
tokenImplementationSmartContractAddress
string
initializeMethod
object

Request model for invoking a smart contract method with typed parameters.

Example:
{
  "name": "mint",
  "parameters": [
    {
      "name": "to",
      "value": "0x1234567890abcdef1234567890abcdef12345678",
      "blockchainType": "address",
      "blockchainName": "Ethereum",
      "order": 0,
      "fields": []
    },
    {
      "name": "amount",
      "value": "1000000000000000000",
      "blockchainType": "uint256",
      "blockchainName": "Ethereum",
      "order": 1,
      "fields": []
    }
  ],
  "caller": null
}

Response

200 - application/json

Token series creation initiated 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.

Example:
{ "deploymentTaskCreated": true }