Skip to content

adamant-api / index / VoteTransaction

Interface: VoteTransaction ​

Defined in: src/helpers/transactions/hash.ts:67

Extends ​

Properties ​

amount ​

ts
amount: number;

Defined in: src/helpers/transactions/hash.ts:18

Inherited from ​

BasicTransaction.amount


asset ​

ts
asset: {
  votes: string[];
};

Defined in: src/helpers/transactions/hash.ts:69

votes ​

ts
votes: string[];

Overrides ​

BasicTransaction.asset


senderId ​

ts
senderId: string;

Defined in: src/helpers/transactions/hash.ts:20

Inherited from ​

BasicTransaction.senderId


senderPublicKey ​

ts
senderPublicKey: string;

Defined in: src/helpers/transactions/hash.ts:19

Inherited from ​

BasicTransaction.senderPublicKey


timestamp ​

ts
timestamp: number;

Defined in: src/helpers/transactions/hash.ts:12

Inherited from ​

BasicTransaction.timestamp


timestampMs? ​

ts
optional timestampMs?: number;

Defined in: src/helpers/transactions/hash.ts:17

Optional millisecond-precision time. Excluded from getBytes, so it never affects the transaction hash, ID, or signature.

Inherited from ​

BasicTransaction.timestampMs


type ​

ts
type: 3;

Defined in: src/helpers/transactions/hash.ts:68

Released under the GPL-3.0 License.