Options used when evaluating or endorsing a transaction proposal.

interface ProposalOptions {
    arguments?: (string | Uint8Array)[];
    endorsingOrganizations?: string[];
    transientData?: Record<string, string | Uint8Array>;
}

Properties

arguments?: (string | Uint8Array)[]

Arguments passed to the transaction function.

endorsingOrganizations?: string[]

Specifies the set of organizations that will attempt to endorse the proposal. No other organizations' peers will be sent this proposal. This is usually used in conjunction with transientData for private data scenarios.

transientData?: Record<string, string | Uint8Array>

Private data passed to the transaction function but not recorded on the ledger.