TransactionPayloads

Type Alias: TransactionPayloads

Properties overview

  • fee: number;
  • memo: string;
  • minaSignerPayload: {
    feePayer: {
    fee: number;
    feePayer: string;
    memo: string;
    nonce: number;
    };
    zkappCommand: unknown;
    };
  • nonce: number;
  • proverPayload: string;
  • sender: string;
  • signedData: string;
  • transaction: string;
  • walletPayload: {
    feePayer: {
    fee: number;
    memo: string;
    };
    nonce: number;
    onlySign: boolean;
    transaction: string;
    };
type TransactionPayloads = {
  fee: number;
  memo: string;
  minaSignerPayload: {
     feePayer: {
        fee: number;
        feePayer: string;
        memo: string;
        nonce: number;
       };
     zkappCommand: unknown;
    };
  nonce: number;
  proverPayload: string;
  sender: string;
  sendTransaction: boolean;
  signedData: string;
  transaction: string;
  walletPayload: {
     feePayer: {
        fee: number;
        memo: string;
       };
     nonce: number;
     onlySign: boolean;
     transaction: string;
    };
};

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

Type declaration

fee

fee: number;

The fee for the transaction.

memo

memo: string;

A memo for the transaction.

minaSignerPayload

minaSignerPayload: {
  feePayer: {
     fee: number;
     feePayer: string;
     memo: string;
     nonce: number;
    };
  zkappCommand: unknown;
};

minaSignerPayload.feePayer

feePayer: {
  fee: number;
  feePayer: string;
  memo: string;
  nonce: number;
};

minaSignerPayload.feePayer.fee?

optional fee: number;

The fee for the transaction.

minaSignerPayload.feePayer.feePayer?

optional feePayer: string;

The fee payer's address.

minaSignerPayload.feePayer.memo?

optional memo: string;

A memo for the transaction.

minaSignerPayload.feePayer.nonce?

optional nonce: number;

The nonce for the transaction.

minaSignerPayload.zkappCommand

zkappCommand: unknown;

The zkApp command data.

nonce

nonce: number;

The nonce for the transaction.

proverPayload

proverPayload: string;

The payload for the prover.

sender

sender: string;

The address initiating the transaction.

sendTransaction?

optional sendTransaction: boolean;

Optional. Whether to broadcast the transaction after proving.

signedData

signedData: string;

The signed data for the transaction.

transaction

transaction: string;

The raw transaction data.

walletPayload

walletPayload: {
  feePayer: {
     fee: number;
     memo: string;
    };
  nonce: number;
  onlySign: boolean;
  transaction: string;
};

walletPayload.feePayer?

optional feePayer: {
  fee: number;
  memo: string;
};

walletPayload.feePayer.fee?

optional fee: number;

The fee for the transaction.

walletPayload.feePayer.memo?

optional memo: string;

A memo for the transaction.

walletPayload.nonce?

optional nonce: number;

The nonce for the transaction.

walletPayload.onlySign?

optional onlySign: boolean;

Indicates if only signature is needed.

walletPayload.transaction?

optional transaction: string;

The transaction data.