Prepares unsigned transactions for the mintToken method.
Example:
curl --request POST \
--url https://api.sandbox.brickken.com/prepare-transactions \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_API_KEY' \
--data '{
"method": "mintToken",
"signerAddress": "0xYourAddress",
"chainId": "aa36a7",
"tokenSymbol": "EXMPL",
"userToMint": [
{
"email": "[email protected]",
"investorAddress": "0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b",
"amount": "100",
"needWhitelist": true
}
]
}'
/prepare-transactions with method=mintToken.
| Parameter | Type | Required | Description |
|---|---|---|---|
signerAddress | string | Yes | Address that will sign the transaction |
chainId | string | Yes | Blockchain network identifier (hex format) |
method | string | Yes | Transaction method type (should be “mintToken”) |
tokenSymbol | string | Yes | Symbol of the token to mint |
userToMint | array | Yes | Array of users to mint tokens to |
gasLimit | string | No | Optional gas limit |
rpcUrl | string | No | Optional RPC URL |
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email of the recipient |
investorAddress | string | Yes | Address of the recipient |
amount | string | Yes | Amount of tokens to mint |
needWhitelist | boolean | Yes | Whether the user needs to be whitelisted |