Skip to main content
POST
/
platform
/
admin
/
metafactory
/
deploy
/
create
cURL
curl --request POST \
  --url https://api.example.com/platform/admin/metafactory/deploy/create \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Query Parameters

api-version
string | null

Body

application/json

Represents a request payload for creating a new meta factory deployment.

blockchainId
integer<int64>

Identifier of the blockchain where the meta factory will be deployed.

Example:

137

blockchainName
string | null

Name of the blockchain.

Example:

"Polygon"

auditRegistryDeployedImplementationId
integer<int64>

Identifier of the deployed audit registry implementation to use.

Example:

1

auditRegistryDeployedImplementationName
string | null

Name of the deployed audit registry implementation.

Example:

"Audit Registry v1"

ownerWalletTenantId
integer<int64>

Identifier of the wallet tenant that will own the meta factory.

Example:

1024

smartContractImplementations
object

Dictionary mapping smart contract implementation types to their deployed implementation identifiers.

Example:
{ "IssuerFactory": 2 }
proxyCodeText
string | null

Source code text of the proxy contract for the meta factory.

Example:

"contract Proxy {...}"

metaFactoryOwners
object[]

Collection of wallet tenants that will be owners of the meta factory.

Example:
[
{
"id": 1024,
"name": "Main Wallet",
"address": "0x1234..."
}
]
gasPayers
object[]

Collection of wallet tenants that will pay for gas fees.

Example:
[
{
"id": 1025,
"name": "Gas Wallet",
"address": "0x5678..."
}
]
smartContractImplementationsCollections
object

Dictionary mapping smart contract implementation types to collections of implementation entities.

Example:
{
"IssuerFactory": [
{
"id": 2,
"name": "IssuerFactory",
"version": "1.0",
"address": "0xabcd..."
}
]
}

Response

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.