ProveTokenTransactions
txs object[]required
Array of transactions to be proved.
tx object
The transaction object.
The address initiating the transaction.
The nonce for the transaction.
A memo for the transaction.
The fee for the transaction.
walletPayload objectrequired
The nonce for the transaction.
The transaction data.
Indicates if only signature is needed.
feePayer object
The fee for the transaction.
A memo for the transaction.
minaSignerPayload objectrequired
zkappCommand objectrequired
The zkApp command data.
The zkApp command data.
feePayer objectrequired
The fee payer's address.
The fee for the transaction.
The nonce for the transaction.
A memo for the transaction.
The payload for the prover.
The signed data for the transaction.
The raw transaction data.
Optional. Whether to broadcast the transaction after proving.
The symbol of the token.
request objectrequired
- LaunchTokenStandardAdminParams
- LaunchTokenAdvancedAdminParams
- TokenMintTransactionParams
- TokenBurnTransactionParams
- TokenRedeemTransactionParams
- TokenTransferTransactionParams
- TokenAirdropTransactionParams
- TokenOfferTransactionParams
- TokenBidTransactionParams
- TokenBuyTransactionParams
- TokenSellTransactionParams
- TokenWithdrawBidTransactionParams
- TokenWithdrawOfferTransactionParams
- TokenUpdateBidWhitelistTransactionParams
- TokenUpdateOfferWhitelistTransactionParams
- TokenUpdateAdminWhitelistTransactionParams
Must be "token:launch"
Possible values: [token:launch
]
Optional. The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
Must be "standard" for standard admin contract.
Possible values: [standard
]
The symbol of the token.
Optional. The number of decimal places for the token.
uri objectrequired
URI or token info object containing metadata.
- MOD1
- TokenInfo
The symbol of the token.
Optional. The name of the token.
Optional. Description of the token.
Optional. URL of the token image.
Optional. Base64-encoded image data (max 1 MB).
Optional. Twitter handle associated with the token.
Optional. Discord link associated with the token.
Optional. Telegram link associated with the token.
Optional. Instagram handle associated with the token.
Optional. Facebook page associated with the token.
Optional. Official website of the token.
Optional. Code for the token contract.
Optional. Code for the admin contracts.
Optional. The address of the admin contract.
Optional. Private key for the token contract.
Optional. Private key for the admin contract.
Must be "token:launch"
Possible values: [token:launch
]
Optional. The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
Must be "advanced" for advanced admin contract.
Possible values: [advanced
]
The symbol of the token.
Optional. The number of decimal places for the token.
uri objectrequired
URI or token info object containing metadata.
- MOD1
- TokenInfo
The symbol of the token.
Optional. The name of the token.
Optional. Description of the token.
Optional. URL of the token image.
Optional. Base64-encoded image data (max 1 MB).
Optional. Twitter handle associated with the token.
Optional. Discord link associated with the token.
Optional. Telegram link associated with the token.
Optional. Instagram handle associated with the token.
Optional. Facebook page associated with the token.
Optional. Official website of the token.
Optional. Code for the token contract.
Optional. Code for the admin contracts.
Optional. The address of the admin contract.
Optional. Private key for the token contract.
Optional. Private key for the admin contract.
Specifies who can mint tokens.
Possible values: [whitelist
, anyone
]
Optional. Whether admin signature is required for minting.
whitelist object
Optional. List of whitelisted addresses with optional amounts, or a string.
- MOD1
- MOD2
The whitelisted address.
Optional. The amount allowed to bid.
Optional. Maximum total supply. Uses UInt64.MAXINT() if not provided.
Must be "token:mint"
Possible values: [token:mint
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address to which tokens are to be minted.
The amount of tokens to mint.
The price of the token in the bonding curve.
Must be "token:burn"
Possible values: [token:burn
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address from which tokens are to be burned.
The amount of tokens to burn.
Must be "token:redeem"
Possible values: [token:redeem
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The amount of tokens to redeem.
The minimum price of the tokens to be redeemed.
The maximum slippage allowed for the redemption, default is 50 (5%).
Possible values: >= 0
and <= 999
Must be "token:transfer"
Possible values: [token:transfer
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address to which tokens are to be transferred.
The amount of tokens to transfer.
Must be "token:airdrop"
Possible values: [token:airdrop
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
recipients object[]required
List of recipients and amounts for the airdrop
The recipient's address
The amount to airdrop
Optional memo for this recipient
Must be "token:offer:create"
Possible values: [token:offer:create
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
Optional. The private key for offering.
Optional. The address for offering.
The amount to offer.
The price to offer.
whitelist object
Optional. List of whitelisted addresses with optional amounts, or a string.
- MOD1
- MOD2
The whitelisted address.
Optional. The amount allowed to bid.
Must be "token:bid:create"
Possible values: [token:bid:create
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
Optional. The private key for bidding.
Optional. The address for bidding.
The amount to bid.
The price to bid.
whitelist object
Optional. List of whitelisted addresses with optional amounts, or a string.
- MOD1
- MOD2
The whitelisted address.
Optional. The amount allowed to bid.
Must be "token:offer:buy"
Possible values: [token:offer:buy
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address of the offer to buy from.
The amount of tokens to buy.
Must be "token:bid:sell"
Possible values: [token:bid:sell
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address of the bid to sell to.
The amount of tokens to sell.
Must be "token:bid:withdraw"
Possible values: [token:bid:withdraw
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address of the bid to withdraw from.
The amount to withdraw from the bid.
Must be "token:offer:withdraw"
Possible values: [token:offer:withdraw
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address of the offer to withdraw from.
The amount to withdraw from the offer.
Must be "token:bid:whitelist"
Possible values: [token:bid:whitelist
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address of the bid to update whitelist for.
whitelist objectrequired
Optional. List of whitelisted addresses with optional amounts, or a string.
- MOD1
- MOD2
The whitelisted address.
Optional. The amount allowed to bid.
Must be "token:offer:whitelist"
Possible values: [token:offer:whitelist
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address of the offer to update whitelist for.
whitelist objectrequired
Optional. List of whitelisted addresses with optional amounts, or a string.
- MOD1
- MOD2
The whitelisted address.
Optional. The amount allowed to bid.
Must be "token:admin:whitelist"
Possible values: [token:admin:whitelist
]
The address of the token contract.
The address (public key) of the sender.
The private key of the sender. It is NOT recommended to use this field. Please use the sender
field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.
Optional. The nonce for the transaction.
Optional. A memo for the transaction.
Optional. The developer fee for the transaction.
The address of the admin to update whitelist for.
whitelist objectrequired
Optional. List of whitelisted addresses with optional amounts, or a string.
- MOD1
- MOD2
The whitelisted address.
Optional. The amount allowed to bid.
The signed data for the transaction.
Optional. Whether to broadcast the transaction after proving.
{
"txs": [
{
"tx": {
"sender": "string",
"nonce": 0,
"memo": "string",
"fee": 0,
"walletPayload": {
"nonce": 0,
"transaction": "string",
"onlySign": true,
"feePayer": {
"fee": 0,
"memo": "string"
}
},
"minaSignerPayload": {
"zkappCommand": {},
"feePayer": {
"feePayer": "string",
"fee": 0,
"nonce": 0,
"memo": "string"
}
},
"proverPayload": "string",
"signedData": "string",
"transaction": "string",
"sendTransaction": true,
"symbol": "string",
"request": {
"txType": "token:launch",
"tokenAddress": "string",
"sender": "string",
"senderPrivateKey": "string",
"nonce": 0,
"memo": "string",
"developerFee": 0,
"adminContract": "standard",
"symbol": "string",
"decimals": 0,
"uri": "string",
"adminContractAddress": "string",
"tokenContractPrivateKey": "string",
"adminContractPrivateKey": "string"
}
},
"signedData": "string",
"sendTransaction": true
}
]
}