Skip to content

adamant-api / helpers/transactions / VoteTransactionData

Interface: VoteTransactionData ​

Defined in: src/helpers/transactions/index.ts:54

Extends ​

Properties ​

keyPair ​

ts
keyPair: KeyPair;

Defined in: src/helpers/transactions/index.ts:28

Inherited from ​

BasicTransactionData.keyPair


timestampMs? ​

ts
optional timestampMs?: number;

Defined in: src/helpers/transactions/index.ts:38

Optional transaction time in milliseconds since the ADAMANT epoch.

When provided, the second-precision timestamp is derived from it with Math.floor(timestampMs / 1000). The field is attached to the transaction but is excluded from the signed bytes, so it stays backward compatible: older nodes ignore it, while upgraded nodes persist it for millisecond-precision ordering.

Inherited from ​

BasicTransactionData.timestampMs


votes ​

ts
votes: string[];

Defined in: src/helpers/transactions/index.ts:55

Released under the GPL-3.0 License.