Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-nodes / Transaction

Class: Transaction ​

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:190

Blockchain transaction

Constructors ​

Constructor ​

new Transaction(): Transaction

Returns ​

Transaction

Properties ​

amount? ​

optional amount: Amount

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:244


chainId ​

chainId: number = 1

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:228


data ​

data: string = '0x'

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:220


from ​

from: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:197


gasLimit ​

gasLimit: string = '21000'

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:236


to ​

to: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:204


token? ​

optional token: Token

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:252


value ​

value: string = '0'

Defined in: packages/chaingraph-nodes/src/nodes/blockchain/schemas.ts:212

Licensed under BUSL-1.1