post
https://api.shasta.trongrid.io/wallet/createtransaction
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
注意如果接收账户 (to_address) 不存在,将自动激活该账户。
返回值
返回未签名的交易 JSON 对象。通用字段定义详见 交易章节。针对 TransferContract 类型,raw_data.contract[0].parameter.value 中的字段如下:
| 字段 | 类型 | 描述 |
|---|---|---|
| owner_address | string | 发送方地址。 |
| to_address | string | 接收方地址。 |
| amount | int64 | 转账 TRX 金额。(单位: sun,1 TRX = 1,000,000 sun)。 |