POST
/
prepare-transactions
/
newSto
newSto
curl --request POST \
  --url https://api.sandbox.brickken.com/prepare-transactions/newSto \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "signerAddress": "<string>",
  "chainId": "<string>",
  "tokenizerEmail": "<string>",
  "tokenAmount": "<string>",
  "offeringName": "<string>",
  "startDate": "2023-11-07T05:31:56Z",
  "endDate": "2023-11-07T05:31:56Z",
  "acceptedCoin": "<string>",
  "minRaiseUSD": "<string>",
  "maxRaiseUSD": "<string>",
  "minInvestment": "<string>",
  "maxInvestment": "<string>"
}'
{
  "transactions": [
    {}
  ],
  "txId": "<string>"
}
Prepares unsigned transactions for creating a new Security Token Offering (STO). This endpoint is equivalent to calling /prepare-transactions with method=newSto.

Request Body

ParameterTypeRequiredDescription
signerAddressstringYesAddress that will sign the transaction
chainIdstringYesBlockchain network identifier (hex format)
tokenizerEmailstringYesEmail of the tokenizer
tokenAmountstringYesAmount of tokens for the STO
offeringNamestringYesName of the STO offering
startDatestringYesStart date of the STO (ISO format)
endDatestringYesEnd date of the STO (ISO format)
acceptedCoinstringYesAccepted payment token symbol
minRaiseUSDstringYesMinimum raise amount in USD
maxRaiseUSDstringYesMaximum raise amount in USD
minInvestmentstringYesMinimum investment amount
maxInvestmentstringYesMaximum investment amount

Example Request

{
  "signerAddress": "0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b",
  "chainId": "aa36a7",
  "tokenizerEmail": "tokenizer@example.com",
  "tokenAmount": "1000",
  "offeringName": "Example STO",
  "startDate": "2025-08-26T17:30:00.000Z",
  "endDate": "2025-10-02T00:00:00.000Z",
  "acceptedCoin": "USDT",
  "minRaiseUSD": "10000",
  "maxRaiseUSD": "100000",
  "minInvestment": "100",
  "maxInvestment": "10000"
}

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
signerAddress
string
chainId
string
tokenizerEmail
string
tokenAmount
string
offeringName
string
startDate
string<date-time>
endDate
string<date-time>
acceptedCoin
string
minRaiseUSD
string
maxRaiseUSD
string
minInvestment
string
maxInvestment
string

Response

200 - application/json

Successful response

transactions
object[]
required
txId
string
required