Additionally, paste this code immediately after the opening tag:

Create Single Transaction Request From Address Without Fee Priority

Through this endpoint users can create a new single transaction request from one address to another. The difference between this endpoint and "Create Coins Transaction Request from Address" is that for Tron blockchain there is no Fee Priority that defines how fast a transaction can be mined.

key.singleItemTitle POST /vaults/{vaultId}/{blockchain}/{network}/addresses/{senderAddress}/feeless-transaction-requests

Path Parameters

  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g.Tron.

    Example : tron
    Possible Values : tron
  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "nile" are test networks.

    Example : nile
    Possible Values : mainnet nile
  • Required
    senderAddress string

    Defines the specific source address for the transaction.

    Example : TX8VXpdEoNNrKeEuNTfbEXfa9eZivcyUwD
  • Required
    vaultId string

    Represents the sender's specific and unique Vault ID of the sender.

    Example : 62b9b5c3b97f4b0008092714

Query Paramaters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString

Request Body Schema application/json

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object
      • Required
        amount string

        Represents the specific amount of the transaction's destination.

        Example : 0.0006
      • Optional
        note string

        Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request.

        Example : yourAdditionalInformationhere
      • Required
        recipientAddress string

        Defines the specific recipient/destination address.

        Example : TMVeigwYyuXJVHER4oA2yQzsFFSN2JfXkt

Response Schema

201 400 401 402 403 409 415 422 429 500
Http Status Code: 201
Content Type: application/json

The resource has been successfully created.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2024-05-09
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Vaultody and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object
      • Optional
        classicAddress string

        Represents the public address, which is a compressed and shortened form of a public key. The classic address is shown when the source address is an x-Address.

        Example : TX8VXpdEoNNrKeEuNTfbEXfa9eZivcyUwD
      • Optional
        note string

        Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request.

        Example : yourAdditionalInformationhere
      • Required
        recipient array

        Defines the destination for the transaction, i.e. the recipient(s).

        • Required
          address string

          Defines the destination address.

          Example : TX8VXpdEoNNrKeEuNTfbEXfa9eZivcyUwD
        • Required
          amount string

          Defines the amount sent to the destination address.

          Example : 0.0006
        • Optional
          classicAddress string

          Represents the public address, which is a compressed and shortened form of a public key. The classic address is shown when the source address is an x-Address.

          Example : TMVeigwYyuXJVHER4oA2yQzsFFSN2JfXkt
        • Required
          unit string

          Defines the unit of the received amount for the address.

          Example : TRX
      • Required
        sender object

        Defines details about the source, i.e. the sender.

        • Required
          address string

          Defines the sender's public address.

          Example : TX8VXpdEoNNrKeEuNTfbEXfa9eZivcyUwD
      • Required
        transactionRequestId string

        Represents a unique identifier of the transaction request (the request sent to make a transaction), which helps in identifying which callback and which referenceId concern that specific transaction request.

        Example : 62da9f003d20a65c737af83f
      • Required
        transactionRequestStatus string

        Defines the status of the transaction, e.g. "created".

        Example : created
        Possible Values : created
      • Optional
        totalAmount object
        • Optional
          unit string

          Defines the unit of the total amount transacted.

          Example : TRX
        • Optional
          value string

          Total amount of the transaction.

          Example : 0.0006

Request Example

POST
https://rest.vaultody.com/vaults/62b9b5c3b97f4b0008092714/tron/nile/addresses/TX8VXpdEoNNrKeEuNTfbEXfa9eZivcyUwD/feeless-transaction-requests?context=yourExampleString
Headers
Content-Type: application/json
x-api-key: cb233681a8ee35665296c1824c1f67bc46691788
x-api-sign: PSqeqRLap8rBc/wogNU1DeGGUPb2VyVtg6GiBOaBnYQ=
x-api-timestamp: 1681885776
x-api-passphrase: zYgKeueoOq

Request Body
{
    "context": "yourExampleString",
    "data": {
        "item": {
            "amount": "0.0006",
            "note": "yourAdditionalInformationhere",
            "recipientAddress": "TMVeigwYyuXJVHER4oA2yQzsFFSN2JfXkt"
        }
    }
}

Response Example

{
    "apiVersion": "2024-05-09",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "classicAddress": "TX8VXpdEoNNrKeEuNTfbEXfa9eZivcyUwD",
            "note": "yourAdditionalInformationhere",
            "recipient": [
                {
                    "address": "TX8VXpdEoNNrKeEuNTfbEXfa9eZivcyUwD",
                    "amount": "0.0006",
                    "classicAddress": "TMVeigwYyuXJVHER4oA2yQzsFFSN2JfXkt",
                    "unit": "TRX"
                }
            ],
            "sender": {
                "address": "TX8VXpdEoNNrKeEuNTfbEXfa9eZivcyUwD"
            },
            "transactionRequestId": "62da9f003d20a65c737af83f",
            "transactionRequestStatus": "created",
            "totalAmount": {
                "unit": "TRX",
                "value": "0.0006"
            }
        }
    }
}