Get Transaction Details By Signature

Through this endpoint customers can obtain details about a signature by the transaction's unique identifier.

Single Result - This endpoint returns only one single result. GET /blockchain-data/solana/{network}/signatures/{signature}

Path Parameters

  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software

    Example : testnet
    Possible Values : mainnet testnet
  • Required
    signature string

    String representation of the transaction's signature

    Example : 2KGuERep8VNbpDbyLxxXKV8uFik5ECSx5zrRAgUyzAbGCXGVg2Xb62Yda8TVD3xjxsmGkSNDSm5cVstgLjfnmte5

Query parameters

  • 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

Response schema

200 400 401 402 403 404 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

Represents the signature for Solana blockchain

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs 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
      • Required
        blockHeight string

        Numeric representation of the transaction's block height

        Example : 259495121
      • Required
        fee object

        Object representation of the fee's amount & unit

        • Required
          amount string

          String representation of the transaction's fee amount

          Example : 0.000010702
        • Required
          unit string

          String representation of the transaction's fee unit (ex. SOL)

          Example : SOL
      • Required
        nativeBalanceChanges array

        Object Array representation of the transactions native (SOL) balance changes of each address

        • Required
          address string

          String representation of the balance change address

          Example : 5yZiE74sGLCT4uRoyeqz4iTYiUwX5uykiPRggCVih9PN
        • Required
          after string

          String representation of the balance change after the transaction

          Example : 100
        • Required
          before string

          String representation of the balance change before the transaction

          Example : 150
        • Required
          change string

          String representation of the balance change calculated

          Example : 50
        • Optional
          type string

          String representation of the balance change type

          Example : native
        • Required
          unit string

          String representation of the balance change unit (ex. SOL)

          Example : SOL
      • Required
        nativeMovements array

        Object Array representation of the transactions native movements

        • Required
          amount string

          String representation of the movement asset amount

          Example : 10
        • Required
          recipientAddress string

          String representation of the movement recipient address

          Example : DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBTESTpVf
        • Required
          senderAddress string

          String representation of the movement sender address

          Example : DUVULQ5bLhvrMTEstBzqPPEQ9RYJ2pVkqwmByBHKNGpVf
        • Required
          unit string

          String representation of the movement token's unit

          Example : SOL
          Possible Values : SOL
      • Required
        signature string

        String representation of the transaction's signature

        Example : 2KGuERep8VNbpDbyLxxXKV8uFik5ECSx5zrRAgUyzAbGCXGVg2Xb62Yda8TVD3xjxsmGkSNDSm5cVstgLjfnmte5
      • Required
        signer string

        String representation of the transaction's signer

        Example : DCAKxn5PFNN1mBREPWGdk1RXg5aVH9rPErLfBFEi2Emb
      • Required
        timestamp string

        Numeric representation of the transaction's timestamp

        Example : 1712821685
      • Required
        tokenBalanceChanges array

        Object Array representation of the transactions token (SPL) balance changes of each address and token

        • Optional
          address string

          String representation of the balance change address

          Example : DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBHKNGpVf
        • Required
          after string

          String representation of the balance change after the transaction

          Example : 50
        • Required
          before string

          String representation of the balance change before the transaction

          Example : 50
        • Required
          change string

          String representation of the balance change calculated

          Example : 100
        • Required
          contractAddress string

          String representation of the balance change token's contract address (also called mint)

          Example : Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1
        • Required
          tokenAddress string

          String representation of the balance change token address (also called mint)

          Example : DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBHKNGpVf
        • Optional
          type string

          String representation of the balance change type

          Example : spl
      • Required
        tokenMovements: array

        Object Array representation of the transactions token movements

        • Required
          amount string

          String representation of the movement asset amount

          Example : 10
        • Required
          contractAddress string

          String representation of the movement contract's address (also called mint)

          Example : Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1
        • Required
          recipientAddress string

          String representation of the movement recipient address

          Example : DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBTESTpVf
        • Optional
          recipientTokenAddress string

          String representation of the movement recipient token address

          Example : 3m15qNJDM5zydsYNJzkFYXE7iGCVnkKz1mrmbawrDUAH
        • Required
          senderAddress string

          String representation of the movement sender address

          Example : DUVULQ5bLhvrMTEstBzqPPEQ9RYJ2pVkqwmByBHKNGpVf
        • Optional
          senderTokenAddress string

          String representation of the movement sender token address

          Example : DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBHKNGpVf

Credits Cost : 1500 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/solana/testnet/signatures/2KGuERep8VNbpDbyLxxXKV8uFik5ECSx5zrRAgUyzAbGCXGVg2Xb62Yda8TVD3xjxsmGkSNDSm5cVstgLjfnmte5?context=yourExampleString
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "blockHeight": "259495121",
            "fee": {
                "amount": "0.000010702",
                "unit": "SOL"
            },
            "nativeBalanceChanges": [
                {
                    "address": "5yZiE74sGLCT4uRoyeqz4iTYiUwX5uykiPRggCVih9PN",
                    "after": "100",
                    "before": "150",
                    "change": "50",
                    "type": "native",
                    "unit": "SOL"
                }
            ],
            "nativeMovements": [
                {
                    "amount": "10",
                    "recipientAddress": "DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBTESTpVf",
                    "senderAddress": "DUVULQ5bLhvrMTEstBzqPPEQ9RYJ2pVkqwmByBHKNGpVf",
                    "unit": "SOL"
                }
            ],
            "signature": "2KGuERep8VNbpDbyLxxXKV8uFik5ECSx5zrRAgUyzAbGCXGVg2Xb62Yda8TVD3xjxsmGkSNDSm5cVstgLjfnmte5",
            "signer": "DCAKxn5PFNN1mBREPWGdk1RXg5aVH9rPErLfBFEi2Emb",
            "timestamp": "1712821685",
            "tokenBalanceChanges": [
                {
                    "address": "DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBHKNGpVf",
                    "after": "50",
                    "before": "50",
                    "change": "100",
                    "contractAddress": "Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1",
                    "tokenAddress": "DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBHKNGpVf",
                    "type": "spl"
                }
            ],
            "tokenMovements:": [
                {
                    "amount": "10",
                    "contractAddress": "Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1",
                    "recipientAddress": "DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBTESTpVf",
                    "recipientTokenAddress": "3m15qNJDM5zydsYNJzkFYXE7iGCVnkKz1mrmbawrDUAH",
                    "senderAddress": "DUVULQ5bLhvrMTEstBzqPPEQ9RYJ2pVkqwmByBHKNGpVf",
                    "senderTokenAddress": "DUVULQ5bLhvrMwV6BzqPPEQ9RYJ2pVkqwmByBHKNGpVf"
                }
            ]
        }
    }
}