@bsv/wallet-toolbox
Version:
BRC100 conforming wallet, wallet storage and wallet signer components
66 lines (63 loc) • 1.72 kB
text/typescript
import { sdk } from '../../../index.client'
export interface TableProvenTxReq extends TableProvenTxReqDynamics {
created_at: Date
updated_at: Date
provenTxReqId: number
provenTxId?: number
status: sdk.ProvenTxReqStatus
/**
* Count of how many times a service has been asked about this txid
*/
attempts: number
/**
* Set to true when a terminal status has been set and notification has occurred.
*/
notified: boolean
txid: string
/**
* If valid, a unique string identifying a batch of transactions to be sent together for processing.
*/
batch?: string
/**
* JSON string of processing history.
* Parses to `ProvenTxReqHistoryApi`.
*/
history: string
/**
* JSON string of data to drive notifications when this request completes.
* Parses to `ProvenTxReqNotifyApi`.
*/
notify: string
rawTx: number[]
inputBEEF?: number[]
}
/**
* Table properties that may change after initial record insertion.
*/
export interface TableProvenTxReqDynamics extends sdk.EntityTimeStamp {
updated_at: Date
provenTxId?: number
status: sdk.ProvenTxReqStatus
/**
* Count of how many times a service has been asked about this txid
*/
attempts: number
/**
* Set to true when a terminal status has been set and notification has occurred.
*/
notified: boolean
/**
* If valid, a unique string identifying a batch of transactions to be sent together for processing.
*/
batch?: string
/**
* JSON string of processing history.
* Parses to `ProvenTxReqHistoryApi`.
*/
history: string
/**
* JSON string of data to drive notifications when this request completes.
* Parses to `ProvenTxReqNotifyApi`.
*/
notify: string
}