TokenTransactionBaseParams

Type Alias: TokenTransactionBaseParams

Properties overview

  • sender: string;
type TokenTransactionBaseParams = {
  developerFee: number;
  memo: string;
  nonce: number;
  sender: string;
  senderPrivateKey: string;
  tokenAddress: string;
  txType: string;
};

Defined in: packages/api/src/client/types.gen.ts:627

Type declaration

developerFee?

optional developerFee: number;

Optional. The developer fee for the transaction.

memo?

optional memo: string;

Optional. A memo for the transaction.

nonce?

optional nonce: number;

Optional. The nonce for the transaction.

sender

sender: string;

The address (public key) of the sender.

senderPrivateKey?

optional senderPrivateKey: string;

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.

tokenAddress?

optional tokenAddress: string;

Optional. The address of the token contract.

txType?

optional txType: string;

Type of the token transaction.