adamant-api / helpers/transactions / ChatTransactionData
Interface: ChatTransactionData
Defined in: src/helpers/transactions/index.ts:46
Extends
Properties
amount?
optional amount?: number;Defined in: src/helpers/transactions/index.ts:49
keyPair
keyPair: KeyPair;Defined in: src/helpers/transactions/index.ts:28
Inherited from
message
message: string;Defined in: src/helpers/transactions/index.ts:50
message_type
message_type: MessageType;Defined in: src/helpers/transactions/index.ts:48
own_message
own_message: string;Defined in: src/helpers/transactions/index.ts:51
recipientId
recipientId: `U${string}`;Defined in: src/helpers/transactions/index.ts:47
timestampMs?
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.