Blockchain Testnet Endpoint for integration with SAP enabling sophisticated application development on top of the Algorand platform.

Title: SAP Algorand Testnet
Contact Email: solutions@alphacons.gr
Version: 1.0
Target Endpoint: https://acdevapi1.prod.apimanagement.us10.hana.ondemand.com:443/10/sapalgo1/

API Endpoints

  1. /health

    • Method: GET
    • Summary: Returns OK if healthy.
    • Responses:
      • 200: OK.
      • default: Unknown Error
  2. /metrics

    • Method: GET
    • Summary: Returns API metrics.
    • Responses:
      • 200: text with # comments and key:value lines
      • 404: metrics were compiled out
  3. /v2/accounts/{address}

    • Method: GET
    • Summary: Get account information.
    • Parameters:
      • address: An account public key (required).
    • Responses:
      • 200: AccountResponse
      • 400: Malformed address
      • 500: Internal Error
  4. /v2/accounts/{address}/transactions/pending

    • Method: GET
    • Summary: Get a list of unconfirmed transactions currently in the transaction pool by address.
    • Parameters:
      • address: An account public key (required).
      • max:
    • Responses:
      • 200: PendingTransactionsResponse
      • 400: Max must be a non-negative integer
      • 500: Internal Error
      • 503: Service Temporarily Unavailable
  5. /v2/blocks/{round}

    • Method: GET
    • Summary: Get the block for the given round.
    • Parameters:
      • round: The round from which to fetch block information (required).
    • Responses:
      • 200: BlockResponse
      • 400: Bad Request - Non integer number
      • 404: None existing block
      • 500: Internal Error
  6. /v2/ledger/supply

    • Method: GET
    • Summary: Get the current supply reported by the ledger.
    • Responses:
      • 200: SupplyResponse
      • default: Unknown Error
  7. /v2/status

    • Method: GET
    • Summary: Gets the current node status.
    • Responses:
      • 200: NodeStatusResponse
      • 500: Internal Error
      • default: Unknown Error
  8. /v2/transactions

    • Method: POST
    • Summary: Broadcasts a raw transaction to the network.
    • Parameters:
      • rawtxn: The byte encoded signed transaction (required).
    • Responses:
      • 200: PostTransactionsResponse
      • 400: Malformed Algorand transaction
      • 500: Internal Error
  9. /v2/teal/compile

    • Method: POST
    • Summary: Compile TEAL source code to binary, produce its hash.
    • Parameters:
      • source: TEAL source code to be compiled (required).
    • Responses:
      • 200: CompileResponse
      • 400: Teal Compile Error
      • 500: Internal Error

Definitions

  • Account: Account information at a given round.
  • Transaction: A representation of a transaction in the system.
  • ErrorResponse: An error response with a message.