POST
/
prepare-api-transactions
Prepare Transactions
curl --request POST \
  --url https://api.sandbox.brickken.com/prepare-api-transactions \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "method": "newTokenization",
  "signerAddress": "0xSignerAddress",
  "tokenizerEmail": "tokenizer.email@example.com",
  "chainId": "aa36a7",
  "symbol": "BKN",
  "supplyCap": "10",
  "name": "Brickken",
  "gasLimit": "2000000 but can be omitted",
  "rpcUrl": "{URL_TO_RPC} but can be omitted"
}'
{
  "transactions": [
    {
      "from": "<string>",
      "to": "<string>",
      "value": {
        "type": "<string>",
        "hex": "<string>"
      },
      "nonce": 123,
      "chainId": 123,
      "data": "<string>",
      "type": 123,
      "maxPriorityFeePerGas": {
        "type": "<string>",
        "hex": "<string>"
      },
      "maxFeePerGas": {
        "type": "<string>",
        "hex": "<string>"
      },
      "gasLimit": {
        "type": "<string>",
        "hex": "<string>"
      }
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200 - application/json

Successful response

The response is of type object.