EOS.IO C语言API手册

tapos_block_num

获取当前执行交易用于TAPOS的块号。

返回值

当前执行交易用于TAPOS的块编号。

示例代码:

int tbn = tapos_block_num();