数字资产链 DAC-转移数字资产所有权

时间:2023-11-01 16:16:53

转移数字资产所有权

将指定集合中的指定数字资产的所有权,从from转移到to用户。

  • 调用方法
    public String transferFrom(String collectionIndex, String from, String to, String tokenId) throws Exception
  • 参数说明

    参数

    类型

    说明

    collectionIndex

    String

    必填参数,集合唯一标识符,不能重复。

    以字母开头,支持字母、数字。

    长度[3-32]。

    from

    String

    必填参数,所有者身份标识符。

    to

    String

    必填参数,接受者身份标识符。

    tokenId

    String

    必填参数,数字资产编号。同一集合内不能重复,取值范围[0,2^64)。

  • 返回值

    类型

    说明

    string

    返回上链交易编号,txid。

support.huaweicloud.com/devg-dac/dac_devg_0053.html