Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | 57x | import { Base64String } from '@bsv/sdk'
import { sdk } from "../../../index.client"
export interface Transaction extends sdk.EntityTimeStamp {
created_at: Date
updated_at: Date
transactionId: number
userId: number
provenTxId?: number
status: sdk.TransactionStatus
/**
* max length of 64, hex encoded
*/
reference: Base64String
/**
* true if transaction originated in this wallet, change returns to it.
* false for a transaction created externally and handed in to this wallet.
*/
isOutgoing: boolean
satoshis: number
description: string
/**
* If not undefined, must match value in associated rawTransaction.
*/
version?: number
/**
* Optional. Default is zero.
* When the transaction can be processed into a block:
* >= 500,000,000 values are interpreted as minimum required unix time stamps in seconds
* < 500,000,000 values are interpreted as minimum required block height
*/
lockTime?: number
txid?: string
inputBEEF?: number[]
rawTx?: number[]
}
export const transactionColumnsWithoutRawTx = [
'created_at',
'updated_at',
'transactionId',
'userId',
'provenTxId',
'status',
'reference',
'isOutgoing',
'satoshis',
'version',
'lockTime',
'description',
'txid',
// 'inputBEEF',
// 'rawTx',
] |