Skip to main content

TokenBidTransactionParams

txTypeTokenTransactionType (string)

Must be "token:bid:create"

Possible values: [token:bid:create]

tokenAddressstringrequired

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.

bidPrivateKeystring

Optional. The private key for bidding.

bidAddressstring

Optional. The address for bidding.

amountdoublerequired

The amount to bid.

pricedoublerequired

The price to bid.

whitelist object

Optional. List of whitelisted addresses with optional amounts, or a string.

oneOf
  • Array [
  • addressstringrequired

    The whitelisted address.

    amountdouble

    Optional. The amount allowed to bid.

  • ]
  • TokenBidTransactionParams
    {
    "txType": "token:bid:create",
    "tokenAddress": "string",
    "sender": "string",
    "senderPrivateKey": "string",
    "nonce": 0,
    "memo": "string",
    "developerFee": 0,
    "bidPrivateKey": "string",
    "bidAddress": "string",
    "amount": 0,
    "price": 0,
    "whitelist": [
    {
    "address": "string",
    "amount": 0
    }
    ]
    }