Skip to main content
POST
/
stocks
/
api
/
tokenization
/
log-deploy
curl -X POST "https://api.trusset.org/stocks/api/tokenization/log-deploy" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: trusset_bc123xy_secret..." \
  -d '{
    "tokenAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "name": "Acme Corp Equity",
    "symbol": "ACME",
    "isin": "DE000A0D9PT0",
    "issuerAddress": "0xAbC123dEf456789012345678901234567890AbCd",
    "deployTxHash": "0xabc123..."
  }'
{
  "success": true,
  "data": {
    "tokenAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "name": "Acme Corp Equity",
    "symbol": "ACME",
    "isin": "DE000A0D9PT0",
    "instanceId": "inst_abc123"
  },
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z",
    "instanceId": "inst_abc123"
  }
}
Registers a stock token contract that was deployed outside the Trusset platform (e.g., via a direct on-chain transaction or third-party tool). This links the existing contract to the authenticated instance so it can be managed through the API. Use this when you deploy contracts independently but still want Trusset to track issuance, holders, and compliance.

Request Body

tokenAddress
string
required
Address of the already-deployed token contract. Must be a valid Ethereum address.
name
string
required
Token name.
symbol
string
required
Token ticker symbol.
isin
string
required
ISIN identifier for the underlying security.
metadataURI
string
URI pointing to off-chain token metadata.
issuerAddress
string
Ethereum address of the token issuer.
Ethereum address of the legal operator.
deployTxHash
string
Transaction hash of the original deployment, for audit trail purposes.
allowSubIssuers
boolean
default:"false"
Whether the sub-issuer role is enabled on this token.

Response Fields

success
boolean
Request status.
data
object
The registered token record.
curl -X POST "https://api.trusset.org/stocks/api/tokenization/log-deploy" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: trusset_bc123xy_secret..." \
  -d '{
    "tokenAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "name": "Acme Corp Equity",
    "symbol": "ACME",
    "isin": "DE000A0D9PT0",
    "issuerAddress": "0xAbC123dEf456789012345678901234567890AbCd",
    "deployTxHash": "0xabc123..."
  }'
{
  "success": true,
  "data": {
    "tokenAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "name": "Acme Corp Equity",
    "symbol": "ACME",
    "isin": "DE000A0D9PT0",
    "instanceId": "inst_abc123"
  },
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z",
    "instanceId": "inst_abc123"
  }
}