Appearance
@keymaster/connect / FeepoolCommitResult
Interface: FeepoolCommitResult
feepool.commit 成功结果。
V4 收口:返回的 draftTxid / draftTxHex 是当前 B-Tx 草稿的 txid / hex,不是真广播的 tx。commit 阶段只把草稿持久化到 store, 由 server 决定何时广播。V1 简化下不真广播。
Properties overview
| Property | Type | Required | Description |
|---|---|---|---|
operationId | string | Yes | — |
action | ProtocolFeePoolAction | Yes | — |
draftTxid | string | Yes | 当前主 B-Tx 草稿的 txid。 |
draftTxHex | string | Yes | 当前主 B-Tx 草稿的 raw tx hex。 |
poolRecord | ProtocolFeePoolRecord | null | Yes | 落地后费用池记录(spend / close_and_recreate 的新池部分非空)。 |
closeDraftTxid? | string | No | 仅 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?
optionalcloseDraftTxid?:string
仅 close_and_recreate:旧池被 close 时的最终 close 草稿 txid。