Skip to main content

TokenTransaction

senderstringrequired

The address initiating the transaction.

nonceint64required

The nonce for the transaction.

memostringrequired

A memo for the transaction.

feedoublerequired

The fee for the transaction.

walletPayload objectrequired
nonceint64

The nonce for the transaction.

transactionstring

The transaction data.

onlySignboolean

Indicates if only signature is needed.

feePayer object
feedouble

The fee for the transaction.

memostring

A memo for the transaction.

minaSignerPayload objectrequired
zkappCommand objectrequired

The zkApp command data.

property name*any

The zkApp command data.

feePayer objectrequired
feePayerstring

The fee payer's address.

feedouble

The fee for the transaction.

nonceint64

The nonce for the transaction.

memostring

A memo for the transaction.

proverPayloadstringrequired

The payload for the prover.

signedDatastringrequired

The signed data for the transaction.

transactionstringrequired

The raw transaction data.

sendTransactionboolean

Optional. Whether to broadcast the transaction after proving.

symbolstringrequired

The symbol of the token.

request objectrequired
oneOf
txTypeTokenTransactionType (string)

Must be "token:launch"

Possible values: [token:launch]

tokenAddressstring

Optional. The address of the token contract.

senderstringrequired

The address (public key) of the sender.

senderPrivateKeystring

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.

nonceint64

Optional. The nonce for the transaction.

memostring

Optional. A memo for the transaction.

developerFeedouble

Optional. The developer fee for the transaction.

adminContractstringrequired

Must be "standard" for standard admin contract.

Possible values: [standard]

symbolstringrequired

The symbol of the token.

decimalsint32

Optional. The number of decimal places for the token.

uri objectrequired

URI or token info object containing metadata.

oneOf
string
adminContractAddressstring

Optional. The address of the admin contract.

tokenContractPrivateKeystring

Optional. Private key for the token contract.

adminContractPrivateKeystring

Optional. Private key for the admin contract.

TokenTransaction
{
"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"
}
}