EnhancedTransaction
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / EnhancedTransaction
Interface: EnhancedTransaction
Section titled “Interface: EnhancedTransaction”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16426
Enhanced transaction returned by parseTransaction API
Extended by
Section titled “Extended by”Properties
Section titled “Properties”signature
Section titled “signature”signature:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16428
Transaction signature
description
Section titled “description”description:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16430
Human-readable description
type:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16432
Transaction type
source
Section titled “source”source:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16434
Source of the transaction (program/protocol name)
fee:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16436
Fee in lamports
feePayer
Section titled “feePayer”feePayer:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16438
Fee payer address
slot:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16440
Slot number
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16442
Block timestamp (Unix seconds)
nativeTransfers
Section titled “nativeTransfers”nativeTransfers:
NativeTransfer[]
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16444
Native SOL transfers
tokenTransfers
Section titled “tokenTransfers”tokenTransfers:
TokenTransfer[]
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16446
SPL token transfers
accountData
Section titled “accountData”accountData:
EnhancedAccountData[]
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16448
Account data with balance changes
events?
Section titled “events?”
optionalevents:EnhancedTransactionEvents
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16450
Transaction-specific events
transactionError?
Section titled “transactionError?”
optionaltransactionError: {error:string; } |null
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16452
Transaction error if failed