API
Component

EOSAgent ($UI/comp/EOSAgent/components/EOSAgent/EOSAgent)

使用范围:WX

Contents

component EOSAgent ($UI/comp/EOSAgent/components/EOSAgent/EOSAgent) extends Component

EOS客户端

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

Constructor Top

  EOSAgent ()

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 EOSAgent ()

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