Skip to content

adamant-api / index / ChatTransaction

Interface: ChatTransaction

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

Extends

Properties

amount

ts
amount: number;

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

Overrides

BasicTransaction.amount


asset

ts
asset: {
  chat: {
     message: string;
     own_message: string;
     type: MessageType;
  };
};

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

chat

ts
chat: {
  message: string;
  own_message: string;
  type: MessageType;
};
chat.message
ts
message: string;
chat.own_message
ts
own_message: string;
chat.type
ts
type: MessageType;

Overrides

BasicTransaction.asset


recipientId

ts
recipientId: string;

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


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: 8;

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

Released under the GPL-3.0 License.