Blockaid Tron API

The Tron API from Blockaid — 2 operation(s) for tron.

OpenAPI Specification

blockaid-tron-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Blockaid Asset Management Tron API
  description: Blockaid Risk Score API
  termsOfService: https://www.blockaid.io/legal/terms-of-use
  license:
    name: Proprietary
    url: https://www.blockaid.io/legal
  version: 1.0.0
servers:
- url: https://api.blockaid.io
  description: Production server
- url: https://client.blockaid.io
  description: Clients server
tags:
- name: Tron
paths:
  /v0/tron/transaction/scan:
    post:
      tags:
      - Tron
      summary: Scan Transaction
      description: Get a risk recommendation with plain-language reasons for a Tron transaction.
      operationId: scan-tron-transaction
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/routers__tron__transaction__models__TransactionRequest'
            examples:
              TRX Deposit:
                summary: Tron - TRX deposit
                value:
                  metadata:
                    non_dapp: true
                  options:
                  - simulation
                  account_address: TWoajZTHi5XzRMSn4Bk4wee2SQ2mgT4KB9
                  data:
                    from: TWoajZTHi5XzRMSn4Bk4wee2SQ2mgT4KB9
                    to: TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR
                    data: '0xd0e30db0'
                    value: '0x3B9ACA00'
              Token Transfer:
                summary: Tron - Token transfer
                value:
                  metadata:
                    non_dapp: true
                  options:
                  - simulation
                  account_address: TKhJBwsH7hvegxrUHW4oHT5t1BUDds2UG4
                  data:
                    from: TKhJBwsH7hvegxrUHW4oHT5t1BUDds2UG4
                    to: TMacq4TDUw5q8NFBwmbY4RLXvzvG5JTkvi
                    data: '0xa9059cbb0000000000000000000000411dfc220065fc86526f12a2001611f6daf9e0062800000000000000000000000000000000000000000000010f0cf064dd59200000'
              Native Transfer:
                summary: Tron - Native transfer
                value:
                  metadata:
                    non_dapp: true
                  chain: tron
                  options:
                  - simulation
                  - trace
                  account_address: TWoajZTHi5XzRMSn4Bk4wee2SQ2mgT4KB9
                  block: latest
                  data:
                    from: TWoajZTHi5XzRMSn4Bk4wee2SQ2mgT4KB9
                    to: TGRPrkvVuLJzkvUof6sH1fevxu4KczdxtD
                    value: '0x3b9aca00'
              Contract Creation:
                summary: Tron - Contract creation
                value:
                  metadata:
                    non_dapp: true
                  options:
                  - simulation
                  block: latest
                  account_address: TWoajZTHi5XzRMSn4Bk4wee2SQ2mgT4KB9
                  data:
                    from: TWoajZTHi5XzRMSn4Bk4wee2SQ2mgT4KB9
                    data: '0x60806040527f3fad920548ed9f22deb8333b4cc1e4f9bc36666a1c2aa30ad59a0a3bb9dcbb9260405160405180910390a1603f80603d6000396000f3fe6080604052600080fdfea26474726f6e582212202903d5efa637ba85226f176b520075ab6b401112b9bc3456e7f753df1ada55eb64736f6c63430008060033'
              Token Transfer to Malicious Address:
                summary: Tron - Token transfer to malicious address
                value:
                  metadata:
                    non_dapp: true
                  options:
                  - simulation
                  - validation
                  account_address: TKhJBwsH7hvegxrUHW4oHT5t1BUDds2UG4
                  data:
                    from: TKhJBwsH7hvegxrUHW4oHT5t1BUDds2UG4
                    to: TMacq4TDUw5q8NFBwmbY4RLXvzvG5JTkvi
                    data: '0xa9059cbb00000000000000000000004102d8b1afe419aaee6ea2a421913b93bc1d55791300000000000000000000000000000000000000000000010f0cf064dd59200000'
        required: true
      responses:
        '200':
          description: Transaction scanned successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/routers__tron__response__TransactionScanResponse'
              example:
                simulation:
                  status: Success
                  assets_diffs:
                    TChke7mJtUjn1QefSeDZhsPc3gcLck4nTt:
                    - asset_type: ERC20
                      asset:
                        type: ERC20
                        address: TMacq4TDUw5q8NFBwmbY4RLXvzvG5JTkvi
                        logo_url: https://dm8wquhbuh2eq.cloudfront.net/token/0x7F5bd5235a22EBe67ff9c619082601273A0D3B70/tron/sec/90a55f4e-3713-47d8-9ace-abafe5356b07
                        decimals: 18
                        name: PePe
                        symbol: PePe
                      in:
                      - usd_price: '147.384477049999986775'
                        summary: Receiving 5000 PePe
                        value: '5000.0'
                        raw_value: '0x10f0cf064dd59200000'
                      out: []
                    TNiTAGAoecoRKj8A89LRQjCWaHtqUzY9S6:
                    - asset_type: ERC20
                      asset:
                        type: ERC20
                        address: TMacq4TDUw5q8NFBwmbY4RLXvzvG5JTkvi
                        logo_url: https://dm8wquhbuh2eq.cloudfront.net/token/0x7F5bd5235a22EBe67ff9c619082601273A0D3B70/tron/sec/90a55f4e-3713-47d8-9ace-abafe5356b07
                        decimals: 18
                        name: PePe
                        symbol: PePe
                      in: []
                      out:
                      - usd_price: '147.384477049999986775'
                        summary: Sending 5000 PePe
                        value: '5000.0'
                        raw_value: '0x10f0cf064dd59200000'
                  transaction_actions:
                  - token_transfer
                  params:
                    from: TNiTAGAoecoRKj8A89LRQjCWaHtqUzY9S6
                    to: TMacq4TDUw5q8NFBwmbY4RLXvzvG5JTkvi
                    value: '0x0'
                    data: '0xa9059cbb0000000000000000000000411dfc220065fc86526f12a2001611f6daf9e0062800000000000000000000000000000000000000000000010f0cf064dd59200000'
                    block_tag: latest
                    chain: tron
                    calldata:
                      function_selector: '0xa9059cbb'
                      function_signature: transfer(address,uint256)
                  total_usd_diff:
                    TNiTAGAoecoRKj8A89LRQjCWaHtqUzY9S6:
                      in: '0.0'
                      out: '147.384477049999986775'
                      total: '-147.384477049999986775'
                    TChke7mJtUjn1QefSeDZhsPc3gcLck4nTt:
                      in: '147.384477049999986775'
                      out: '0.0'
                      total: '147.384477049999986775'
                  exposures: {}
                  total_usd_exposure: {}
                  address_details: {}
                  account_summary:
                    assets_diffs:
                    - asset_type: ERC20
                      asset:
                        type: ERC20
                        address: TMacq4TDUw5q8NFBwmbY4RLXvzvG5JTkvi
                        logo_url: https://dm8wquhbuh2eq.cloudfront.net/token/0x7F5bd5235a22EBe67ff9c619082601273A0D3B70/tron/sec/90a55f4e-3713-47d8-9ace-abafe5356b07
                        decimals: 18
                        name: PePe
                        symbol: PePe
                      in: []
                      out:
                      - usd_price: '147.384477049999986775'
                        summary: Sending 5000 PePe
                        value: '5000.0'
                        raw_value: '0x10f0cf064dd59200000'
                      balance_changes:
                        before:
                          usd_price: '98603.847380880787123296'
                          value: '3345123.2231'
                          raw_value: '0x2c45b7e47fb07ef0fc000'
                        after:
                          usd_price: '98456.462903830787136521'
                          value: '3340123.2231'
                          raw_value: '0x2c34c7157962a95efc000'
                    traces:
                    - type: ERC20AssetTrace
                      trace_type: AssetTrace
                      from_address: TNiTAGAoecoRKj8A89LRQjCWaHtqUzY9S6
                      to_address: TChke7mJtUjn1QefSeDZhsPc3gcLck4nTt
                      asset:
                        type: ERC20
                        address: TMacq4TDUw5q8NFBwmbY4RLXvzvG5JTkvi
                        logo_url: https://dm8wquhbuh2eq.cloudfront.net/token/0x7F5bd5235a22EBe67ff9c619082601273A0D3B70/tron/sec/90a55f4e-3713-47d8-9ace-abafe5356b07
                        decimals: 18
                        name: PePe
                        symbol: PePe
                      diff:
                        usd_price: '147.384477049999986775'
                        value: '5000.0'
                        raw_value: '0x10f0cf064dd59200000'
                    total_usd_diff:
                      in: '0.0'
                      out: '147.384477049999986775'
                      total: '-147.384477049999986775'
                    exposures: []
                    total_usd_exposure: {}
                block: '77951991'
                chain: tron
                account_address: TNiTAGAoecoRKj8A89LRQjCWaHtqUzY9S6
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      deprecated: false
      security:
      - APIKey: []
      - ClientID: []
  /v0/tron/address/scan:
    post:
      tags:
      - Tron
      summary: Scan Address
      description: Get a risk recommendation with plain-language reasons for a Tron address.
      operationId: scan-tron-address
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidateTronAddress'
            examples:
              Malicious:
                summary: Tron - Malicious Address
                value:
                  chain: tron
                  address: TQZFV1xeGKGHcCNQdw6erx3CFXQ9jfXeQR
                  metadata:
                    domain: https://example.com
              Benign:
                summary: Tron - Benign Address
                value:
                  chain: tron
                  address: TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR
                  metadata:
                    domain: https://example.com
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressValidation'
              examples:
                Malicious Address:
                  value:
                    result_type: Malicious
                    features:
                    - type: Malicious
                      feature_id: KNOWN_MALICIOUS
                      description: This address has recorded malicious activity
                    - type: Warning
                      feature_id: NEW
                      description: This address has no history on this chain
                Benign Address:
                  value:
                    result_type: Benign
                    features:
                    - type: Benign
                      feature_id: TRUSTED_CONTRACT
                      description: A trusted contract, safe to interact with
                    - type: Benign
                      feature_id: VERIFIED_CONTRACT
                      description: This contract is verified
                    - type: Info
                      feature_id: ERC20_CONTRACT
                      description: This address is an ERC20 token
                    - type: Info
                      feature_id: IS_CONTRACT
                      description: This address is a contract
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      deprecated: false
      security:
      - APIKey: []
      - ClientID: []
