Skip to content

adamant-api / index / StateTransaction

Interface: StateTransaction ​

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

Extends ​

Properties ​

amount ​

ts
amount: number;

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

Inherited from ​

BasicTransaction.amount


asset ​

ts
asset: {
  state: {
     key: string;
     type: 0;
     value: string;
  };
};

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

state ​

ts
state: {
  key: string;
  type: 0;
  value: string;
};
state.key ​
ts
key: string;
state.type ​
ts
type: 0;
state.value ​
ts
value: string;

Overrides ​

BasicTransaction.asset


recipientId ​

ts
recipientId: null;

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


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

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

Released under the GPL-3.0 License.