Skip to content

@keymaster/connect / FeepoolCommitResult

Interface: FeepoolCommitResult

feepool.commit 成功结果。

V4 收口:返回的 draftTxid / draftTxHex当前 B-Tx 草稿的 txid / hex,不是真广播的 tx。commit 阶段只把草稿持久化到 store, 由 server 决定何时广播。V1 简化下不真广播。

Properties overview

PropertyTypeRequiredDescription
operationIdstringYes
actionProtocolFeePoolActionYes
draftTxidstringYes当前主 B-Tx 草稿的 txid。
draftTxHexstringYes当前主 B-Tx 草稿的 raw tx hex。
poolRecordProtocolFeePoolRecord | nullYes落地后费用池记录(spend / close_and_recreate 的新池部分非空)。
closeDraftTxid?stringNo仅 close_and_recreate:旧池被 close 时的最终 close 草稿 txid。

Properties

operationId

operationId: string


action

action: ProtocolFeePoolAction


draftTxid

draftTxid: string

当前主 B-Tx 草稿的 txid。


draftTxHex

draftTxHex: string

当前主 B-Tx 草稿的 raw tx hex。


poolRecord

poolRecord: ProtocolFeePoolRecord | null

落地后费用池记录(spend / close_and_recreate 的新池部分非空)。


closeDraftTxid?

optional closeDraftTxid?: string

仅 close_and_recreate:旧池被 close 时的最终 close 草稿 txid。

Capability access without key custody.