components:
  schemas:
    routers__tron__response__TransactionScanFeature:
      properties:
        type:
          allOf:
          - $ref: '#/components/schemas/routers__tron__response__TransactionScanFeatureType'
          description: Type/severity
        feature_id:
          type: string
          title: Feature Id
          description: Feature name
        description:
          type: string
          title: Description
          description: Textual description
        address:
          type: string
          title: Address
          description: Address the feature refers to
        metadata:
          type: object
          title: Metadata
          description: Metadata related to the feature
      type: object
      required:
      - type
      - feature_id
      - description
      title: TransactionScanFeature
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    routers__tron__response__OwnershipChange:
      properties:
        owners:
          items:
            type: string
          type: array
          title: Owners
      type: object
      required:
      - owners
      title: OwnershipChange
    routers__tron__response__ERC1155AddressAssetBalanceChangeDiff:
      properties:
        asset_type:
          type: string
          enum:
          - ERC1155
          title: Asset Type
          description: type of the asset for the current diff
        asset:
          anyOf:
          - $ref: '#/components/schemas/routers__tron__token_details__ERC1155TokenDetails'
          - $ref: '#/components/schemas/routers__tron__token_details__NONERCTokenDetails'
          title: Asset
          description: description of the asset for the current diff
        in:
          items:
            $ref: '#/components/schemas/routers__tron__response__ERC1155Diff'
          type: array
          title: In
          description: amount of the asset that was transferred to the address in this transaction
        out:
          items:
            $ref: '#/components/schemas/routers__tron__response__ERC1155Diff'
          type: array
          title: Out
          description: amount of the asset that was transferred from the address in this transaction
        balance_changes:
          allOf:
          - $ref: '#/components/schemas/routers__tron__response__ERC1155BalanceChanges'
          title: Balance Changes
          description: shows the balance before making the transaction and after
      type: object
      required:
      - asset_type
      - asset
      - in
      - out
      title: ERC1155AddressAssetBalanceChangeDiff
    routers__tron__response__NativeAsset:
      properties:
        type:
          type: string
          enum:
          - NATIVE
          title: Type
          description: The type of the model
        details:
          allOf:
          - $ref: '#/components/schemas/routers__tron__token_details__NativeAssetDetails'
          title: Details
          description: Details
      type: object
      required:
      - type
      - details
      title: NativeAsset
    routers__tron__response__TransactionValidationError:
      properties:
        status:
          type: string
          enum:
          - Success
          title: Status
          description: A string indicating if the simulation was successful or not.
        result_type:
          type: string
          enum:
          - Error
          title: Result Type
          description: A string indicating if the transaction is safe to sign or not.
        description:
          type: string
          enum:
          - ''
          title: Description
          description: A textual description that can be presented to the user about what this transaction is doing.
        reason:
          type: string
          enum:
          - ''
          title: Reason
          description: A textual description about the reasons the transaction was flagged with result_type.
        classification:
          type: string
          enum:
          - ''
          title: Classification
          description: A textual classification that can be presented to the user explaining the reason.
        features:
          items:
            $ref: '#/components/schemas/routers__tron__response__TransactionScanFeature'
          type: array
          title: Features
          description: A list of features about this transaction explaining the validation.
        error:
          type: string
          title: Error
          description: An error message if the validation failed.
      type: object
      required:
      - status
      - result_type
      - description
      - reason
      - classification
      - features
      - error
      title: TransactionValidationError
    routers__tron__session_keys__SessionKey:
      properties:
        key:
          type: string
          title: Key
        signer:
          type: string
          title: Signer
        policies:
          items:
            anyOf:
            - $ref: '#/components/schemas/routers__tron__session_keys__TransferPolicy'
            - $ref: '#/components/schemas/routers__tron__session_keys__CallPolicy'
            - $ref: '#/components/schemas/routers__tron__session_keys__GasPolicy'
            - $ref: '#/components/schemas/routers__tron__session_keys__ExpirationPolicy'
          type: array
          title: Policies
      type: object
      required:
      - key
      - signer
      - policies
      title: SessionKey
    routers__tron__session_keys__CallPolicy:
      properties:
        type:
          type: string
          enum:
          - CALL_POLICY
          title: Type
          default: CALL_POLICY
        to_address:
          type: string
          title: To Address
        method:
          type: string
          title: Method
        value_limit:
          type: string
          title: Value Limit
        args:
          items:
            $ref: '#/components/schemas/routers__tron__session_keys__ArgumentCondition'
          type: array
          title: Args
      type: object
      required:
      - to_address
      title: CallPolicy
    routers__tron__response__ERC20AssetTrace:
      properties:
        trace_type:
          type: string
          enum:
          - AssetTrace
          title: Trace Type
          description: type of the trace
        from_address:
          type: string
          title: From Address
          description: The address where the assets are moved from
        to_address:
          type: string
          title: To Address
          description: The address where the assets are moved to
        labels:
          items:
            anyOf:
            - $ref: '#/components/schemas/routers__tron__response__TraceLabels'
            - type: string
          type: array
          title: Labels
          description: List of labels that describe the trace
        type:
          type: string
          enum:
          - ERC20AssetTrace
          title: Type
          description: The type of the model
        asset:
          anyOf:
          - $ref: '#/components/schemas/routers__tron__token_details__ERC20TokenDetails'
          - $ref: '#/components/schemas/routers__tron__token_details__NONERCTokenDetails'
          title: Asset
          description: Description of the asset in the trace
        diff:
          allOf:
          - $ref: '#/components/schemas/routers__tron__response__ERC20Diff'
          title: Diff
          description: The difference in value for the asset in the trace
      type: object
      required:
      - trace_type
      - from_address
      - to_address
      - type
      - asset
      - diff
      title: ERC20AssetTrace
    routers__tron__session_keys__ExpirationPolicy:
      properties:
        type:
          type: string
          enum:
          - EXPIRATION_POLICY
          title: Type
          default: EXPIRATION_POLICY
        start_time:
          type: string
          format: date-time
          title: Start Time
        end_time:
          type: string
          format: date-time
          title: End Time
      type: object
      title: ExpirationPolicy
    routers__tron__response__ERC721AddressAssetBalanceChangeDiff:
      properties:
        asset_type:
          type: string
          enum:
          - ERC721
          title: Asset Type
          description: type of the asset for the current diff
        asset:
          anyOf:
          - $ref: '#/components/schemas/routers__tron__token_details__ERC721TokenDetails'
          - $ref: '#/components/schemas/routers__tron__token_details__NONERCTokenDetails'
          title: Asset
          description: description of the asset for the current diff
        in:
          items:
            $ref: '#/components/schemas/routers__tron__response__ERC721Diff'
          type: array
          title: In
          description: amount of the asset that was transferred to the address in this transaction
        out:
          items:
            $ref: '#/components/schemas/routers__tron__response__ERC721Diff'
          type: array
          title: Out
          description: amount of the asset that was transferred from the address in this transaction
        balance_changes:
          allOf:
          - $ref: '#/components/schemas/routers__tron__response__ERC721BalanceChanges'
          title: Balance Changes
          description: shows the balance before making the transaction and after
      type: object
      required:
      - asset_type
      - asset
      - in
      - out
      title: ERC721AddressAssetBalanceChangeDiff
    routers__tron__response__ERC721ExposureTrace:
      properties:
        trace_type:
          type: string
          enum:
          - ExposureTrace
          title: Trace Type
          description: type of the trace
        owner:
          type: string
          title: Owner
          description: The owner of the assets
        spender:
          type: string
          title: Spender
          description: The spender of the assets
        type:
          type: string
          enum:
          - ERC721ExposureTrace
          title: Type
          description: The type of the model
        exposed:
          $ref: '#/components/schemas/routers__tron__response__NonFungibleTokenBalance'
        asset:
          anyOf:
          - $ref: '#/components/schemas/routers__tron__token_details__ERC721TokenDetails'
          - $ref: '#/components/schemas/routers__tron__token_details__NONERCTokenDetails'
          title: Asset
          description: Description of the asset in the trace
      type: object
      required:
      - trace_type
      - owner
      - spender
      - type
      - asset
      title: ERC721ExposureTrace
    routers__tron__response__TraceLabels:
      type: string
      enum:
      - GAS_FEE
      title: TraceLabels
      description: Label assigned to a trace entry.
    routers__tron__transaction__models__Transaction:
      properties:
        from:
          type: string
          pattern: ^T[1-9A-HJ-NP-Za-km-z]{33}$
          title: From
          description: The source address of the transaction in Tron base58 format
        to:
          type: string
          pattern: ^T[1-9A-HJ-NP-Za-km-z]{33}$
          title: To
          description: The destination address of the transaction in Tron base58 format
        data:
          type: string
          title: Data
          description: The encoded call data of the transaction in hex string format
          default: 0x
        value:
          type: string
          title: Value
          description: The value of the transaction in Wei in hex string format
          default: '0x0'
      type: object
      required:
      - from
      title: Transaction
    routers__evm__models__ValidationResultType:
      type: string
      enum:
      - Malicious
      - Warning
      - Benign
      - Error
      title: ValidationResultType
      description: Overall validation outcome for the scan.
    routers__tron__response__ERC721Exposure:
      properties:
        exposure:
          items:
            $ref: '#/components/schemas/routers__tron__response__AssetDiffResponse'
          type: array
          title: Exposure
        summary:
          type: string
          title: Summary
          description: user friendly description of the approval
        is_approved_for_all:
          type: boolean
          title: Is Approved For All
          description: boolean indicates whether an is_approved_for_all function was used (missing in case of ERC20 / ERC1155)
      type: object
      required:
      - exposure
      - is_approved_for_all
      title: ERC721Exposure
    Feature:
      properties:
        feature_id:
          $ref: '#/components/schemas/FeatureID'
          description: Feature identifier
        type:
          $ref: '#/components/schemas/FeatureType'
          description: Type of the feature
        description:
          type: string
          title: Description
          description: Description of the feature
      type: object
      required:
      - feature_id
      - type
      - description
      title: Feature
    routers__tron__response__UnsupportedEIP712MessageErrorDetails:
      properties:
        code:
          type: string
          enum:
          - UNSUPPORTED_EIP712_MESSAGE
          title: Code
          description: The type of the model
        category:
          type: string
          const: INVALID_INPUT
          title: Category
          default: INVALID_INPUT
        domain_name:
          type: string
          title: Domain Name
          description: The domain name that is unsupported
        message_type:
          type: string
          title: Message Type
          description: The message type that is unsupported
      type: object
      required:
      - code
      - domain_name
      - message_type
      title: UnsupportedEIP712MessageErrorDetails
    routers__tron__response__Balance:
      properties:
        raw_value:
          type: string
          title: Raw Value
          description: The raw value of the balance in hex string format
        value:
          type: string
          title: Value
          description: The value of the balance in decimal string format
      type: object
      required:
      - raw_value
      title: Balance
    FeatureID:
      type: string
      enum:
      - VERIFIED_CONTRACT
      - UNVERIFIED_CONTRACT
      - HIGH_TRADE_VOLUME
      - MARKET_PLACE_SALES_HISTORY
      - HIGH_REPUTATION_TOKEN
      - ONCHAIN_ACTIVITY_VALIDATOR
      - STATIC_CODE_SIGNATURE
      - KNOWN_MALICIOUS
      - IS_EOA
      - IS_CONTRACT
      - ERC20_CONTRACT
      - TRUSTED_CONTRACT
      - BENIGN_CREATOR
      - METADATA
      - AIRDROP_PATTERN
      - IMPERSONATOR
      - INORGANIC_VOLUME
      - DYNAMIC_ANALYSIS
      - CONCENTRATED_SUPPLY_DISTRIBUTION
      - HONEYPOT
      - INSUFFICIENT_LOCKED_LIQUIDITY
      - UNSTABLE_TOKEN_PRICE
      - RUGPULL
      - WASH_TRADING
      - CONSUMER_OVERRIDE
      - INAPPROPRIATE_CONTENT
      - HIGH_TRANSFER_FEE
      - HIGH_BUY_FEE
      - HIGH_SELL_FEE
      - UNSELLABLE_TOKEN
      - IS_MINTABLE
      - REBASE_TOKEN
      - LIQUID_STAKING_TOKEN
      - MODIFIABLE_TAXES
      - CAN_BLACKLIST
      - CAN_WHITELIST
      - HAS_TRADING_COOLDOWN
      - EXTERNAL_FUNCTIONS
      - HIDDEN_OWNER
      - TRANSFER_PAUSEABLE
      - OWNERSHIP_RENOUNCED
      - OWNER_CAN_CHANGE_BALANCE
      - PROXY_CONTRACT
      - SIMILAR_MALICIOUS_CONTRACT
      - IMPERSONATOR_SENSITIVE_ASSET
      - IMPERSONATOR_HIGH_CONFIDENCE
      - IMPERSONATOR_MEDIUM_CONFIDENCE
      - IMPERSONATOR_LOW_CONFIDENCE
      - IMPERSONATION_PROTECTED
      - FAKE_VOLUME
      - HIDDEN_SUPPLY_BY_KEY_HOLDER
      - FAKE_TRADE_MAKER_COUNT
      - TRANSFER_FROM_REVERTS
      - OFFENSIVE_TOKEN_METADATA
      - LISTED_ON_CENTRALIZED_EXCHANGE
      - SANCTIONED_CREATOR
      - SPAM_TEXT
      - BONDING_CURVE_TOKEN
      - HEAVILY_SNIPED
      - SOLANA_TOKEN_2022
      - POST_DUMP
      - DEX_PAID
      - LOW_REPUTATION_CREATOR
      - SNIPE_AT_MINT
      - TRANSFER_HOOK_ENABLED
      - CONFIDENTIAL_TRANSFERS_ENABLED
      - NON_TRANSERABLE
      - TOKEN_BACKDOOR
      - CREATED_VIA_LAUNCHPAD
      - COMPROMISED_TOKEN
      - LONG_FUND_TRAIL
      title: FeatureID
    routers__tron__response__NativeBalanceChanges:
      properties:
        before:
          allOf:
          - $ref: '#/components/schemas/routers__tron__response__NativeDiff'
          title: Before
          description: balance of the account before making the transaction
        after:
          allOf:
          - $ref: '#/components/schemas/routers__tron__response__NativeDiff'
          title: After
          description: balance of the account after making the transaction
      type: object
      required:
      - before
      - after
      title: NativeBalanceChanges
    routers__tron__response__TransactionValidationSuccessResultType:
      type: string
      enum:
      - Benign
      - Warning
      - Malicious
      title: TransactionValidationSuccessResultType
      description: Result type returned when validation succeeds.
    routers__tron__response__TransactionSimulation:
      properties:
        status:
          type: string
          enum:
          - Success
          title: Status
          description: A string indicating if the simulation was successful or not.
        assets_diffs:
          additionalProperties:
            items:
              anyOf:
              - $ref: '#/components/schemas/routers__tron__response__ERC20AddressAssetDiff'
              - $ref: '#/components/schemas/routers__tron__response__ERC721AddressAssetDiff'
              - $ref: '#/components/schemas/routers__tron__response__ERC1155AddressAssetDiff'
              - $ref: '#/components/schemas/routers__tron__response__NativeAddressAssetDiff'
            type: array
          type: object
          title: Assets Diffs
          description: dictionary describes the assets differences as a result of this transaction for every involved address
        transaction_actions:
          items:
            anyOf:
            - $ref: '#/components/schemas/routers__tron__response__TransactionAction'
            - type: string
          type: array
          title: Transaction Actions
          description: Describes the nature of the transaction and what happened as part of it
        total_usd_diff:
          additionalProperties:
            $ref: '#/components/schemas/routers__tron__response__USDDiff'
          type: object
          title: Total Usd Diff
          description: dictionary represents the usd value each address gained / lost during this transaction
        exposures:
          additionalProperties:
            items:
              anyOf:
              - $ref: '#/components/schemas/routers__tron__response__ERC20AddressExposure'
              - $ref: '#/components/schemas/routers__tron__response__ERC721AddressExposure'
              - $ref: '#/components/schemas/routers__tron__response__ERC1155AddressExposure'
            type: array
          type: object
          title: Exposures
          description: dictionary describes the exposure differences as a result of this transaction for every involved address (as a result of any approval / setApproval / permit function)
        total_usd_exposure:
          additionalProperties:
            additionalProperties:
              type: string
            type: object
          type: object
          title: Total Usd Exposure
          description: a dictionary representing the usd value each address is exposed to, split by spenders
        address_details:
          additionalProperties:
            $ref: '#/components/schemas/routers__tron__response__AddressDetails'
          type: object
          title: Address Details
          description: a dictionary including additional information about each relevant address in the transaction.
        account_summary:
          allOf:
          - $ref: '#/components/schemas/routers__tron__response_

# --- truncated at 32 KB (93 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/blockaid/refs/heads/main/openapi/blockaid-tron-api-openapi.yml