Skip to main content
POST
/
prepare-transactions
/
newTokenization
newTokenization
curl --request POST \
  --url https://api.sandbox.brickken.com/prepare-transactions/newTokenization \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "method": "newTokenization",
  "signerAddress": "<string>",
  "chainId": "<string>",
  "gasLimit": "<string>",
  "rpcUrl": "<string>",
  "tokenizerEmail": "<string>",
  "url": "<string>",
  "name": "<string>",
  "tokenSymbol": "<string>",
  "tokenType": "EQUITY",
  "supplyCap": "<string>",
  "preMints": [
    {}
  ],
  "initialHolders": [
    {}
  ]
}'
{
  "transactions": [
    {}
  ],
  "txId": "<string>"
}
Prepares unsigned transactions for creating a new tokenized asset. This endpoint is equivalent to calling /prepare-transactions with method=newTokenization.

Request Body

ParameterTypeRequiredDescription
signerAddressstringYesAddress that will sign the transaction
chainIdstringYesBlockchain network identifier (hex format)
tokenizerEmailstringYesEmail of the tokenizer
urlstringYesURL associated with tokenization documents
namestringYesName of the token
tokenSymbolstringYesToken symbol (max 5 characters)
tokenTypestringYesType of token. Allowed values: EQUITY, DEBT, BILL_FACTORING, ICO, STABLECOIN, REVENUE_SHARE, RWA_TOKEN, PROFIT_SHARING
supplyCapstringNoMaximum token supply cap
gasLimitstringNoOptional gas limit
rpcUrlstringNoOptional RPC URL
preMintsarrayNoPre-mint configurations
initialHoldersarrayNoInitial holder configurations

Example Request

{
  "signerAddress": "0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b",
  "chainId": "aa36a7",
  "tokenizerEmail": "tokenizer@example.com",
  "url": "https://example.com/token-docs",
  "name": "Example Token",
  "tokenSymbol": "EXMPL",
  "tokenType": "EQUITY",
  "supplyCap": "1000000"
}

Response

Returns an array of unsigned transactions that need to be signed and a transaction ID for tracking.
{
  "transactions": [
    {
      "from": "0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b",
      "to": "0xTargetAddress",
      "value": {"type": "BigNumber", "hex": "0x00"},
      "nonce": 1,
      "chainId": 11155111,
      "data": "0x...",
      "type": 2,
      "maxPriorityFeePerGas": {"type": "BigNumber", "hex": "0x..."},
      "maxFeePerGas": {"type": "BigNumber", "hex": "0x..."},
      "gasLimit": {"type": "BigNumber", "hex": "0x..."}
    }
  ],
  "txId": "unique-transaction-id"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Request body for newTokenization method.

method
string

The operation to be performed.

Example:

"newTokenization"

signerAddress
string

Address initiating the transaction.

chainId
string

Chain ID in hex.

gasLimit
string

Optional gas limit.

rpcUrl
string

Optional RPC URL.

tokenizerEmail
string
url
string
name
string
tokenSymbol
string
tokenType
enum<string>

Type of token.

Available options:
EQUITY,
DEBT,
BILL_FACTORING,
ICO,
STABLECOIN,
REVENUE_SHARE,
RWA_TOKEN,
PROFIT_SHARING
supplyCap
string
preMints
object[]
initialHolders
object[]

Response

200 - application/json

Successful response

transactions
object[]
required
txId
string
required