Skip to main content
GET
/
tenant
/
{tenantId}
/
token_management
/
deployed_contract
/
treasury_wallet_by_tenant_wallet
Retrieves token operation preparation data for a specific operation type and treasury wallet.
curl --request GET \
  --url https://api.example.com/tenant/{tenantId}/token_management/deployed_contract/treasury_wallet_by_tenant_wallet
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Path Parameters

tenantId
integer<int64>
required

Identifier of the tenant.

Query Parameters

deployedTokenConfigurationId
integer<int64>

Identifier of the deployed token configuration.

walletTenantId
integer<int64>

Identifier of the wallet tenant performing the operation.

operation
enum<string>

Type of operation to prepare (Mint, Burn, Transfer).

Available options:
Unknown,
Deploy,
Mint,
Burn,
Transfer,
TokenTransaction

Response

200 - application/json

Operation preparation data 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.

Example:
{
"tokenConfigurationId": 1024,
"deployedTokenConfigurationId": 2048,
"ownerWalletTenantId": 3001,
"tenantId": 100,
"ticker": "USDC",
"name": "USD Coin",
"description": "Stablecoin backed by US Dollar reserves",
"recipientWalletTenant": {
"walletTenantId": 5001,
"walletAddress": "0x1234567890abcdef1234567890abcdef12345678",
"walletName": "Recipient Wallet"
},
"tokenAssets": [
{
"assetId": 1,
"assetName": "US Dollar",
"assetCode": "USD"
}
],
"templateMethod": {
"name": "mint",
"description": "Mint new tokens",
"parameters": []
},
"gasEstimation": 150000
}