omni_sendgrant
omni_sendgrant
调用发行或授权代币。
调用参数
- fromaddress:发送地址,字符串,必需
- toaddress:目标地址,字符串,可以是"",必需
- propertyid:代币ID,数值,必需
- amount:代币数量,字符串,必需
- memo:交易附加文本备注,字符串,可选
返回结果
omni_sendgrant
调用返回16进制编码的交易哈希。
示例代码
$ omnicore-cli "omni_sendgrant" "3HsJvhr9qzgRe3ss97b1QHs38rmaLExLcH" "" 51 "7000"