# 发送trx

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /tron_send_trx:
    post:
      summary: 发送trx
      deprecated: false
      description: 发送trx给另外一个帐户
      tags:
        - tron波场/交易类
      parameters:
        - name: from_address
          in: query
          description: 转出地址
          required: false
          example: TPtVRyqKPqeQ5L9J9LnKmF9AuGm7Z3UYYk
          schema:
            type: string
        - name: from_privatkey
          in: query
          description: 转出地址私钥
          required: false
          example: c86aa16fb92c80e622cba2e8176f766b7638517c83d59d753cabc1450d5cd97a
          schema:
            type: string
        - name: to_address
          in: query
          description: 转入地址
          required: false
          example: TWD9SgyY3jDkErgkcTf3Tsdcbx6hRruUAN
          schema:
            type: string
        - name: amount
          in: query
          description: 金额
          required: false
          example: '3.333'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  errcode:
                    type: integer
                  data:
                    type: object
                    properties:
                      txid:
                        type: string
                      msg:
                        type: string
                    required:
                      - txid
                      - msg
                    x-apifox-orders:
                      - txid
                      - msg
                  errmsg:
                    type: string
                required:
                  - errcode
                  - data
                  - errmsg
                x-apifox-orders:
                  - errcode
                  - data
                  - errmsg
              example:
                errcode: 0
                data:
                  txid: 1b4fe6b6484c7220e0b2f9ac46e4d5ec00f3acae99c7340997...
                  msg: 广播完成
                errmsg: ''
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: tron波场/交易类
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/1761505/apis/api-44190908-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://blockchainapi.gw.to
    description: 正式环境
security: []

```
