> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /solscan/transactions

> Get a Solana transaction's full details by its signature

**Price:** 1 credit

**💡 AI Hint:** Get the full details of a Solana transaction by its signature. Returns the slot, block time, fee and priority fee, compute units, success/failed status, confirmation status, version, signers, the programs and accounts involved, SOL and token balance changes, the parsed instructions, the token transfers, and the program log messages.

**⚠️ Common errors:** 412: Transaction not found



## OpenAPI

````yaml /openapi-filtered.json post /api/solscan/transactions
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/solscan/transactions:
    post:
      tags:
        - /solscan
      summary: /solscan/transactions
      description: >-
        Get a Solana transaction's full details by its signature


        **Price:** 1 credit


        **💡 AI Hint:** Get the full details of a Solana transaction by its
        signature. Returns the slot, block time, fee and priority fee, compute
        units, success/failed status, confirmation status, version, signers, the
        programs and accounts involved, SOL and token balance changes, the
        parsed instructions, the token transfers, and the program log messages.


        **⚠️ Common errors:** 412: Transaction not found
      operationId: __api_solscan_transactions_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SolscanTransactionPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SolscanTransaction'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SolscanTransactionPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        tx:
          type: string
          description: Transaction signature (base58)
          examples:
            - >-
              32WxZsge1VJRxhian7P1TmpvZyJGmrVW1C1L56n9WHrdMy61fa5pKTBMkHau7V2W13NfgWx6dwrHkn1tboNpzunG
      type: object
      required:
        - tx
    SolscanTransaction:
      properties:
        '@type':
          type: string
          default: SolscanTransaction
        signature:
          type: string
        slot:
          anyOf:
            - type: integer
            - type: 'null'
        block_time:
          anyOf:
            - type: integer
            - type: 'null'
        fee:
          anyOf:
            - type: integer
            - type: 'null'
        priority_fee:
          anyOf:
            - type: integer
            - type: 'null'
        compute_units:
          anyOf:
            - type: integer
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        tx_status:
          anyOf:
            - type: string
            - type: 'null'
        version:
          anyOf:
            - type: string
            - type: 'null'
        signers:
          items:
            type: string
          type: array
          default: []
        programs:
          items:
            type: string
          type: array
          default: []
        accounts:
          items:
            type: string
          type: array
          default: []
        tags:
          items:
            type: string
          type: array
          default: []
        sol_balance_changes:
          items:
            $ref: '#/components/schemas/SolscanSolBalanceChange'
          type: array
          default: []
        token_balance_changes:
          items:
            $ref: '#/components/schemas/SolscanTokenBalanceChange'
          type: array
          default: []
        transfers:
          items:
            $ref: '#/components/schemas/SolscanTransferLeg'
          type: array
          default: []
        instructions:
          items:
            $ref: '#/components/schemas/SolscanInstruction'
          type: array
          default: []
        log_messages:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - signature
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    SolscanSolBalanceChange:
      properties:
        '@type':
          type: string
          default: SolscanSolBalanceChange
        address:
          type: string
        pre_balance:
          anyOf:
            - type: integer
            - type: 'null'
        post_balance:
          anyOf:
            - type: integer
            - type: 'null'
        change_amount:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - address
    SolscanTokenBalanceChange:
      properties:
        '@type':
          type: string
          default: SolscanTokenBalanceChange
        address:
          anyOf:
            - type: string
            - type: 'null'
        owner:
          anyOf:
            - type: string
            - type: 'null'
        token_address:
          anyOf:
            - type: string
            - type: 'null'
        decimals:
          anyOf:
            - type: integer
            - type: 'null'
        pre_balance:
          anyOf:
            - type: number
            - type: 'null'
        post_balance:
          anyOf:
            - type: number
            - type: 'null'
        change_amount:
          anyOf:
            - type: number
            - type: 'null'
        change_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    SolscanTransferLeg:
      properties:
        '@type':
          type: string
          default: SolscanTransferLeg
        source:
          anyOf:
            - type: string
            - type: 'null'
        source_owner:
          anyOf:
            - type: string
            - type: 'null'
        destination:
          anyOf:
            - type: string
            - type: 'null'
        destination_owner:
          anyOf:
            - type: string
            - type: 'null'
        token_address:
          anyOf:
            - type: string
            - type: 'null'
        decimals:
          anyOf:
            - type: integer
            - type: 'null'
        amount:
          anyOf:
            - type: number
            - type: 'null'
        transfer_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    SolscanInstruction:
      properties:
        '@type':
          type: string
          default: SolscanInstruction
        index:
          anyOf:
            - type: integer
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        program:
          anyOf:
            - type: string
            - type: 'null'
        program_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````