区块链常用API
波场API主页波场查询类API波场交易类API
波场API主页波场查询类API波场交易类API
  1. 交易类
  • 查询类
    • 查询trx对usdt价格
      GET
    • 查询usdt对人民币价格
      GET
    • 请求一个新帐户
      GET
    • 验证一个地址是合法
      POST
    • 查询一个地址是否激活
      POST
    • 查询一个地址trx余额
      POST
    • 查询一个地址usdt余额
      POST
    • 查询一个帐户是否被多签
      POST
  • 交易类
    • 发送trx
      POST
    • 发送usdt
      POST
    • 多签一个帐户
      POST
    • 多签状态下发送trx
      POST
    • 多签状态下发送usdt
      POST
  1. 交易类

发送usdt

POST
https://publicapi.tronapi.top/tron_send_usdt
发送usdt到另一个帐户

请求参数

Query 参数
from_address
string 
转出地址
可选
示例值:
TPtVRyqKPqeQ5L9J9LnKmF9AuGm7Z3UYYk
from_privatkey
string 
转出地址的私钥
可选
示例值:
c86aa16fb92c80e622cba2e8176f766b7638517c83d59d753cabc1450d5cd97a
to_address
string 
转入地址
可选
示例值:
TWD9SgyY3jDkErgkcTf3Tsdcbx6hRruUAN
amount
string 
金额
可选
示例值:
0.005

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://publicapi.tronapi.top/tron_send_usdt'

返回响应

🟢200成功
application/json
Body
errcode
integer 
必需
data
object 
必需
txid
string 
必需
msg
string 
必需
errmsg
string 
必需
示例
{
  "errcode": 0,
  "data": {
    "txid": "f099fa1a9df8cfb0f4b73cf27d723879aafd56f7576d193cdd24b528a7cd55a7",
    "msg": "广播完成"
  },
  "errmsg": ""
}
修改于 2022-10-26 21:32:46
上一页
发送trx
下一页
多签一个帐户
Built with