Skip to content

虚拟操作

虚拟操作由区块链自身在区块处理期间生成。它们从不由用户广播 — 仅出现在账户历史和区块数据中,用于信息展示。

虚拟操作与普通操作共享相同的操作变体,但类型 ID 更高。可通过 account_history API 或区块流观察它们。


内容奖励 (已弃用)

author_reward_operation(ID 26)

触发条件: 内容帖子结算

当作者从内容结算中获得其奖励份额时触发。

字段类型描述
authoraccount_name_type内容作者
permlinkstring内容 permlink
token_payoutasset(VIZ)流动 VIZ 部分
vesting_payoutasset(SHARES)锁仓部分

curation_reward_operation(ID 27)

触发条件: 内容帖子结算

当策展人获得其策展奖励时触发。

字段类型描述
curatoraccount_name_type策展人账户
rewardasset(SHARES)策展奖励
content_authoraccount_name_type被策展内容的作者
content_permlinkstring被策展内容的 permlink

content_reward_operation(ID 28)

触发条件: 内容帖子结算

当帖子到达结算时间时触发。

字段类型描述
authoraccount_name_type内容作者
permlinkstring内容 permlink
payoutasset总结算金额

content_payout_update_operation(ID 32)

触发条件: 内容结算重新计算(如投票变化后)

字段类型描述
authoraccount_name_type内容作者
permlinkstring内容 permlink

content_benefactor_reward_operation(ID 33)

触发条件: 内容帖子结算 — 为每个受益人触发

字段类型描述
benefactoraccount_name_type受益人账户
authoraccount_name_type内容作者
permlinkstring内容 permlink
rewardasset受益人奖励份额

锁仓提取

fill_vesting_withdraw_operation(ID 29)

触发条件: 每个锁仓提取间隔触发

每个活跃提取路径每个间隔触发一次。

字段类型描述
from_accountaccount_name_type提取账户
to_accountaccount_name_type目标账户(可通过提取路由不同)
withdrawnasset(SHARES)本间隔提取的 SHARES 数量
depositedasset存入 to_account(VIZ,或在 auto_vest = true 时为 SHARES)
json
[29, {
  "from_account": "alice",
  "to_account": "alice",
  "withdrawn": "35.714285 SHARES",
  "deposited": "10.000 VIZ"
}]

return_vesting_delegation_operation(ID 34)

触发条件: delegate_vesting_shares_operation 零额度后 7 天返回窗口结束

字段类型描述
accountaccount_name_type接收返还 SHARES 的账户
vesting_sharesasset(SHARES)从临时状态返还的 SHARES

验证者操作

shutdown_validator_operation(ID 30)

触发条件: 验证者因票权不足被停用

字段类型描述
owneraccount_name_type被停用的验证者

validator_reward_operation(ID 42)

触发条件: 生产区块 — 验证者获得区块奖励

字段类型描述
witnessaccount_name_type验证者账户
sharesasset(SHARES)区块奖励
json
[42, {
  "witness": "alice",
  "shares": "1.234567 SHARES"
}]

网络事件

hardfork_operation(ID 31)

触发条件: 网络硬分叉激活

字段类型描述
hardfork_iduint32_t硬分叉编号

奖励

receive_award_operation(ID 48)

触发条件: award_operationfixed_award_operation

为奖励的主要接收者触发。

字段类型描述
initiatoraccount_name_type发起奖励的账户
receiveraccount_name_type接收奖励的账户
custom_sequenceuint64_t奖励操作中的应用程序序列号
memostring奖励操作的备注
sharesasset(SHARES)收到的 SHARES
json
[48, {
  "initiator": "alice",
  "receiver": "bob",
  "custom_sequence": 0,
  "memo": "great article!",
  "shares": "5.000000 SHARES"
}]

benefactor_award_operation(ID 49)

触发条件: award_operationfixed_award_operation 含受益人

每个受益人触发一次。

字段类型描述
initiatoraccount_name_type发起奖励的账户
benefactoraccount_name_type受益人账户
receiveraccount_name_type奖励的主要接收者
custom_sequenceuint64_t应用程序序列号
memostring奖励操作的备注
sharesasset(SHARES)受益人收到的 SHARES

委员会

committee_cancel_request_operation(ID 38)

触发条件: 委员会资金请求在未达到批准阈值的情况下到期

字段类型描述
request_iduint32_t已取消请求的 ID

committee_approve_request_operation(ID 39)

触发条件: 委员会资金请求达到所需批准阈值

字段类型描述
request_iduint32_t已批准请求的 ID

committee_payout_request_operation(ID 40)

触发条件: 委员会请求结算处理完成

字段类型描述
request_iduint32_t已结算请求的 ID

committee_pay_request_operation(ID 41)

触发条件: 工作者从委员会基金收到付款

字段类型描述
workeraccount_name_type工作者账户
request_iduint32_t委员会请求 ID
tokensasset(VIZ)支付金额
json
[41, {
  "worker": "alice",
  "request_id": 42,
  "tokens": "250.000 VIZ"
}]

付费订阅

触发条件: 执行 paid_subscribe_operation 或处理自动续订付款

字段类型描述
subscriberaccount_name_type订阅者账户
accountaccount_name_type订阅提供者
leveluint16_t订阅等级
amountasset(VIZ)支付金额
perioduint16_t周期数
summary_duration_secuint64_t订阅累计时长(秒)
summary_amountasset(VIZ)迄今总支付金额

cancel_paid_subscription_operation(ID 53)

触发条件: 订阅到期或自动续订余额不足

字段类型描述
subscriberaccount_name_type订阅者账户
accountaccount_name_type订阅提供者

账户市场

account_sale_operation(ID 57)

触发条件: buy_account_operation 成功完成

字段类型描述
accountaccount_name_type已出售的账户
priceasset(VIZ)出售价格
buyeraccount_name_type买家账户
selleraccount_name_type卖家(付款接收方)
json
[57, {
  "account": "alice",
  "price": "1000.000 VIZ",
  "buyer": "bob",
  "seller": "alice"
}]

bid_operation(ID 62)

触发条件: 对拍卖中的账户出现新竞价

字段类型描述
accountaccount_name_type被竞价的账户
bidderaccount_name_type出价账户
bidasset(VIZ)出价金额

outbid_operation(ID 63)

触发条件: 之前的出价被更高出价取代

为被超出的账户触发;之前的出价金额将返还。

字段类型描述
accountaccount_name_type被竞价的账户
bidderaccount_name_type被超出的账户
bidasset(VIZ)返还的出价金额

托管

expire_escrow_ratification_operation(ID 59)

触发条件: 错过托管 ratification_deadlinetoagent 均未及时批准

所有锁定资金返还给 from

字段类型描述
fromaccount_name_type原始托管发送方
toaccount_name_type预期接收方
agentaccount_name_type托管代理人
escrow_iduint32_t托管 ID
token_amountasset(VIZ)返还的代币金额
feeasset(VIZ)返还的手续费(托管未批准,代理人不获付款)
ratification_deadlinetime_point_sec错过的截止时间

参见:操作概述奖励委员会