API
Component

Eos_client ($UI/comp/eos_client/components/eos_client/eos_client)

使用范围:UI2

Contents

component Eos_client ($UI/comp/eos_client/components/eos_client/eos_client) extends Component

EOS客户端

<b>使用场景</b>:EOS客户端

Constructor Top

  Eos_client ()

Methods Top

void getEOSTableDataSimple (String contractId, String table, String key, String limit, String upperBound, String lowerBound)
void pushTransactionSimple (String contractId, String action, String message, String needUserPrivateKey)

Constructor details Top

public Eos_client ()

EOS客户端

<b>使用场景</b>:EOS客户端

Methods Detail Top

public void getEOSTableDataSimple (String contractId, String table, String key, String limit, String upperBound, String lowerBound)

获取表中数据

Parameters

String contractId

合约标识

String table

表名

String key

索引名

String limit

返回记录数

String upperBound

索引值上限

String lowerBound

索引值下限

Return Value

void

public void pushTransactionSimple (String contractId, String action, String message, String needUserPrivateKey)

提交交易

Parameters

String contractId

合约标识

String action

合约函数

String message

交易内容

String needUserPrivateKey

是否需要用户帐户

Return Value

void